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

JDWP: 'step' command where current thread has exited crashes debuggee

XMLWordPrintable

    • 02
    • generic
    • generic
    • Verified


        This bug is more easily duplicated using HotSpot but it can (less often) be
        reproduced using Classic VM.

        To duplicate use the test case from 4304181. When a breakpoint occurs on
        the thread that has stopped using the deprecated Thread.step hit 'step' and
        the VM will crash in stepControl_beginStep (stepControl.c) when assigning
        step->granularity.

        This crash is due to an un-initialized variable in
        threadControl_getStepRequest (See suggested fix for details).


              dcubed Daniel Daugherty
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: