The hs_err file shows the expected stack:
--------------- T H R E A D ---------------
Current thread (0x00007f497802e450): JavaThread "main" [_thread_in_native, id=3258804, stack(0x00007f4982b75000,0x00007f4982c76000) (1028K)]
Stack: [0x00007f4982b75000,0x00007f4982c76000], sp=0x00007f4982c74848, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libLingeredApp.so+0x690] Java_jdk_test_lib_apps_LingeredApp_crash+0x0 (libLingeredApp.c:42)
J 2617 c1 jdk.test.lib.apps.LingeredApp.main([Ljava/lang/String;)V (258 bytes) @ 0x00007f49606c2d9c [0x00007f49606c2700+0x000000000000069c]
v ~StubRoutines::call_stub_stub (stub gen) 0x00007f496781c5fd
V [libjvm.so+0x10f2c0e] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x50e (javaCalls.cpp:414)
V [libjvm.so+0x1276920] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .constprop.1]+0x420 (jni.cpp:881)
V [libjvm.so+0x127a546] jni_CallStaticVoidMethod+0x216 (jni.cpp:1710)
C [libjli.so+0x3c1a] invokeStaticMainWithArgs+0x4a (java.c:392)
C [libjli.so+0x4cf8] JavaMain+0xf08 (java.c:640)
C [libjli.so+0x8099] ThreadJavaMain+0x9 (java_md.c:646)
but the core stack dump shows this:
----------------- 3258804 -----------------
"main" #3 prio=5 tid=0x00007f497802e450 nid=3258804 runnable [0x00007f4982c74000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_in_native
0x00007f49826dc5ef __GI_raise + 0x10f
0x00007f49826afe65 __GI_abort + 0x127
0x00007f497fdec90f os::abort(bool, void const*, void const*) [clone .cold] + 0x4
0x00007f498175d582 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long) + 0x6f2
0x00007f498072e3c0 report_vm_error(char const*, int, char const*, char const*, ...) + 0x100
0x00007f497fe5bb5f CompressedKlassPointers::decode_not_null(unsigned int) + 0x22f
0x00007f4982c72010 ????????
--------------- T H R E A D ---------------
Current thread (0x00007f497802e450): JavaThread "main" [_thread_in_native, id=3258804, stack(0x00007f4982b75000,0x00007f4982c76000) (1028K)]
Stack: [0x00007f4982b75000,0x00007f4982c76000], sp=0x00007f4982c74848, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libLingeredApp.so+0x690] Java_jdk_test_lib_apps_LingeredApp_crash+0x0 (libLingeredApp.c:42)
J 2617 c1 jdk.test.lib.apps.LingeredApp.main([Ljava/lang/String;)V (258 bytes) @ 0x00007f49606c2d9c [0x00007f49606c2700+0x000000000000069c]
v ~StubRoutines::call_stub_stub (stub gen) 0x00007f496781c5fd
V [libjvm.so+0x10f2c0e] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x50e (javaCalls.cpp:414)
V [libjvm.so+0x1276920] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .constprop.1]+0x420 (jni.cpp:881)
V [libjvm.so+0x127a546] jni_CallStaticVoidMethod+0x216 (jni.cpp:1710)
C [libjli.so+0x3c1a] invokeStaticMainWithArgs+0x4a (java.c:392)
C [libjli.so+0x4cf8] JavaMain+0xf08 (java.c:640)
C [libjli.so+0x8099] ThreadJavaMain+0x9 (java_md.c:646)
but the core stack dump shows this:
----------------- 3258804 -----------------
"main" #3 prio=5 tid=0x00007f497802e450 nid=3258804 runnable [0x00007f4982c74000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_in_native
0x00007f49826dc5ef __GI_raise + 0x10f
0x00007f49826afe65 __GI_abort + 0x127
0x00007f497fdec90f os::abort(bool, void const*, void const*) [clone .cold] + 0x4
0x00007f498175d582 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long) + 0x6f2
0x00007f498072e3c0 report_vm_error(char const*, int, char const*, char const*, ...) + 0x100
0x00007f497fe5bb5f CompressedKlassPointers::decode_not_null(unsigned int) + 0x22f
0x00007f4982c72010 ????????