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

Failed to execute DCMD due to "IOException: Bad file number"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7, 7u40
    • hotspot
    • svc

      sun/tools/jcmd/jcmd-big-script.sh fails with the following exception, indicating either a stale file descriptor or wrong file mode for read or write operations in native code.

      java.io.IOException: Bad file number
      at sun.tools.attach.SolarisVirtualMachine.enqueue(Native Method)
      at sun.tools.attach.SolarisVirtualMachine.execute(SolarisVirtualMachine.java:131)
      at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:217)
      at sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:199)
      at sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:150)
      at sun.tools.jcmd.JCmd.main(JCmd.java:129)

      Unfortunately, no more information than this is available in the test log.

      Failure: http://vmsqe-app.russia.sun.com/surl/RG
      Failure history: http://vmsqe-app.russia.sun.com/surl/RH

      So far, we've only seen this on Solaris, but that might be just because different error messages on other platforms.

            Unassigned Unassigned
            miauno Mikael Auno (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: