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

jdb crashes on a list method-name command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.1.2
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Description

       Sample Program:


      public class BugDemo3 {
           public static void main(String argv[]) {
          }
      }



      To illustrate this, enter the following commands in jdb:


      load BugDemo3
      stop in BugDemo3.main
      run BugDemo3
      list main



      java_g.exe terminates with an invalid memory reference.

      Our Diagnosis

      The crash is occuring in a call to
      sun.tools.debug.getMethodLineNumber(). This API seems to be completely
      broken.

      We have tested this with the 1.1.2 beta JDK of 09APR97. It is still
      broken.

        Attachments

          Activity

            People

            • Assignee:
              rfield Robert Field
              Reporter:
              mmma Marvin Ma (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: