-
Bug
-
Resolution: Duplicate
-
P2
-
17
The following test failed in the JDK17 CI:
applications/kitchensink/Kitchensink.java
Here's a snippet from the log file:
Iteration start: MemAccess at Mon Jun 07 15:13:41 UTC 2021
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/library_call.cpp:4462
The tail of stress stdout is:
For random generator using seed: -6157533191544220721
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-6157533191544220721" to command line.
Stress process main method is started.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79134/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/60083dd7-dace-40c7-88ff-7d671f4e08ee/runs/0bd8516f-8a0d-4af6-a099-69f506e554db/workspace/open/src/hotspot/share/opto/library_call.cpp:4462), pid=10918, tid=15401
# assert(_gvn.hash_find(prev_cast) != __null) failed: not found
#
# JRE version: Java(TM) SE Runtime Environment (17.0+26) (fastdebug build 17-ea+26-LTS-2327)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+26-LTS-2327, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12533d1] LibraryCallKit::arraycopy_move_allocation_here(AllocateArrayNode*, Node*, JVMState*, int, unsigned int) [clone .part.0]+0xcd1
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/core.10918)
#
# JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid10918.jfr
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid10918.log
#
# Compiler replay data is saved as:
# /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/replay_pid10918.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(167/16464)----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x00007f57a4230a20): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=15401, stack(0x00007f5659bf8000,0x00007f5659cf9000)]
Current CompileTask:
C2: 378001 28870 4 java.nio.charset.CharsetEncoder::<init> (105 bytes)
Stack: [0x00007f5659bf8000,0x00007f5659cf9000], sp=0x00007f5659cf4890, free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x12533d1] LibraryCallKit::arraycopy_move_allocation_here(AllocateArrayNode*, Node*, JVMState*, int, unsigned int) [clone .part.0]+0xcd1
V [libjvm.so+0x12681d2] LibraryCallKit::inline_arraycopy()+0x302
V [libjvm.so+0x1280cc2] LibraryIntrinsic::generate(JVMState*)+0x3f2
V [libjvm.so+0xb792cf] Parse::do_call()+0x38f
V [libjvm.so+0x15e0568] Parse::do_one_bytecode()+0x428
V [libjvm.so+0x15ce189] Parse::do_one_block()+0x619
V [libjvm.so+0x15cf0a1] Parse::do_all_blocks()+0x121
V [libjvm.so+0x15d3b25] Parse::Parse(JVMState*, ciMethod*, float)+0xb85
V [libjvm.so+0x84bf80] ParseGenerator::generate(JVMState*)+0x110
V [libjvm.so+0xb792cf] Parse::do_call()+0x38f
V [libjvm.so+0x15e0568] Parse::do_one_bytecode()+0x428
V [libjvm.so+0x15ce189] Parse::do_one_block()+0x619
V [libjvm.so+0x15cf0a1] Parse::do_all_blocks()+0x121
V [libjvm.so+0x15d3b25] Parse::Parse(JVMState*, ciMethod*, float)+0xb85
V [libjvm.so+0x84bf80] ParseGenerator::generate(JVMState*)+0x110
V [libjvm.so+0xb792cf] Parse::do_call()+0x38f
V [libjvm.so+0x15e0568] Parse::do_one_bytecode()+0x428
V [libjvm.so+0x15ce189] Parse::do_one_block()+0x619
V [libjvm.so+0x15cf0a1] Parse::do_all_blocks()+0x121
V [libjvm.so+0x15d3b25] Parse::Parse(JVMState*, ciMethod*, float)+0xb85
V [libjvm.so+0x84bf80] ParseGenerator::generate(JVMState*)+0x110
V [libjvm.so+0xa24872] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1352
V [libjvm.so+0x84931a] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1ea
V [libjvm.so+0xa35469] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfb9
V [libjvm.so+0xa361d8] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x18b3b71] JavaThread::thread_main_inner()+0x271
V [libjvm.so+0x18bb770] Thread::call_run()+0x100
V [libjvm.so+0x158878e] thread_native_entry(Thread*)+0x10e
applications/kitchensink/Kitchensink.java
Here's a snippet from the log file:
Iteration start: MemAccess at Mon Jun 07 15:13:41 UTC 2021
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/library_call.cpp:4462
The tail of stress stdout is:
For random generator using seed: -6157533191544220721
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-6157533191544220721" to command line.
Stress process main method is started.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79134/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/60083dd7-dace-40c7-88ff-7d671f4e08ee/runs/0bd8516f-8a0d-4af6-a099-69f506e554db/workspace/open/src/hotspot/share/opto/library_call.cpp:4462), pid=10918, tid=15401
# assert(_gvn.hash_find(prev_cast) != __null) failed: not found
#
# JRE version: Java(TM) SE Runtime Environment (17.0+26) (fastdebug build 17-ea+26-LTS-2327)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+26-LTS-2327, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x12533d1] LibraryCallKit::arraycopy_move_allocation_here(AllocateArrayNode*, Node*, JVMState*, int, unsigned int) [clone .part.0]+0xcd1
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/core.10918)
#
# JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid10918.jfr
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid10918.log
#
# Compiler replay data is saved as:
# /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79371/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5a3b161c-a3be-44f1-9db5-0321d198107c/runs/ad168243-596e-480e-bfcf-27886fc1e6e3/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/replay_pid10918.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(167/16464)----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x00007f57a4230a20): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=15401, stack(0x00007f5659bf8000,0x00007f5659cf9000)]
Current CompileTask:
C2: 378001 28870 4 java.nio.charset.CharsetEncoder::<init> (105 bytes)
Stack: [0x00007f5659bf8000,0x00007f5659cf9000], sp=0x00007f5659cf4890, free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x12533d1] LibraryCallKit::arraycopy_move_allocation_here(AllocateArrayNode*, Node*, JVMState*, int, unsigned int) [clone .part.0]+0xcd1
V [libjvm.so+0x12681d2] LibraryCallKit::inline_arraycopy()+0x302
V [libjvm.so+0x1280cc2] LibraryIntrinsic::generate(JVMState*)+0x3f2
V [libjvm.so+0xb792cf] Parse::do_call()+0x38f
V [libjvm.so+0x15e0568] Parse::do_one_bytecode()+0x428
V [libjvm.so+0x15ce189] Parse::do_one_block()+0x619
V [libjvm.so+0x15cf0a1] Parse::do_all_blocks()+0x121
V [libjvm.so+0x15d3b25] Parse::Parse(JVMState*, ciMethod*, float)+0xb85
V [libjvm.so+0x84bf80] ParseGenerator::generate(JVMState*)+0x110
V [libjvm.so+0xb792cf] Parse::do_call()+0x38f
V [libjvm.so+0x15e0568] Parse::do_one_bytecode()+0x428
V [libjvm.so+0x15ce189] Parse::do_one_block()+0x619
V [libjvm.so+0x15cf0a1] Parse::do_all_blocks()+0x121
V [libjvm.so+0x15d3b25] Parse::Parse(JVMState*, ciMethod*, float)+0xb85
V [libjvm.so+0x84bf80] ParseGenerator::generate(JVMState*)+0x110
V [libjvm.so+0xb792cf] Parse::do_call()+0x38f
V [libjvm.so+0x15e0568] Parse::do_one_bytecode()+0x428
V [libjvm.so+0x15ce189] Parse::do_one_block()+0x619
V [libjvm.so+0x15cf0a1] Parse::do_all_blocks()+0x121
V [libjvm.so+0x15d3b25] Parse::Parse(JVMState*, ciMethod*, float)+0xb85
V [libjvm.so+0x84bf80] ParseGenerator::generate(JVMState*)+0x110
V [libjvm.so+0xa24872] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1352
V [libjvm.so+0x84931a] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1ea
V [libjvm.so+0xa35469] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xfb9
V [libjvm.so+0xa361d8] CompileBroker::compiler_thread_loop()+0x5a8
V [libjvm.so+0x18b3b71] JavaThread::thread_main_inner()+0x271
V [libjvm.so+0x18bb770] Thread::call_run()+0x100
V [libjvm.so+0x158878e] thread_native_entry(Thread*)+0x10e
- duplicates
-
JDK-8268301 Closed test: compiler/c2/6371167/Test.java fails after JDK-8267904
- Closed
- relates to
-
JDK-8267904 C2 crash when compile negative Arrays.copyOf length after loop
- Closed
-
JDK-8268301 Closed test: compiler/c2/6371167/Test.java fails after JDK-8267904
- Closed
-
JDK-8268362 [REDO] C2 crash when compile negative Arrays.copyOf length after loop
- Closed