JDK 25 |
---|
25Resolved |
Blocks :
|
|
Blocks :
|
|
Duplicate :
|
|
Relates :
|
The following test failed in the JDK21 CI: applications/kitchensink/Kitchensink.java Here's a snippet from the log file: [2023-02-13T03:48:04.177560956Z] Gathering output for process 368870 [2023-02-13T03:48:10.366975074Z] Waiting for completion for process 368870 [2023-02-13T03:48:10.367574516Z] Waiting for completion finished for process 368870 Output and diagnostic info for process 368870 was saved into 'pid-368870-output.log' [stress.process.out] # [stress.process.out] # A fatal error has been detected by the Java Runtime Environment: [stress.process.out] # [stress.process.out] # Internal Error (/opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S115958/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d33156e2-7f16-4ec2-b8c1-417dd13cf6b9/runs/14ec3492-7550-4e7a-a6a2-ecca47ce0ffd/workspace/open/src/hotspot/share/oops/method.cpp:364), pid=365129, tid=365229 [stress.process.out] # assert((is_native() && bci == 0) || (!is_native() && 0 <= bci && bci < code_size())) failed: illegal bci: 0 for non-native method [stress.process.out] # [stress.process.out] # JRE version: Java(TM) SE Runtime Environment (21.0+10) (fastdebug build 21-ea+10-LTS-732) [stress.process.out] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+10-LTS-732, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-aarch64) [stress.process.out] # Problematic frame: [stress.process.out] # V [libjvm.so+0x1418518] Method::bcp_from(int) const+0x74 [stress.process.out] # [stress.process.out] # 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/0c72054a-24ab-4dbb-944f-97f9341a1b96-S139143/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c1354abf-61a1-4c38-b27d-37fe7f5e43d3/runs/97979103-550d-420c-980a-60a037689058/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/core.365129) [stress.process.out] # [stress.process.out] # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S139143/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c1354abf-61a1-4c38-b27d-37fe7f5e43d3/runs/97979103-550d-420c-980a-60a037689058/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid365129.jfr [stress.process.out] # [stress.process.out] Unsupported internal testing APIs have been used. [stress.process.out] [stress.process.out] # An error report file with more information is saved as: [stress.process.out] # /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S139143/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c1354abf-61a1-4c38-b27d-37fe7f5e43d3/runs/97979103-550d-420c-980a-60a037689058/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid365129.log [stress.process.out] [thread 365180 also had an error] [stress.process.out] [thread 369572 also had an error] [stress.process.out] # [stress.process.out] # If you would like to submit a bug report, please visit: [stress.process.out] # https://bugreport.java.com/bugreport/crash.jsp [stress.process.out] # [2023-02-13T03:49:10.372692689Z] Gathering output for process 369577 [2023-02-13T03:49:10.380694914Z] Waiting for completion for process 369577 [2023-02-13T03:49:10.380823315Z] Waiting for completion finished for process 369577 Here's the crashing thread's stack: --------------- T H R E A D --------------- Current thread (0x0000fffd002e3e70): JfrThreadSampler "JFR Thread Sampler" [stack: 0x0000fffc95f6f000,0x0000fffc9616f000] [id=365229] _threads_hazard_ptr=0x0000fffc84089b10, _nested_threads_hazard_ptr_cnt=0 Stack: [0x0000fffc95f6f000,0x0000fffc9616f000], sp=0x0000fffc9616c8b0, free space=2038k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x1418518] Method::bcp_from(int) const+0x74 (method.cpp:364) V [libjvm.so+0x1418658] Method::validate_bci_from_bcp(unsigned char*) const+0x78 (method.cpp:359) V [libjvm.so+0xbfae0c] frame::is_interpreted_frame_valid(JavaThread*) const+0x2bc (frame_aarch64.cpp:528) V [libjvm.so+0xf093e4] JfrGetCallTrace::find_top_frame(frame&, Method**, frame&)+0xe4 (jfrCallTrace.cpp:55) V [libjvm.so+0xf09e50] JfrGetCallTrace::get_topframe(void*, frame&)+0x80 (jfrCallTrace.cpp:113) V [libjvm.so+0xfbce08] OSThreadSampler::protected_task(SuspendedThreadTaskContext const&)+0x178 (jfrThreadSampler.cpp:192) V [libjvm.so+0x16cd384] SuspendedThreadTask::internal_do_task()+0x44 (signals_posix.cpp:1836) V [libjvm.so+0x17b1d44] SuspendedThreadTask::run()+0x14 (suspendedThreadTask.cpp:30) V [libjvm.so+0xfbcf6c] JfrThreadSampleClosure::sample_thread_in_java(JavaThread*, JfrStackFrame*, unsigned int)+0x78 (jfrThreadSampler.cpp:209) V [libjvm.so+0xfbded8] JfrThreadSampleClosure::do_sample_thread(JavaThread*, JfrStackFrame*, unsigned int, JfrSampleType)+0x3e8 (jfrThreadSampler.cpp:407) V [libjvm.so+0xfc20c4] JfrThreadSampler::task_stacktrace(JfrSampleType, JavaThread**) [clone .constprop.1]+0x244 (jfrThreadSampler.cpp:624) V [libjvm.so+0xfc2a68] JfrThreadSampler::run()+0x1c8 (jfrThreadSampler.cpp:558) V [libjvm.so+0x1818338] Thread::call_run()+0xf8 (thread.cpp:224) V [libjvm.so+0x152e764] thread_native_entry(Thread*)+0x100 (os_linux.cpp:737) C [libc.so.6+0x86478] start_thread+0x2d4
|