Details
-
Bug
-
Resolution: Unresolved
-
P3
-
22, 23, 24
-
s390x
Description
PrintClasses.java test is failing on s390 headstream with JTREG="VM_OPTIONS=-XX:-TieredCompilation -Xcomp". It passes on ppc-le. With same JTREG parameters.
Log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/amit/head/jdk/src/hotspot/share/opto/graphKit.cpp:2505), pid=3795233, tid=3795250
# assert(call_addr != nullptr) failed: must not call null targets
#
# JRE version: OpenJDK Runtime Environment (23.0) (fastdebug build 23-internal-adhoc.amit.jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 23-internal-adhoc.amit.jdk, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
# Problematic frame:
# V [libjvm.so+0xa167b6] GraphKit::make_runtime_call(int, TypeFunc const*, unsigned char*, char const*, TypePtr const*, Node*, Node*, Node*, Node*, Node*, Node*, Node*, Node*)+0x42e
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/core.3795233)
#
# JFR recording file will be written. Location: /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/hs_err_pid3795233.jfr
#
# An error report file with more information is saved as:
# /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/hs_err_pid3795233.log
#
# Compiler replay data is saved as:
# /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/replay_pid3795233.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
BT:
Current CompileTask:
C2:40054 7066 b jdk.jfr.internal.event.EventWriterFactory::getEventWriter (29 bytes)
Stack: [0x000003ff6f900000,0x000003ff6fd00000], sp=0x000003ff6fcfb8c8, free space=4078k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xa167ae] GraphKit::make_runtime_call(int, TypeFunc const*, unsigned char*, char const*, TypePtr const*, Node*, Node*, Node*, Node*, Node*, Node*, Node*, Node*)+0x42e (graphKit.cpp:2505)
V [libjvm.so+0xddbede] LibraryCallKit::inline_native_getEventWriter()+0xe56 (library_call.cpp:3367)
V [libjvm.so+0xdeddc8] LibraryIntrinsic::generate(JVMState*)+0x1d8 (library_call.cpp:118)
V [libjvm.so+0x7e7d52] Parse::do_call()+0x312 (doCall.cpp:675)
V [libjvm.so+0x10b09ae] Parse::do_one_bytecode()+0x45e (parse2.cpp:2713)
V [libjvm.so+0x109f6a2] Parse::do_one_block()+0x42a (parse1.cpp:1604)
V [libjvm.so+0x10a08f4] Parse::do_all_blocks()+0x15c (parse1.cpp:721)
V [libjvm.so+0x10a43ec] Parse::Parse(JVMState*, ciMethod*, float)+0xb5c (parse1.cpp:625)
V [libjvm.so+0x50c01c] ParseGenerator::generate(JVMState*)+0x16c (callGenerator.cpp:99)
V [libjvm.so+0x6cad50] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1210 (compile.cpp:792)
V [libjvm.so+0x5095ca] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1b2 (c2compiler.cpp:142)
V [libjvm.so+0x6d81a6] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xce6 (compileBroker.cpp:2303)
V [libjvm.so+0x6d8caa] CompileBroker::compiler_thread_loop()+0x512 (compileBroker.cpp:1961)
V [libjvm.so+0xb36816] JavaThread::thread_main_inner()+0xfe (javaThread.cpp:759)
V [libjvm.so+0x13284a4] Thread::call_run()+0xc4 (thread.cpp:225)
V [libjvm.so+0x1050772] thread_native_entry(Thread*)+0x132 (os_linux.cpp:849)
Log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/amit/head/jdk/src/hotspot/share/opto/graphKit.cpp:2505), pid=3795233, tid=3795250
# assert(call_addr != nullptr) failed: must not call null targets
#
# JRE version: OpenJDK Runtime Environment (23.0) (fastdebug build 23-internal-adhoc.amit.jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 23-internal-adhoc.amit.jdk, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
# Problematic frame:
# V [libjvm.so+0xa167b6] GraphKit::make_runtime_call(int, TypeFunc const*, unsigned char*, char const*, TypePtr const*, Node*, Node*, Node*, Node*, Node*, Node*, Node*, Node*)+0x42e
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/core.3795233)
#
# JFR recording file will be written. Location: /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/hs_err_pid3795233.jfr
#
# An error report file with more information is saved as:
# /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/hs_err_pid3795233.log
#
# Compiler replay data is saved as:
# /home/amit/head/jdk/build/linux-s390x-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_PrintClasses_java/scratch/1/replay_pid3795233.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
BT:
Current CompileTask:
C2:40054 7066 b jdk.jfr.internal.event.EventWriterFactory::getEventWriter (29 bytes)
Stack: [0x000003ff6f900000,0x000003ff6fd00000], sp=0x000003ff6fcfb8c8, free space=4078k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xa167ae] GraphKit::make_runtime_call(int, TypeFunc const*, unsigned char*, char const*, TypePtr const*, Node*, Node*, Node*, Node*, Node*, Node*, Node*, Node*)+0x42e (graphKit.cpp:2505)
V [libjvm.so+0xddbede] LibraryCallKit::inline_native_getEventWriter()+0xe56 (library_call.cpp:3367)
V [libjvm.so+0xdeddc8] LibraryIntrinsic::generate(JVMState*)+0x1d8 (library_call.cpp:118)
V [libjvm.so+0x7e7d52] Parse::do_call()+0x312 (doCall.cpp:675)
V [libjvm.so+0x10b09ae] Parse::do_one_bytecode()+0x45e (parse2.cpp:2713)
V [libjvm.so+0x109f6a2] Parse::do_one_block()+0x42a (parse1.cpp:1604)
V [libjvm.so+0x10a08f4] Parse::do_all_blocks()+0x15c (parse1.cpp:721)
V [libjvm.so+0x10a43ec] Parse::Parse(JVMState*, ciMethod*, float)+0xb5c (parse1.cpp:625)
V [libjvm.so+0x50c01c] ParseGenerator::generate(JVMState*)+0x16c (callGenerator.cpp:99)
V [libjvm.so+0x6cad50] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1210 (compile.cpp:792)
V [libjvm.so+0x5095ca] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1b2 (c2compiler.cpp:142)
V [libjvm.so+0x6d81a6] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xce6 (compileBroker.cpp:2303)
V [libjvm.so+0x6d8caa] CompileBroker::compiler_thread_loop()+0x512 (compileBroker.cpp:1961)
V [libjvm.so+0xb36816] JavaThread::thread_main_inner()+0xfe (javaThread.cpp:759)
V [libjvm.so+0x13284a4] Thread::call_run()+0xc4 (thread.cpp:225)
V [libjvm.so+0x1050772] thread_native_entry(Thread*)+0x132 (os_linux.cpp:849)