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.
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.
- duplicates
-
JDK-7162400 Intermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
- Resolved