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

Console control-break thread dumping broken for java_g.exe in 1.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • hotspot
    • x86
    • windows_nt



      Name: chT40241 Date: 10/02/97


      The Problem

      Start the following java_g command line in a console window. Then type ctrl-break:


      D:\javabugs>java_g -debug sun.tools.debug.EmptyApp
      Warning: JIT compiler "symcjit" not found. Will use interpreter.
      Agent password=32faai

      Full thread dump:

      *** panic: Internal error dumping threads!

      abnormal program termination




      Our Analysis

      The VM is immediately terminated, due to an assertion failure on line 493 on threads_md.c.

      Comments in threadDumpInfo in debug.c indicate that under Windows, it is impossible to lock the thread queue during a ctrl-break, which means that threads_md.c ought not to abort if the queue is not locked.

      This is a serious impediment to debugging when using the java_g version of Java.

      ======================================================================

            never Tom Rodriguez
            chickeysunw Chuck Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: