Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1267235

mocha can cause java to segv

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      [never 9 sep 96]
      mocha is the java decompiler that's available on the net.
      when decompiling certain files, java crashes with a SEGV. Here's the traceback it
      emitted.


      never@boojum ~/java/classviewer 262 % /net/cafedead/export/disk3/jserv/jdk1.1/bi
      n/java mocha.Decompiler Signature.class
      java.lang.NullPointerException
      SIGSEGV 11* segmentation violation
          si_signo [11]: SIGSEGV 11* segmentation violation
          si_errno [0]: Error 0
          si_code [1]: SEGV_ACCERR [addr: 0x0]

           stackbase=EFFFE95C, stackpointer=EFFFE630

      Full thread dump:
          "Finalizer thread" (TID:0xee300370, sys_thread_t:0xef370de0) prio=1
          "Async Garbage Collector" (TID:0xee300328, sys_thread_t:0xef630de0) prio=1
          "Idle thread" (TID:0xee3002e0, sys_thread_t:0xef730de0) prio=0
          "clock handler" (TID:0xee3000f0, sys_thread_t:0xef7b0de0) prio=11
          "main" (TID:0xee3000c0, sys_thread_t:0x8e5a0) prio=5 *current thread*
           java.lang.Throwable.printStackTrace(Throwable.java)
           java.lang.ThreadGroup.uncaughtException(ThreadGroup.java)
           java.lang.ThreadGroup.uncaughtException(ThreadGroup.java)
      Monitor Cache Dump:
      Registered Monitor Dump:
          Finalize me queue lock: unowned
          Thread queue lock: unowned
          Class lock: unowned
          String intern lock: unowned
          Java stack lock: unowned
          Code rewrite lock: unowned
          Heap lock: unowned
          Has finalization queue lock: unowned
          Monitor IO lock: unowned
          Child death monitor: unowned
          Event monitor: unowned
          I/O monitor: unowned
          Alarm monitor: unowned
           Waiting to be notified:
               "clock handler"
          Sbrk lock: unowned
          Monitor cache expansion lock: unowned
          Monitor registry: monitor owner 8e5a0: "main"
      Thread Alarm Q:
      Abort
      never@boojum ~/java/classviewer 263 %

      It also crashes on 1.0.2. I have a copy of mocha in ~never/java/zips/mocha.zip and the file
      ~never/java/classviewer/Signature.class will reliably cause it to crash. I find that most any
      large set of class will contain at least one which will crash the runtime.

        Attachments

          Activity

            People

            Assignee:
            pbk Peter Kessler
            Reporter:
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: