-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 23
-
b26
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8337877 | 21.0.5 | Matthias Baesken | P4 | Resolved | Fixed | b02 |
When configuring ubsan (--enable-ubsan) I run in the build (on Linux x86_64 fastdebug) into this issue :
src/hotspot/cpu/x86/relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base 0xffffffffffffffff overflowed to 0x0000074d946f
#0 0x14b28fa94ac2 in Relocation::pd_call_destination(unsigned char*) src/hotspot/cpu/x86/relocInfo_x86.cpp:101
#1 0x14b28fa8408a in CallRelocation::fix_relocation_after_move(CodeBuffer const*, CodeBuffer*) src/hotspot/share/code/relocInfo.cpp:370
#2 0x14b28dcec671 in CodeBuffer::relocate_code_to(CodeBuffer*) const src/hotspot/share/asm/codeBuffer.cpp:799
#3 0x14b28dcf0737 in CodeBuffer::copy_code_to(CodeBlob*) src/hotspot/share/asm/codeBuffer.cpp:736
#4 0x14b28f6c38a0 in CodeBuffer::copy_code_and_locs_to(CodeBlob*) src/hotspot/share/asm/codeBuffer.hpp:707
#5 0x14b28f6c38a0 in nmethod::nmethod(Method*, CompilerType, int, int, int, int, unsigned char*, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, CompLevel, char*, int, JVMCINMethodData*) src/hotspot/share/code/nmethod.cpp:1529
#6 0x14b28f6c4de4 in nmethod::new_nmethod(methodHandle const&, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, CompLevel, char*, int, JVMCINMethodData*) src/hotspot/share/code/nmethod.cpp:1187
#7 0x14b28db0770b in ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, bool, bool, bool, int, RTMState) src/hotspot/share/ci/ciEnv.cpp:1119
#8 0x14b28d6d4df1 in Compilation::install_code(int) src/hotspot/share/c1/c1_Compilation.cpp:426
#9 0x14b28d6dac94 in Compilation::compile_method() src/hotspot/share/c1/c1_Compilation.cpp:488
#10 0x14b28d6db61a in Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*) src/hotspot/share/c1/c1_Compilation.cpp:609
#11 0x14b28d6deb08 in Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) src/hotspot/share/c1/c1_Compiler.cpp:260
#12 0x14b28ddcc024 in CompileBroker::invoke_compiler_on_method(CompileTask*) src/hotspot/share/compiler/compileBroker.cpp:2303
#13 0x14b28ddce5d6 in CompileBroker::compiler_thread_loop() src/hotspot/share/compiler/compileBroker.cpp:1961
... (rest of output omitted)
src/hotspot/cpu/x86/relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base 0xffffffffffffffff overflowed to 0x0000074d946f
#0 0x14b28fa94ac2 in Relocation::pd_call_destination(unsigned char*) src/hotspot/cpu/x86/relocInfo_x86.cpp:101
#1 0x14b28fa8408a in CallRelocation::fix_relocation_after_move(CodeBuffer const*, CodeBuffer*) src/hotspot/share/code/relocInfo.cpp:370
#2 0x14b28dcec671 in CodeBuffer::relocate_code_to(CodeBuffer*) const src/hotspot/share/asm/codeBuffer.cpp:799
#3 0x14b28dcf0737 in CodeBuffer::copy_code_to(CodeBlob*) src/hotspot/share/asm/codeBuffer.cpp:736
#4 0x14b28f6c38a0 in CodeBuffer::copy_code_and_locs_to(CodeBlob*) src/hotspot/share/asm/codeBuffer.hpp:707
#5 0x14b28f6c38a0 in nmethod::nmethod(Method*, CompilerType, int, int, int, int, unsigned char*, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, CompLevel, char*, int, JVMCINMethodData*) src/hotspot/share/code/nmethod.cpp:1529
#6 0x14b28f6c4de4 in nmethod::new_nmethod(methodHandle const&, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, CompLevel, char*, int, JVMCINMethodData*) src/hotspot/share/code/nmethod.cpp:1187
#7 0x14b28db0770b in ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, bool, bool, bool, int, RTMState) src/hotspot/share/ci/ciEnv.cpp:1119
#8 0x14b28d6d4df1 in Compilation::install_code(int) src/hotspot/share/c1/c1_Compilation.cpp:426
#9 0x14b28d6dac94 in Compilation::compile_method() src/hotspot/share/c1/c1_Compilation.cpp:488
#10 0x14b28d6db61a in Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*) src/hotspot/share/c1/c1_Compilation.cpp:609
#11 0x14b28d6deb08 in Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) src/hotspot/share/c1/c1_Compiler.cpp:260
#12 0x14b28ddcc024 in CompileBroker::invoke_compiler_on_method(CompileTask*) src/hotspot/share/compiler/compileBroker.cpp:2303
#13 0x14b28ddce5d6 in CompileBroker::compiler_thread_loop() src/hotspot/share/compiler/compileBroker.cpp:1961
... (rest of output omitted)
- backported by
-
JDK-8337877 ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
- Resolved
- links to
-
Commit openjdk/jdk/33fd6ae9
-
Commit(master) openjdk/jdk21u-dev/dac39de0
-
Review openjdk/jdk/19568
-
Review(master) openjdk/jdk21u-dev/894