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

JMap intermittent java.io.IOException: Unable to enqueue command to target VM: Internal error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • core-svc
    • sparc
    • solaris

      Test which fills heap with different objects, and then dumps heap using jmap -dump:format=b fails intermittently with exception:
      heapdump/JMapHeap
      Here is the failure log:

      Starting eating heap.
      Executing /net/vmsqe.russia/export1/vmsqe/jdk-builds/latest/solaris-sparc/bin/jmap -dump:format=b,file=heap.bin 11004
      Dumping heap to /net/vmsqe-amd-01.russia/export4/UTB/DTF-work/dtf3-exec/spb.nightly-2006-05-05-spb.nightly-Main_Baseline_checkjni-server-mixed-solaris-sparc
      -ANYVENDOR-2006-05-05-02-02-04-0521/work/vmsqe-robot.SunOS.sparc/JMapHeap/heap.bin ...
      Exception in thread "main" java.io.IOException: Unable to enqueue command to target VM: Internal error
              at sun.tools.attach.SolarisVirtualMachine.enqueue(Native Method)
              at sun.tools.attach.SolarisVirtualMachine.execute(SolarisVirtualMachine.java:107)
              at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:195)
              at sun.tools.attach.HotSpotVirtualMachine.dumpHeap(HotSpotVirtualMachine.java:162)
              at sun.tools.jmap.JMap.dump(JMap.java:215)
              at sun.tools.jmap.JMap.main(JMap.java:120)
      Java HotSpot(TM) Server VM warning: Unable to re-attach door
      Java exited with exit status 1
      TEST FAILED

      Also, the warning appears each time the test is run.
      See Comments for details on how to reproduce it.

            Unassigned Unassigned
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: