Details
-
Bug
-
Resolution: External
-
P2
-
None
-
16
Description
Test: runtime/cds/appcds/sharedStrings/IncompatibleOptions.java#id1
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f704cbba360, pid=19812, tid=19829
#
# JRE version: Java(TM) SE Runtime Environment (16.0+21) (fastdebug build 16-ea+21-1188)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+21-1188, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x987360] ClassLoaderData::is_alive() const+0x0
--------------- T H R E A D ---------------
Current thread (0x00007f704414bf10): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=19829, stack(0x00007f7049cf8000,0x00007f7049df9000)]
Current CompileTask:
C1: 375 6 3 java.util.ImmutableCollections$SetN::probe (56 bytes)
Stack: [0x00007f7049cf8000,0x00007f7049df9000], sp=0x00007f7049df67c8, free space=1017k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x987360] ClassLoaderData::is_alive() const+0x0
V [libjvm.so+0xab483c] ClassHierarchyWalker::find_witness_anywhere(Klass*, bool, bool)+0xcc
V [libjvm.so+0xab6dad] Dependencies::find_unique_concrete_method(Klass*, Method*)+0x2fd
V [libjvm.so+0x8f004d] ciMethod::find_monomorphic_target(ciInstanceKlass*, ciInstanceKlass*, ciInstanceKlass*, bool)+0x38d
V [libjvm.so+0x72f78a] GraphBuilder::invoke(Bytecodes::Code)+0x11ba
V [libjvm.so+0x73056b] GraphBuilder::iterate_bytecodes_for_block(int)+0x92b
V [libjvm.so+0x7320c9] GraphBuilder::iterate_all_blocks(bool)+0x89
V [libjvm.so+0x7333d7] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x587
V [libjvm.so+0x742ce3] IR::IR(Compilation*, ciMethod*, int)+0x653
V [libjvm.so+0x702fb1] Compilation::build_hir() [clone .part.0]+0x261
V [libjvm.so+0x7079cc] Compilation::compile_java_method()+0x1bc
V [libjvm.so+0x7087e7] Compilation::compile_method()+0x1d7
V [libjvm.so+0x7091fb] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x36b
V [libjvm.so+0x70a5f3] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1a3
V [libjvm.so+0xa104c8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe08
V [libjvm.so+0xa11018] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x185da36] JavaThread::thread_main_inner()+0x256
V [libjvm.so+0x1865150] Thread::call_run()+0x100
V [libjvm.so+0x1552056] thread_native_entry(Thread*)+0x116
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f704cbba360, pid=19812, tid=19829
#
# JRE version: Java(TM) SE Runtime Environment (16.0+21) (fastdebug build 16-ea+21-1188)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+21-1188, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x987360] ClassLoaderData::is_alive() const+0x0
--------------- T H R E A D ---------------
Current thread (0x00007f704414bf10): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=19829, stack(0x00007f7049cf8000,0x00007f7049df9000)]
Current CompileTask:
C1: 375 6 3 java.util.ImmutableCollections$SetN::probe (56 bytes)
Stack: [0x00007f7049cf8000,0x00007f7049df9000], sp=0x00007f7049df67c8, free space=1017k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x987360] ClassLoaderData::is_alive() const+0x0
V [libjvm.so+0xab483c] ClassHierarchyWalker::find_witness_anywhere(Klass*, bool, bool)+0xcc
V [libjvm.so+0xab6dad] Dependencies::find_unique_concrete_method(Klass*, Method*)+0x2fd
V [libjvm.so+0x8f004d] ciMethod::find_monomorphic_target(ciInstanceKlass*, ciInstanceKlass*, ciInstanceKlass*, bool)+0x38d
V [libjvm.so+0x72f78a] GraphBuilder::invoke(Bytecodes::Code)+0x11ba
V [libjvm.so+0x73056b] GraphBuilder::iterate_bytecodes_for_block(int)+0x92b
V [libjvm.so+0x7320c9] GraphBuilder::iterate_all_blocks(bool)+0x89
V [libjvm.so+0x7333d7] GraphBuilder::GraphBuilder(Compilation*, IRScope*)+0x587
V [libjvm.so+0x742ce3] IR::IR(Compilation*, ciMethod*, int)+0x653
V [libjvm.so+0x702fb1] Compilation::build_hir() [clone .part.0]+0x261
V [libjvm.so+0x7079cc] Compilation::compile_java_method()+0x1bc
V [libjvm.so+0x7087e7] Compilation::compile_method()+0x1d7
V [libjvm.so+0x7091fb] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x36b
V [libjvm.so+0x70a5f3] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1a3
V [libjvm.so+0xa104c8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe08
V [libjvm.so+0xa11018] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x185da36] JavaThread::thread_main_inner()+0x256
V [libjvm.so+0x1865150] Thread::call_run()+0x100
V [libjvm.so+0x1552056] thread_native_entry(Thread*)+0x116
Attachments
Issue Links
- relates to
-
JDK-8246487 misc tests SIGSEGV in ClassLoaderData::is_alive()
- Resolved
-
JDK-8255282 Compiler calls Dependencies::find_finalizable_subclass without Compile_lock
- Closed
-
JDK-8256371 Compiler thread crashes in ClassLoaderData::is_alive()
- Closed
-
JDK-8255256 gc/g1/ihop/TestIHOPStatic.java failed "assert(!is_null(v)) failed: narrow klass value can never be zero"
- Closed