-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 23, 24
-
b24
-
s390x
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8344404 | 21.0.6 | Amit Kumar | P4 | Resolved | Fixed | b04 |
When enabled UBSAN and fired up tier1, on s390x, you will see multiple test failures with this error:
bt:
/home/amit/ubsan/jdk/src/hotspot/cpu/s390/s390.ad:2550:20: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type ‘long int'
#0 0x3ff8e49009b in State::_sub_Op_ConL(Node const*) /home/amit/ubsan/jdk/src/hotspot/cpu/s390/s390.ad:2550
#1 0x3ff8e4b38c9 in State::DFA(int, Node const*) /home/amit/ubsan/jdk/make/hotspot/dfa_s390.cpp:11680
#2 0x3ff8f667853 in Matcher::Label_Root(Node const*, State*, Node*, Node*&) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1752
#3 0x3ff8f667a2d in Matcher::Label_Root(Node const*, State*, Node*, Node*&) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1746
#4 0x3ff8f668ef3 in Matcher::match_tree(Node const*) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1548
#5 0x3ff8f6751ab in Matcher::xform(Node*, int) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1158
#6 0x3ff8f67c8e3 in Matcher::match() /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:368
#7 0x3ff8e28a529 in Compile::Code_Gen() /home/amit/ubsan/jdk/src/hotspot/share/opto/compile.cpp:2935
#8 0x3ff8e294219 in Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*) /home/amit/ubsan/jdk/src/hotspot/share/opto/compile.cpp:885
#9 0x3ff8ddf6f33 in C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) /home/amit/ubsan/jdk/src/hotspot/share/opto/c2compiler.cpp:142
#10 0x3ff8e2b22b3 in CompileBroker::invoke_compiler_on_method(CompileTask*) /home/amit/ubsan/jdk/src/hotspot/share/compiler/compileBroker.cpp:2303
#11 0x3ff8e2b3f3d in CompileBroker::compiler_thread_loop() /home/amit/ubsan/jdk/src/hotspot/share/compiler/compileBroker.cpp:1961
#12 0x3ff8ed01181 in JavaThread::thread_main_inner() /home/amit/ubsan/jdk/src/hotspot/share/runtime/javaThread.cpp:759
#13 0x3ff901169c9 in Thread::call_run() /home/amit/ubsan/jdk/src/hotspot/share/runtime/thread.cpp:234
#14 0x3ff8fa105e7 in thread_native_entry /home/amit/ubsan/jdk/src/hotspot/os/linux/os_linux.cpp:858
#15 0x3ff93316295 in start_thread nptl/pthread_create.c:442
#16 0x3ff9338ff8d (/lib/s390x-linux-gnu/libc.so.6+0x10ff8d)
bt:
/home/amit/ubsan/jdk/src/hotspot/cpu/s390/s390.ad:2550:20: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type ‘long int'
#0 0x3ff8e49009b in State::_sub_Op_ConL(Node const*) /home/amit/ubsan/jdk/src/hotspot/cpu/s390/s390.ad:2550
#1 0x3ff8e4b38c9 in State::DFA(int, Node const*) /home/amit/ubsan/jdk/make/hotspot/dfa_s390.cpp:11680
#2 0x3ff8f667853 in Matcher::Label_Root(Node const*, State*, Node*, Node*&) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1752
#3 0x3ff8f667a2d in Matcher::Label_Root(Node const*, State*, Node*, Node*&) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1746
#4 0x3ff8f668ef3 in Matcher::match_tree(Node const*) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1548
#5 0x3ff8f6751ab in Matcher::xform(Node*, int) /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:1158
#6 0x3ff8f67c8e3 in Matcher::match() /home/amit/ubsan/jdk/src/hotspot/share/opto/matcher.cpp:368
#7 0x3ff8e28a529 in Compile::Code_Gen() /home/amit/ubsan/jdk/src/hotspot/share/opto/compile.cpp:2935
#8 0x3ff8e294219 in Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*) /home/amit/ubsan/jdk/src/hotspot/share/opto/compile.cpp:885
#9 0x3ff8ddf6f33 in C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) /home/amit/ubsan/jdk/src/hotspot/share/opto/c2compiler.cpp:142
#10 0x3ff8e2b22b3 in CompileBroker::invoke_compiler_on_method(CompileTask*) /home/amit/ubsan/jdk/src/hotspot/share/compiler/compileBroker.cpp:2303
#11 0x3ff8e2b3f3d in CompileBroker::compiler_thread_loop() /home/amit/ubsan/jdk/src/hotspot/share/compiler/compileBroker.cpp:1961
#12 0x3ff8ed01181 in JavaThread::thread_main_inner() /home/amit/ubsan/jdk/src/hotspot/share/runtime/javaThread.cpp:759
#13 0x3ff901169c9 in Thread::call_run() /home/amit/ubsan/jdk/src/hotspot/share/runtime/thread.cpp:234
#14 0x3ff8fa105e7 in thread_native_entry /home/amit/ubsan/jdk/src/hotspot/os/linux/os_linux.cpp:858
#15 0x3ff93316295 in start_thread nptl/pthread_create.c:442
#16 0x3ff9338ff8d (/lib/s390x-linux-gnu/libc.so.6+0x10ff8d)
- backported by
-
JDK-8344404 [s390x] multiple test failures with ubsan
- Resolved
- links to
-
Commit(master) openjdk/jdk21u-dev/fe41d0a2
-
Commit(master) openjdk/jdk/f6edfe58
-
Review(master) openjdk/jdk21u-dev/1157
-
Review(master) openjdk/jdk/21864