-
Bug
-
Resolution: Fixed
-
P3
-
25
-
master
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8359835 | 25 | Vladimir Kozlov | P3 | Open | Unresolved |
A JCK test fails with -XX:+AOTClassLinking:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff373440e64, pid=1569641, tid=1569661
#
# JRE version: Java(TM) SE Runtime Environment (26.0+2) (fastdebug build 26-ea+2-31)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+2-31, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x665e64] AOTCodeAddressTable::add_C_string(char const*)+0x14
Current CompileTask:
C1:1859 654 3 java.util.concurrent.ConcurrentHashMap$Traverser::advance (188 bytes)
Stack: [0x00007ff35435c000,0x00007ff35445c000], sp=0x00007ff354459530, free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x665e64] AOTCodeAddressTable::add_C_string(char const*)+0x14
V [libjvm.so+0x1560a10] MacroAssembler::stop(char const*)+0x150
V [libjvm.so+0x1564ce1] MacroAssembler::verify_heapbase(char const*) [clone .part.0]+0x2f1
V [libjvm.so+0x15a6667] MacroAssembler::encode_heap_oop(Register)+0x187
V [libjvm.so+0x877fae] LIR_Assembler::reg2mem(LIR_Opr, LIR_Opr, BasicType, LIR_PatchCode, CodeEmitInfo*, bool)+0x40e
V [libjvm.so+0x86fab9] LIR_Assembler::move_op(LIR_Opr, LIR_Opr, BasicType, LIR_PatchCode, CodeEmitInfo*, bool)+0x469
V [libjvm.so+0x871224] LIR_Assembler::emit_op1(LIR_Op1*)+0x404
V [libjvm.so+0x8715ee] LIR_Assembler::emit_lir_list(LIR_List*)+0xee
V [libjvm.so+0x871f1d] LIR_Assembler::emit_code(BlockList*)+0xdd
V [libjvm.so+0x81aaf9] Compilation::emit_code_body()+0x199
V [libjvm.so+0x81b05b] Compilation::compile_java_method()+0x3cb
V [libjvm.so+0x81b846] Compilation::compile_method()+0x266
V [libjvm.so+0x81bf9d] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x35d
V [libjvm.so+0x81d8ff] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1ff
V [libjvm.so+0xb38b58] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58
V [libjvm.so+0xb39d28] CompileBroker::compiler_thread_loop()+0x578
V [libjvm.so+0x10863cb] JavaThread::thread_main_inner()+0x13b
V [libjvm.so+0x1adaae6] Thread::call_run()+0xb6
V [libjvm.so+0x1762258] thread_native_entry(Thread*)+0x128
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff373440e64, pid=1569641, tid=1569661
#
# JRE version: Java(TM) SE Runtime Environment (26.0+2) (fastdebug build 26-ea+2-31)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+2-31, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x665e64] AOTCodeAddressTable::add_C_string(char const*)+0x14
Current CompileTask:
C1:1859 654 3 java.util.concurrent.ConcurrentHashMap$Traverser::advance (188 bytes)
Stack: [0x00007ff35435c000,0x00007ff35445c000], sp=0x00007ff354459530, free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x665e64] AOTCodeAddressTable::add_C_string(char const*)+0x14
V [libjvm.so+0x1560a10] MacroAssembler::stop(char const*)+0x150
V [libjvm.so+0x1564ce1] MacroAssembler::verify_heapbase(char const*) [clone .part.0]+0x2f1
V [libjvm.so+0x15a6667] MacroAssembler::encode_heap_oop(Register)+0x187
V [libjvm.so+0x877fae] LIR_Assembler::reg2mem(LIR_Opr, LIR_Opr, BasicType, LIR_PatchCode, CodeEmitInfo*, bool)+0x40e
V [libjvm.so+0x86fab9] LIR_Assembler::move_op(LIR_Opr, LIR_Opr, BasicType, LIR_PatchCode, CodeEmitInfo*, bool)+0x469
V [libjvm.so+0x871224] LIR_Assembler::emit_op1(LIR_Op1*)+0x404
V [libjvm.so+0x8715ee] LIR_Assembler::emit_lir_list(LIR_List*)+0xee
V [libjvm.so+0x871f1d] LIR_Assembler::emit_code(BlockList*)+0xdd
V [libjvm.so+0x81aaf9] Compilation::emit_code_body()+0x199
V [libjvm.so+0x81b05b] Compilation::compile_java_method()+0x3cb
V [libjvm.so+0x81b846] Compilation::compile_method()+0x266
V [libjvm.so+0x81bf9d] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x35d
V [libjvm.so+0x81d8ff] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1ff
V [libjvm.so+0xb38b58] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58
V [libjvm.so+0xb39d28] CompileBroker::compiler_thread_loop()+0x578
V [libjvm.so+0x10863cb] JavaThread::thread_main_inner()+0x13b
V [libjvm.so+0x1adaae6] Thread::call_run()+0xb6
V [libjvm.so+0x1762258] thread_native_entry(Thread*)+0x128
- backported by
-
JDK-8359835 C1 crash in AOTCodeAddressTable::add_C_string
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/96070212
-
Review(master) openjdk/jdk/25841