-
Bug
-
Resolution: Fixed
-
P2
-
7u6
-
b13
-
generic
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2225293 | 8 | Rickard Backman | P2 | Closed | Fixed | b42 |
JDK-8018238 | 7u45 | Rickard Backman | P2 | Closed | Fixed | b01 |
JDK-8002529 | 7u40 | Rickard Backman | P2 | Resolved | Fixed | b01 |
Since change 7161732 (Improve handling of thread_id in OSThread), most of the sajdi tests on Windows fails with:
Attaching to target VM
# ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
# ERROR: java.io.IOException
java.io.IOException
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
at sun.jvm.hotspot.jdi
.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
... 3 more
Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
... 9 more
Since change 7161732, most of the sajdi tests on Windows fail with:
Attaching to target VM
# ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
# ERROR: java.io.IOException
java.io.IOException
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
at sun.jvm.hotspot.jdi
.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
... 3 more
Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
... 9 more
Attaching to target VM
# ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
# ERROR: java.io.IOException
java.io.IOException
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
at sun.jvm.hotspot.jdi
.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
... 3 more
Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
... 9 more
Since change 7161732, most of the sajdi tests on Windows fail with:
Attaching to target VM
# ERROR: IOException while attaching with sun.jvm.hotspot.jdi.SACoreAttachingConnector:
# ERROR: java.io.IOException
java.io.IOException
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.runIt(attach001.java:74)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.run(attach001.java:26)
at nsk.sajdi.SACoreAttachingConnector.attach.attach001.main(attach001.java:21)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
at sun.jvm.hotspot.jdi
.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
... 3 more
Caused by: java.lang.RuntimeException: No type named "OSThread::thread_id_t" in database
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:80)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupType(HotSpotTypeDataBase.java:133)
at sun.jvm.hotspot.types.basic.BasicTypeDataBase.lookupType(BasicTypeDataBase.java:74)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMStructs(HotSpotTypeDataBase.java:449)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:87)
at sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:389)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:173)
at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
... 9 more
- backported by
-
JDK-8002529 Change 7161732 breaks SA on Windows
- Resolved
-
JDK-2225293 Change 7161732 breaks SA on Windows
- Closed
-
JDK-8002530 Change 7161732 breaks SA on Windows
- Closed
-
JDK-8018238 Change 7161732 breaks SA on Windows
- Closed
- relates to
-
JDK-8000973 SA on windows thread inspection is broken
- Resolved