-
Bug
-
Resolution: Fixed
-
P3
-
21.0.2, 22, 23, 24
-
b24
-
x86_64, aarch64
-
linux_ubuntu
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffff93e58b34, pid=126101, tid=126116
#
# Problematic frame:
# V [libjvm.so+0xb4ab34] MultiNode::proj_out(unsigned int) const+0x0
#
--------------- S U M M A R Y ------------
Command Line: -XX:CompileThreshold=100 -Xcomp -XX:-TieredCompilation Test609120.jar
--------------- T H R E A D ---------------
Current thread (0x0000ffff8c1b5ee0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=126116, stack(0x0000ffff49170000,0x0000ffff4936e000) (2040K)]
Current CompileTask:
C2:4769 1980 % !b Test609120::testMethod @ 613 (718 bytes)
Stack: [0x0000ffff49170000,0x0000ffff4936e000], sp=0x0000ffff49368eb0, free space=2019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xb4ab34] MultiNode::proj_out(unsigned int) const+0x0
V [libjvm.so+0xa6dc74] PhaseIdealLoop::insert_pre_post_loops(IdealLoopTree*, Node_List&, bool)+0x1c4
V [libjvm.so+0xa6ee80] IdealLoopTree::iteration_split_impl(PhaseIdealLoop*, Node_List&)+0x56c
V [libjvm.so+0xa6f0cc] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x15c
V [libjvm.so+0xa6efac] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x3c
V [libjvm.so+0xa84f48] PhaseIdealLoop::build_and_optimize()+0xb78
V [libjvm.so+0x59ec14] Compile::Optimize()+0x814
V [libjvm.so+0x5a0118] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xba8
V [libjvm.so+0x4d1934] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x144
V [libjvm.so+0x5a60f8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb78
V [libjvm.so+0x5a8d18] CompileBroker::compiler_thread_loop()+0x384
V [libjvm.so+0x80bc44] JavaThread::thread_main_inner()+0x184
V [libjvm.so+0xd95e98] Thread::call_run()+0xa8
V [libjvm.so+0xb95f94] thread_native_entry(Thread*)+0xe0
C [libpthread.so.0+0x78bc] start_thread+0x19c
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000010
-----------------
java -XX:CompileThreshold=100 -Xcomp -XX:-TieredCompilation -jar Test609120.jar
Found revert issue-8314307 testcast pass.
jdk21/22/23/24 failed;
jdk8/11/17 pass
----------------
Crash with debug build:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S144280/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/08836cc8-8e7f-4a71-8d0a-d202f86f4453/runs/e724b40e-6086-4fa3-b912-d25c41311728/workspace/open/src/hotspot/share/opto/node.hpp:977), pid=505076, tid=505090
# assert(is_OuterStripMinedLoop()) failed: invalid node class: IfTrue
#
# JRE version: Java(TM) SE Runtime Environment (24.0+15) (fastdebug build 24-ea+15-1632)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+15-1632, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x129ec68] LoopNode::verify_strip_mined(int) const+0xbc8
...........
Current CompileTask:
C2:137 30 % !b Test609120::testMethod @ 613 (718 bytes)
Stack: [0x00007b5f32600000,0x00007b5f32700000], sp=0x00007b5f326fa900, free space=1002k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x129ec68] LoopNode::verify_strip_mined(int) const+0xbc8 (node.hpp:977)
V [libjvm.so+0x128fac9] PhaseIdealLoop::insert_post_loop(IdealLoopTree*, Node_List&, CountedLoopNode*, CountedLoopEndNode*, Node*&, Node*, CountedLoopNode*&)+0x49 (loopTransform.cpp:1820)
V [libjvm.so+0x1290cf7] PhaseIdealLoop::insert_pre_post_loops(IdealLoopTree*, Node_List&, bool)+0x2f7 (loopTransform.cpp:1577)
V [libjvm.so+0x129463e] IdealLoopTree::iteration_split_impl(PhaseIdealLoop*, Node_List&)+0x32e (loopTransform.cpp:3659)
V [libjvm.so+0x1294a5e] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x17e (loopTransform.cpp:3713)
V [libjvm.so+0x1294915] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x35 (loopTransform.cpp:3697)
V [libjvm.so+0x12c0f90] PhaseIdealLoop::build_and_optimize()+0xf60 (loopnode.cpp:4820)
V [libjvm.so+0xa022b8] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x3a8 (loopnode.hpp:1117)
V [libjvm.so+0x9faf55] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x75 (compile.cpp:2172)
V [libjvm.so+0x9fd625] Compile::Optimize()+0xe15 (compile.cpp:2419)
V [libjvm.so+0xa00dc7] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b57 (compile.cpp:852)
V [libjvm.so+0x850255] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5 (c2compiler.cpp:142)
V [libjvm.so+0xa0ca78] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928 (compileBroker.cpp:2303)
V [libjvm.so+0xa0d708] CompileBroker::compiler_thread_loop()+0x478 (compileBroker.cpp:1961)
V [libjvm.so+0xeb40fc] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:758)
V [libjvm.so+0x17e13c6] Thread::call_run()+0xb6 (thread.cpp:225)
V [libjvm.so+0x14ca587] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffff93e58b34, pid=126101, tid=126116
#
# Problematic frame:
# V [libjvm.so+0xb4ab34] MultiNode::proj_out(unsigned int) const+0x0
#
--------------- S U M M A R Y ------------
Command Line: -XX:CompileThreshold=100 -Xcomp -XX:-TieredCompilation Test609120.jar
--------------- T H R E A D ---------------
Current thread (0x0000ffff8c1b5ee0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=126116, stack(0x0000ffff49170000,0x0000ffff4936e000) (2040K)]
Current CompileTask:
C2:4769 1980 % !b Test609120::testMethod @ 613 (718 bytes)
Stack: [0x0000ffff49170000,0x0000ffff4936e000], sp=0x0000ffff49368eb0, free space=2019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xb4ab34] MultiNode::proj_out(unsigned int) const+0x0
V [libjvm.so+0xa6dc74] PhaseIdealLoop::insert_pre_post_loops(IdealLoopTree*, Node_List&, bool)+0x1c4
V [libjvm.so+0xa6ee80] IdealLoopTree::iteration_split_impl(PhaseIdealLoop*, Node_List&)+0x56c
V [libjvm.so+0xa6f0cc] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x15c
V [libjvm.so+0xa6efac] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x3c
V [libjvm.so+0xa84f48] PhaseIdealLoop::build_and_optimize()+0xb78
V [libjvm.so+0x59ec14] Compile::Optimize()+0x814
V [libjvm.so+0x5a0118] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xba8
V [libjvm.so+0x4d1934] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x144
V [libjvm.so+0x5a60f8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb78
V [libjvm.so+0x5a8d18] CompileBroker::compiler_thread_loop()+0x384
V [libjvm.so+0x80bc44] JavaThread::thread_main_inner()+0x184
V [libjvm.so+0xd95e98] Thread::call_run()+0xa8
V [libjvm.so+0xb95f94] thread_native_entry(Thread*)+0xe0
C [libpthread.so.0+0x78bc] start_thread+0x19c
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000010
-----------------
java -XX:CompileThreshold=100 -Xcomp -XX:-TieredCompilation -jar Test609120.jar
Found revert issue-8314307 testcast pass.
jdk21/22/23/24 failed;
jdk8/11/17 pass
----------------
Crash with debug build:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S144280/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/08836cc8-8e7f-4a71-8d0a-d202f86f4453/runs/e724b40e-6086-4fa3-b912-d25c41311728/workspace/open/src/hotspot/share/opto/node.hpp:977), pid=505076, tid=505090
# assert(is_OuterStripMinedLoop()) failed: invalid node class: IfTrue
#
# JRE version: Java(TM) SE Runtime Environment (24.0+15) (fastdebug build 24-ea+15-1632)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+15-1632, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x129ec68] LoopNode::verify_strip_mined(int) const+0xbc8
...........
Current CompileTask:
C2:137 30 % !b Test609120::testMethod @ 613 (718 bytes)
Stack: [0x00007b5f32600000,0x00007b5f32700000], sp=0x00007b5f326fa900, free space=1002k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x129ec68] LoopNode::verify_strip_mined(int) const+0xbc8 (node.hpp:977)
V [libjvm.so+0x128fac9] PhaseIdealLoop::insert_post_loop(IdealLoopTree*, Node_List&, CountedLoopNode*, CountedLoopEndNode*, Node*&, Node*, CountedLoopNode*&)+0x49 (loopTransform.cpp:1820)
V [libjvm.so+0x1290cf7] PhaseIdealLoop::insert_pre_post_loops(IdealLoopTree*, Node_List&, bool)+0x2f7 (loopTransform.cpp:1577)
V [libjvm.so+0x129463e] IdealLoopTree::iteration_split_impl(PhaseIdealLoop*, Node_List&)+0x32e (loopTransform.cpp:3659)
V [libjvm.so+0x1294a5e] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x17e (loopTransform.cpp:3713)
V [libjvm.so+0x1294915] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x35 (loopTransform.cpp:3697)
V [libjvm.so+0x12c0f90] PhaseIdealLoop::build_and_optimize()+0xf60 (loopnode.cpp:4820)
V [libjvm.so+0xa022b8] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x3a8 (loopnode.hpp:1117)
V [libjvm.so+0x9faf55] Compile::optimize_loops(PhaseIterGVN&, LoopOptsMode)+0x75 (compile.cpp:2172)
V [libjvm.so+0x9fd625] Compile::Optimize()+0xe15 (compile.cpp:2419)
V [libjvm.so+0xa00dc7] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b57 (compile.cpp:852)
V [libjvm.so+0x850255] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5 (c2compiler.cpp:142)
V [libjvm.so+0xa0ca78] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928 (compileBroker.cpp:2303)
V [libjvm.so+0xa0d708] CompileBroker::compiler_thread_loop()+0x478 (compileBroker.cpp:1961)
V [libjvm.so+0xeb40fc] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:758)
V [libjvm.so+0x17e13c6] Thread::call_run()+0xb6 (thread.cpp:225)
V [libjvm.so+0x14ca587] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
- links to
-
Commit(master) openjdk/jdk/a10b1ccd
-
Review(master) openjdk/jdk/21956