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

Setting breakpoint in jdb crashes Hotspot JVM

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic, x86
    • OS:
      generic, solaris_10

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rasbold Chuck Rasbold
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: