Java crash: relocInfo_x86.cpp: Error: ShouldNotReachHere()
Issue
- Fatal error log shows the following error:
# Internal Error (relocInfo_x86.cpp:106), pid=1475, tid=1490
# Error: ShouldNotReachHere()
...
# Problematic frame:
# V [libjvm.so+0xccea32] Relocation::pd_call_destination(unsigned char*)+0xa2
...
Current thread (0x00007f487ca8c530): JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=1490, stack(0x00007f48805b6000,0x00007f48806b7000)]
Current CompileTask:
C1: 29883 9409 2 my.util.LogFile::getTimeStamp (126 bytes)
Stack: [0x00007f48805b6000,0x00007f48806b7000], sp=0x00007f48806b4c70, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xccea32] Relocation::pd_call_destination(unsigned char*)+0xa2
V [libjvm.so+0xccb367] CallRelocation::fix_relocation_after_move(CodeBuffer const*, CodeBuffer*)+0x57
V [libjvm.so+0x5ba252] CodeBuffer::relocate_code_to(CodeBuffer*) const+0x2d2
V [libjvm.so+0x5bad0c] CodeBuffer::copy_code_to(CodeBlob*)+0x16c
V [libjvm.so+0xbea351] nmethod::nmethod(Method*, CompilerType, int, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, int, GrowableArrayView<RuntimeStub*> const&, char*, int, int)+0x3c1
V [libjvm.so+0xbea7d5] nmethod::new_nmethod(methodHandle const&, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, int, GrowableArrayView<RuntimeStub*> const&, char*, int, int, char const*, FailedSpeculation**)+0x295
V [libjvm.so+0x55b2cf] ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, bool, bool, RTMState, GrowableArrayView<RuntimeStub*> const&)+0x41f
V [libjvm.so+0x47cd44] Compilation::compile_method()+0x334
V [libjvm.so+0x47cfdf] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*)+0x22f
V [libjvm.so+0x47db07] Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0xc7
V [libjvm.so+0x5f5781] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfc1
V [libjvm.so+0x5f6478] CompileBroker::compiler_thread_loop()+0x518
V [libjvm.so+0xefbbc8] JavaThread::thread_main_inner()+0x178
...
Java Threads: ( => current thread )
...
=>0x00007f487ca8c530 JavaThread "C1 CompilerThread0" daemon [_thread_in_vm, id=1490, stack(0x00007f48805b6000,0x00007f48806b7000)]
Environment
- Red Hat Enterprise Linux (RHEL) 8
- OpenJDK
- 8
- 11
- 17
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.