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

STD: JDB "where all" command aborts on system thread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 1.3.0
    • 1.2.0
    • core-svc
    • beta
    • generic
    • solaris_2.6
    • Not verified

    Description

      The JDB "where all" command aborts early if it encounters a thread
      that does not have a Java frame. For example, "Signal dispatcher"
      in the below example.

      harmless build/solaris [39] % /usr/local/java/jdk1.2beta4.1/solaris/bin/appletviewer_g -debug http://wombat/~dlong/solar/index.html
       
      Warning: disabling security due to current limitations in debugger.
       
      Initializing jdb...
      0xa3:class(sun.applet.AppletViewer)
      > where all
      Signal dispatcher:
      [Internal debug-agent exception: java.lang.InternalError: JVMDI_ERROR_NO_MORE_FRAMES - during command processing]Internal exception:
      java.lang.Exception: java.lang.InternalError: JVMDI_ERROR_NO_MORE_FRAMES
              at sun.tools.debug.RemoteAgent.getReply(Compiled Code)
              at sun.tools.debug.RemoteAgent.dumpStack(Compiled Code)
              at sun.tools.debug.RemoteThread.getStack(Compiled Code)
       
              at sun.tools.debug.RemoteThread.dumpStack(Compiled Code)
              at sun.tools.ttydebug.TTY.dumpStack(Compiled Code)
              at sun.tools.ttydebug.TTY.where(Compiled Code)
              at sun.tools.ttydebug.TTY.executeCommand(Compiled Code)
              at sun.tools.ttydebug.TTY.<init>(Compiled Code)
              at sun.tools.ttydebug.TTY.main(Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at sun.applet.AppletViewer.debugSession(Compiled Code)
              at sun.applet.AppletViewer.main(Compiled Code)
      >

      dean.long@Eng 1998-08-31

      Attachments

        Activity

          People

            ghirschsunw Gordon Hirsch (Inactive)
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: