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

JDWP: Abnormal exit of debugger process hangs debuggee

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • core-svc
    • beta
    • generic
    • generic
    • Not verified

      > Process is started with debugging flags, not suspended.
      >
      > java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_shmem,suspend=n
      > class-name
      >
      > Sometime later a debugger process is started and attaches to the
      > debuggee process using the attaching connector and shared memory
      > transport. At this point the debugger is merely attached - no
      > breakpoints are set and the target process is still running.
      >
      > Now if you kill the debugger process (ctrl-c from the console or End
      > Process from the NT task manager), the debuggee process prints a message
      > to the console ('Transport error, error code = -1') and is then hung.
      >
      > Is there any possibility that the target VM could detect this situation
      > and recover?

            ghirschsunw Gordon Hirsch (Inactive)
            ghirschsunw Gordon Hirsch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: