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

Setting breakpoint in jdb crashes Hotspot JVM

XMLWordPrintable

    • b14
    • generic, x86
    • generic, solaris_10

        Here are the steps to reproduce the issue. Please see the attached testcase:

        1. Run the program:
        java -agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n
        BreakpointBugTest

        2. Attach a debugger in parallel:
        jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000

        3. Wait some seconds in the debugger

        4. Set a breakpoint in line 21 (the one starting ' int index = ...')
        stop at BreakpointBugTest$Runner:21

        5. Now the VM chrashes.

        cheers,

        Matthias

              rasbold Chuck Rasbold
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: