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

JPDA: Debugger operations after VM death cause errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.3.1
    • Fix Version/s: 1.3.0_04
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      04
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Between VM death (JVMDI_EVENT_VM_DEATH) and JDWP disconnection
        is a time window wherein the VM is shutting down (and is therefore
        unstable) and commands can still be sent across JDWP.

        There is one easily reproducible case in which a JDI client has set
        a breakpoint and requested class prepare events (SUSPEND_ALL).
        On the VMDeathEvent the client does clean up which includes attempting
        to delete the breakpoint. Since in Ladybird the VMDeathEvent is
        SUSPEND_NONE, the VM has proceeded and is now deep in its death.
        The class prepare has prevented the death from completing to the
        point of disconnection because the Shutdown class has been loaded.
        At this point the breakpoint has been thrown away as part of VM
        shutdown so the breakpoint delete raises a JVMDI_ERROR_NOT_FOUND -
        which is an internal error. This is probably one of many possible
        such scenarios.

        abhijit.saha@Eng 2001-07-02

        updating the bugtraq for bugs integrated in appropriate version of jdk.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rfield Robert Field
                Reporter:
                rfield Robert Field
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: