Test: runtime/ErrorHandling/MachCodeFramesInErrorFile.java
[2021-10-20T16:13:20.284271Z] Gathering output for process 10908
----------System.err:(14/836)----------
java.lang.RuntimeException: 0 < 2
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at MachCodeFramesInErrorFile.run(MachCodeFramesInErrorFile.java:161)
at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:106)
But the hs_err log for process 10908 is truncated:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000109fb62f0, pid=10908, tid=9987
#
# JRE version: Java(TM) SE Runtime Environment (18.0+20) (fastdebug build 18-ea+20-1252)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+20-1252, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# V [libjvm.dylib+0xfb62f0] Unsafe_GetLong(JNIEnv_*, _jobject*, _jobject*, long)+0xac
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
...
Register to memory mapping:
x0=0x000000000000000a is an unknown value
x1=0x000000000000000a is an unknown value
x2=0x0 is NULL
x3=0x000000000000000a is an unknown value
x4=0x0000000147809480 points into unknown readable memory: 0xabababababababab | ab ab ab ab ab ab ab ab
x5=0x0000000000000005 is an unknown value
x6=0x0 is NULL
x7=0x0 is NULL
x8=0x0 is NULL
x9=0x0000000000000001 is an unknown value
x10=0x0000000109fb6244: _ZL14Unsafe_GetLongP7JNIEnv_P8_jobjectS2_l+0 in /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+20-1252/macosx-aarch64-debug.jdk/jdk-18/fastdebug/lib/server/libjvm.dylib at 0x0000000109000000
x11=0x0000000000000002 is an unknown value
x12={method} {0x0000000800453d10} 'getLong' '(Ljava/lang/Object;J)J' in 'jdk/internal/misc/Unsafe'
x13=0x0000000080000000 is an unknown value
x14=
And that is the end of the file.
No indication as to why the hs_err file should be truncated.
Bug filed for CI tracking purposes but I don't see anything that can be done here.
[2021-10-20T16:13:20.284271Z] Gathering output for process 10908
----------System.err:(14/836)----------
java.lang.RuntimeException: 0 < 2
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at MachCodeFramesInErrorFile.run(MachCodeFramesInErrorFile.java:161)
at MachCodeFramesInErrorFile.main(MachCodeFramesInErrorFile.java:106)
But the hs_err log for process 10908 is truncated:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000109fb62f0, pid=10908, tid=9987
#
# JRE version: Java(TM) SE Runtime Environment (18.0+20) (fastdebug build 18-ea+20-1252)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+20-1252, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# V [libjvm.dylib+0xfb62f0] Unsafe_GetLong(JNIEnv_*, _jobject*, _jobject*, long)+0xac
#
# CreateCoredumpOnCrash turned off, no core file dumped
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
...
Register to memory mapping:
x0=0x000000000000000a is an unknown value
x1=0x000000000000000a is an unknown value
x2=0x0 is NULL
x3=0x000000000000000a is an unknown value
x4=0x0000000147809480 points into unknown readable memory: 0xabababababababab | ab ab ab ab ab ab ab ab
x5=0x0000000000000005 is an unknown value
x6=0x0 is NULL
x7=0x0 is NULL
x8=0x0 is NULL
x9=0x0000000000000001 is an unknown value
x10=0x0000000109fb6244: _ZL14Unsafe_GetLongP7JNIEnv_P8_jobjectS2_l+0 in /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+20-1252/macosx-aarch64-debug.jdk/jdk-18/fastdebug/lib/server/libjvm.dylib at 0x0000000109000000
x11=0x0000000000000002 is an unknown value
x12={method} {0x0000000800453d10} 'getLong' '(Ljava/lang/Object;J)J' in 'jdk/internal/misc/Unsafe'
x13=0x0000000080000000 is an unknown value
x14=
And that is the end of the file.
No indication as to why the hs_err file should be truncated.
Bug filed for CI tracking purposes but I don't see anything that can be done here.
- blocks
-
JDK-8313315 runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails on linux ppc64le
- Open
- relates to
-
JDK-8282607 runtime/ErrorHandling/MachCodeFramesInErrorFile.java failed with "RuntimeException: 0 < 2"
- Resolved
-
JDK-8239567 TimeoutInErrorHandlingTest.java failed due to incomplete hs_err_pid
- Closed
-
JDK-8320503 Print warning if VM reaches MallocLimit during error reporting
- Resolved
- links to
-
Review openjdk/jdk/16804