-
Bug
-
Resolution: Fixed
-
P2
-
23, 24
Test jdk/jfr/api/metadata/annotations/TestStackFilter.java with '-Xcomp' hit assertion:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S151444/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/37caeecc-de78-4839-81e0-361230c33f9b/runs/f2a054ce-ef19-45e0-893f-d926a879fbc8/workspace/open/src/hotspot/share/oops/compressedKlass.inline.hpp:46), pid=726126, tid=726763
# assert(check_alignment(result)) failed: address not aligned: 0x00007fe594afbabe
#
# JRE version: Java(TM) SE Runtime Environment (24.0) (fastdebug build 24-internal-2024-09-22-1906186.leonid.mesnik.jdk-jfr)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-internal-2024-09-22-1906186.leonid.mesnik.jdk-jfr, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x14b4621] oopDesc::print_value_on(outputStream*) const+0x311
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S15432/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ab26347e-2427-402c-841b-f3b4370f4e48/runs/ecf46603-5cbd-48d8-88da-0f182398117e/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/0/core.726126)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
.....
Current thread (0x00007fe4ac0217d0): WorkerThread "GC Thread#7" [id=726763, stack(0x00007fe5054f6000,0x00007fe5055f6000) (1024K)]
Stack: [0x00007fe5054f6000,0x00007fe5055f6000], sp=0x00007fe5055f4780, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x14b4621] oopDesc::print_value_on(outputStream*) const+0x311 (compressedKlass.inline.hpp:46)
V [libjvm.so+0x14896bf] ObjArrayKlass::oop_print_on(oop, outputStream*)+0x1af (objArrayKlass.cpp:390)
V [libjvm.so+0x14b3f0e] oopDesc::print_on(outputStream*) const+0x6e (oop.cpp:47)
V [libjvm.so+0xceea86] G1VerifyLiveAndRemSetClosure::Checker<narrowOop>::print_containing_obj(outputStream*, G1HeapRegion*)+0xc6 (g1HeapRegion.cpp:506)
V [libjvm.so+0xcef375] G1VerifyLiveAndRemSetClosure::LiveChecker<narrowOop>::report_error()+0x125 (g1HeapRegion.cpp:572)
V [libjvm.so+0xcefdb4] void G1VerifyLiveAndRemSetClosure::do_oop_work<narrowOop>(narrowOop*)+0x4b4 (g1HeapRegion.cpp:650)
V [libjvm.so+0xcf00df] void OopOopIterateDispatch<G1VerifyLiveAndRemSetClosure>::Table::oop_oop_iterate<ObjArrayKlass, narrowOop>(G1VerifyLiveAndRemSetClosure*, oop, Klass*)+0x14f (g1HeapRegion.cpp:667)
V [libjvm.so+0xced02a] G1HeapRegion::verify_liveness_and_remset(VerifyOption) const+0x2fa (iterator.inline.hpp:295)
V [libjvm.so+0xced433] G1HeapRegion::verify(VerifyOption) const+0x33 (g1HeapRegion.cpp:708)
V [libjvm.so+0xd04e25] VerifyRegionClosure::do_heap_region(G1HeapRegion*)+0x125 (g1HeapVerifier.cpp:268)
V [libjvm.so+0xcf6b9f] G1HeapRegionManager::par_iterate(G1HeapRegionClosure*, G1HeapRegionClaimer*, unsigned int) const+0x6f (g1HeapRegionManager.cpp:577)
V [libjvm.so+0xd030c8] G1VerifyTask::work(unsigned int)+0x38 (g1HeapVerifier.cpp:309)
V [libjvm.so+0x1946950] WorkerThread::run()+0x80 (workerThread.cpp:70)
V [libjvm.so+0x17fc8c6] Thread::call_run()+0xb6 (thread.cpp:225)
V [libjvm.so+0x14e5da7] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
Registers:
RAX=0x00007fe5363fb000, RBX=0x00007fe53577cbb6, RCX=0x00007fe594afbabe, RDX=0x0000000000000001
RSP=0x00007fe5055f4780, RBP=0x00007fe5055f47c0, RSI=0x00007fe535770704, RDI=0x00000000d498c078
R8 =0x00007fe594afbabe, R9 =0x00007fe5357701b8, R10=0x00007fe5357701b0, R11=0x0000000000000000
R12=0x00000000d498c078, R13=0x00007fe5356f89c8, R14=0x00007fe5055f4960, R15=0x0000000000000015
RIP=0x00007fe534ae2621, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
TRAPNO=0x000000000000000e
Register to memory mapping:
RAX=0x00007fe5363fb000 in mmap'd memory region [0x00007fe5363fb000 - 0x00007fe5363fc000], tag mtInternal
RBX=0x00007fe53577cbb6: <offset 0x000000000214ebb6> in /opt/mach5/mesos/work_dir/jib-master/install/2024-09-22-1906186.leonid.mesnik.jdk-jfr/linux-x64-debug.jdk/jdk-24/fastdebug/lib/server/libjvm.so at 0x00007fe53362e000
RCX=0x00007fe594afbabe is an unknown value
RDX=0x0000000000000001 is an unknown value
RSP=0x00007fe5055f4780 in mmap'd memory region [0x00007fe5054f6000 - 0x00007fe5055f6000], tag mtThreadStack
RBP=0x00007fe5055f47c0 in mmap'd memory region [0x00007fe5054f6000 - 0x00007fe5055f6000], tag mtThreadStack
RSI=0x00007fe535770704: <offset 0x0000000002142704> in /opt/mach5/mesos/work_dir/jib-master/install/2024-09-22-1906186.leonid.mesnik.jdk-jfr/linux-x64-debug.jdk/jdk-24/fastdebug/lib/server/libjvm.so at 0x00007fe53362e000
RDI=0x00000000d498c078 is pointing into object: [Ljdk.internal.vm.FillerElement;
{0x00000000d4966558} - klass: {type array int} - flags: is_cloneable_fast
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S151444/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/37caeecc-de78-4839-81e0-361230c33f9b/runs/f2a054ce-ef19-45e0-893f-d926a879fbc8/workspace/open/src/hotspot/share/oops/compressedKlass.inline.hpp:46), pid=726126, tid=726763
# assert(check_alignment(result)) failed: address not aligned: 0x00007fe594afbabe
#
# JRE version: Java(TM) SE Runtime Environment (24.0) (fastdebug build 24-internal-2024-09-22-1906186.leonid.mesnik.jdk-jfr)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-internal-2024-09-22-1906186.leonid.mesnik.jdk-jfr, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x14b4621] oopDesc::print_value_on(outputStream*) const+0x311
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S15432/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ab26347e-2427-402c-841b-f3b4370f4e48/runs/ecf46603-5cbd-48d8-88da-0f182398117e/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/0/core.726126)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
.....
Current thread (0x00007fe4ac0217d0): WorkerThread "GC Thread#7" [id=726763, stack(0x00007fe5054f6000,0x00007fe5055f6000) (1024K)]
Stack: [0x00007fe5054f6000,0x00007fe5055f6000], sp=0x00007fe5055f4780, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x14b4621] oopDesc::print_value_on(outputStream*) const+0x311 (compressedKlass.inline.hpp:46)
V [libjvm.so+0x14896bf] ObjArrayKlass::oop_print_on(oop, outputStream*)+0x1af (objArrayKlass.cpp:390)
V [libjvm.so+0x14b3f0e] oopDesc::print_on(outputStream*) const+0x6e (oop.cpp:47)
V [libjvm.so+0xceea86] G1VerifyLiveAndRemSetClosure::Checker<narrowOop>::print_containing_obj(outputStream*, G1HeapRegion*)+0xc6 (g1HeapRegion.cpp:506)
V [libjvm.so+0xcef375] G1VerifyLiveAndRemSetClosure::LiveChecker<narrowOop>::report_error()+0x125 (g1HeapRegion.cpp:572)
V [libjvm.so+0xcefdb4] void G1VerifyLiveAndRemSetClosure::do_oop_work<narrowOop>(narrowOop*)+0x4b4 (g1HeapRegion.cpp:650)
V [libjvm.so+0xcf00df] void OopOopIterateDispatch<G1VerifyLiveAndRemSetClosure>::Table::oop_oop_iterate<ObjArrayKlass, narrowOop>(G1VerifyLiveAndRemSetClosure*, oop, Klass*)+0x14f (g1HeapRegion.cpp:667)
V [libjvm.so+0xced02a] G1HeapRegion::verify_liveness_and_remset(VerifyOption) const+0x2fa (iterator.inline.hpp:295)
V [libjvm.so+0xced433] G1HeapRegion::verify(VerifyOption) const+0x33 (g1HeapRegion.cpp:708)
V [libjvm.so+0xd04e25] VerifyRegionClosure::do_heap_region(G1HeapRegion*)+0x125 (g1HeapVerifier.cpp:268)
V [libjvm.so+0xcf6b9f] G1HeapRegionManager::par_iterate(G1HeapRegionClosure*, G1HeapRegionClaimer*, unsigned int) const+0x6f (g1HeapRegionManager.cpp:577)
V [libjvm.so+0xd030c8] G1VerifyTask::work(unsigned int)+0x38 (g1HeapVerifier.cpp:309)
V [libjvm.so+0x1946950] WorkerThread::run()+0x80 (workerThread.cpp:70)
V [libjvm.so+0x17fc8c6] Thread::call_run()+0xb6 (thread.cpp:225)
V [libjvm.so+0x14e5da7] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
Registers:
RAX=0x00007fe5363fb000, RBX=0x00007fe53577cbb6, RCX=0x00007fe594afbabe, RDX=0x0000000000000001
RSP=0x00007fe5055f4780, RBP=0x00007fe5055f47c0, RSI=0x00007fe535770704, RDI=0x00000000d498c078
R8 =0x00007fe594afbabe, R9 =0x00007fe5357701b8, R10=0x00007fe5357701b0, R11=0x0000000000000000
R12=0x00000000d498c078, R13=0x00007fe5356f89c8, R14=0x00007fe5055f4960, R15=0x0000000000000015
RIP=0x00007fe534ae2621, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
TRAPNO=0x000000000000000e
Register to memory mapping:
RAX=0x00007fe5363fb000 in mmap'd memory region [0x00007fe5363fb000 - 0x00007fe5363fc000], tag mtInternal
RBX=0x00007fe53577cbb6: <offset 0x000000000214ebb6> in /opt/mach5/mesos/work_dir/jib-master/install/2024-09-22-1906186.leonid.mesnik.jdk-jfr/linux-x64-debug.jdk/jdk-24/fastdebug/lib/server/libjvm.so at 0x00007fe53362e000
RCX=0x00007fe594afbabe is an unknown value
RDX=0x0000000000000001 is an unknown value
RSP=0x00007fe5055f4780 in mmap'd memory region [0x00007fe5054f6000 - 0x00007fe5055f6000], tag mtThreadStack
RBP=0x00007fe5055f47c0 in mmap'd memory region [0x00007fe5054f6000 - 0x00007fe5055f6000], tag mtThreadStack
RSI=0x00007fe535770704: <offset 0x0000000002142704> in /opt/mach5/mesos/work_dir/jib-master/install/2024-09-22-1906186.leonid.mesnik.jdk-jfr/linux-x64-debug.jdk/jdk-24/fastdebug/lib/server/libjvm.so at 0x00007fe53362e000
RDI=0x00000000d498c078 is pointing into object: [Ljdk.internal.vm.FillerElement;
{0x00000000d4966558} - klass: {type array int} - flags: is_cloneable_fast
- relates to
-
JDK-8326820 Metadata artificially kept alive
- Resolved
-
JDK-8318098 Update jfr tests with corresponding requires flags
- Open
- links to
-
Commit(master) openjdk/jdk/97b681e9
-
Review(master) openjdk/jdk23u/218
-
Review(master) openjdk/jdk/21893