-
Bug
-
Resolution: Won't Fix
-
P3
-
5.0u32
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8028578 | hs25 | Staffan Larsen | P3 | Closed | Cannot Reproduce |
nsk/sajdi tests are failing due to unable to attach to core file.
Next tests are failing:
nsk/sajdi/SACoreAttachingConnector/attach/attach001
nsk/sajdi/SACoreAttachingConnector/attach/attach002
nsk/sajdi/jdb/options/connect/connect002
nsk/sajdi/jdb/options/connect/connect004
Failures are reproducing on some linux machines. See comment for further information.
Issue also reproducing if attach to core files dumped
while tests execution via jdb using sun.jvm.hotspot.jdi.SACoreAttachingConnector.
Log example:
[2011-09-26T08:38:31.89] Attaching to target VM
[2011-09-26T08:38:31.89] # ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
[2011-09-26T08:38:31.89] # ERROR: java.io.IOException
[2011-09-26T08:38:31.89] java.io.IOException
[2011-09-26T08:38:31.89] at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
[2011-09-26T08:38:31.89] at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
[2011-09-26T08:38:31.89] at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
[2011-09-26T08:38:31.89] at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
[2011-09-26T08:38:31.89] Caused by: java.lang.reflect.InvocationTargetException
[2011-09-26T08:38:31.89] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2011-09-26T08:38:31.90] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2011-09-26T08:38:31.90] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2011-09-26T08:38:31.90] at java.lang.reflect.Method.invoke(Method.java:592)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:79)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:107)
[2011-09-26T08:38:31.90] ... 3 more
[2011-09-26T08:38:31.90] Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:258)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:626)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:612)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:323)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:298)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:158)
[2011-09-26T08:38:31.93] at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:188)
[2011-09-26T08:38:31.93] ... 9 more
Next tests are failing:
nsk/sajdi/SACoreAttachingConnector/attach/attach001
nsk/sajdi/SACoreAttachingConnector/attach/attach002
nsk/sajdi/jdb/options/connect/connect002
nsk/sajdi/jdb/options/connect/connect004
Failures are reproducing on some linux machines. See comment for further information.
Issue also reproducing if attach to core files dumped
while tests execution via jdb using sun.jvm.hotspot.jdi.SACoreAttachingConnector.
Log example:
[2011-09-26T08:38:31.89] Attaching to target VM
[2011-09-26T08:38:31.89] # ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
[2011-09-26T08:38:31.89] # ERROR: java.io.IOException
[2011-09-26T08:38:31.89] java.io.IOException
[2011-09-26T08:38:31.89] at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
[2011-09-26T08:38:31.89] at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
[2011-09-26T08:38:31.89] at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
[2011-09-26T08:38:31.89] at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
[2011-09-26T08:38:31.89] Caused by: java.lang.reflect.InvocationTargetException
[2011-09-26T08:38:31.89] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2011-09-26T08:38:31.90] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2011-09-26T08:38:31.90] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2011-09-26T08:38:31.90] at java.lang.reflect.Method.invoke(Method.java:592)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:79)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:107)
[2011-09-26T08:38:31.90] ... 3 more
[2011-09-26T08:38:31.90] Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:258)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:626)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:612)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:323)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:298)
[2011-09-26T08:38:31.90] at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:158)
[2011-09-26T08:38:31.93] at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:188)
[2011-09-26T08:38:31.93] ... 9 more
- backported by
-
JDK-8028578 SA-JDI can't attach to core file on linux
- Closed
- relates to
-
JDK-6720902 jmap / jstack as per jdk5 for Linux does not handle largefiles properly
- Closed