-
Bug
-
Resolution: Fixed
-
P3
-
18
-
b19
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8310610 | 17.0.9-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8310375 | 17.0.9 | Martin Doerr | P3 | Resolved | Fixed | b01 |
tier1 test that is newly added by JDK-8272586 fails on hsdis-enabled machine here:
$ CONF=linux-x86_64-server-fastdebug make run-test TEST=runtime/ErrorHandling/MachCodeFramesInErrorFile.java
STDERR:
java.lang.RuntimeException: Mach code headers: []
Extracted MachCode:
null
Extracted native frames:
J 15 c2 MachCodeFramesInErrorFile$Crasher.method3(J)V (19 bytes) @ 0x00007f83b0ab9377 [0x00007f83b0ab9340+0x0000000000000037]
J 14 c2 MachCodeFramesInErrorFile$Crasher.method2(J)V (13 bytes) @ 0x00007f83b0ab977c [0x00007f83b0ab9740+0x000000000000003c]
j MachCodeFramesInErrorFile$Crasher.method1(J)V+9
J 12 c2 MachCodeFramesInErrorFile$Crasher.main([Ljava/lang/String;)V (7 bytes) @ 0x00007f83b0ab9e38 [0x00007f83b0ab9e20+0x0000000000000018]
v ~StubRoutines::call_stub
V [libjvm.so+0xe75324] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x504
V [libjvm.so+0xf99f21] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .isra.0] [clone .constprop.1]+0x331
V [libjvm.so+0xf9d5f9] jni_CallStaticVoidMethod+0x1c9
C [libjli.so+0x528e] JavaMain+0xc2e
C [libjli.so+0x7f3d] ThreadJavaMain+0xd: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:119)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
$ CONF=linux-x86_64-server-fastdebug make run-test TEST=runtime/ErrorHandling/MachCodeFramesInErrorFile.java
STDERR:
java.lang.RuntimeException: Mach code headers: []
Extracted MachCode:
null
Extracted native frames:
J 15 c2 MachCodeFramesInErrorFile$Crasher.method3(J)V (19 bytes) @ 0x00007f83b0ab9377 [0x00007f83b0ab9340+0x0000000000000037]
J 14 c2 MachCodeFramesInErrorFile$Crasher.method2(J)V (13 bytes) @ 0x00007f83b0ab977c [0x00007f83b0ab9740+0x000000000000003c]
j MachCodeFramesInErrorFile$Crasher.method1(J)V+9
J 12 c2 MachCodeFramesInErrorFile$Crasher.main([Ljava/lang/String;)V (7 bytes) @ 0x00007f83b0ab9e38 [0x00007f83b0ab9e20+0x0000000000000018]
v ~StubRoutines::call_stub
V [libjvm.so+0xe75324] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x504
V [libjvm.so+0xf99f21] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .isra.0] [clone .constprop.1]+0x331
V [libjvm.so+0xf9d5f9] jni_CallStaticVoidMethod+0x1c9
C [libjli.so+0x528e] JavaMain+0xc2e
C [libjli.so+0x7f3d] ThreadJavaMain+0xd: expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:119)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
- backported by
-
JDK-8310375 runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present
- Resolved
-
JDK-8310610 runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present
- Resolved
- relates to
-
JDK-8272586 emit abstract machine code in hs-err logs
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/393aeaf7
-
Commit openjdk/jdk/a5f09d10
-
Review openjdk/jdk17u-dev/1446
-
Review openjdk/jdk/5888
(2 links to)