JDK-8231028 : ZGC: assert(Reachblock[slidx] != __null) failed: No reaching definition for liveout value #
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-09-14
  • Updated: 2019-10-03
  • Resolved: 2019-10-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14Resolved
Related Reports
Duplicate :  
Description
Test crashed with 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (open/src/hotspot/share/opto/reg_split.cpp:1282), pid=23199, tid=23227
#  assert(Reachblock[slidx] != __null) failed: No reaching definition for liveout value
#
# JRE version: Java(TM) SE Runtime Environment (14.0+15) (fastdebug build 14-ea+15-589)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+15-589, mixed mode, tiered, z gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x1534d07]  PhaseChaitin::Split(unsigned int, ResourceArea*)+0x4ec7
#
# Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/00f4d7f9-7805-4b6a-aef8-9bb130db2435-S1369/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b188b80e-99e8-47f8-9967-3faaef998c5b/runs/1b1c00ce-4851-4236-8309-507325357ca0/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/core.23199
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  S U M M A R Y ------------

Command Line: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -da:edu.cmu.graphchi... -da:java.util.logging... -XX:MaxRAMPercentage=50 -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/00f4d7f9-7805-4b6a-aef8-9bb130db2435-S1369/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b188b80e-99e8-47f8-9967-3faaef998c5b/runs/1b1c00ce-4851-4236-8309-507325357ca0/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/java.io.tmpdir -Duser.home=/scratch/opt/mach5/mesos/work_dir/slaves/00f4d7f9-7805-4b6a-aef8-9bb130db2435-S1369/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b188b80e-99e8-47f8-9967-3faaef998c5b/runs/1b1c00ce-4851-4236-8309-507325357ca0/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/user.home applications.kitchensink.process.stress.Main /scratch/opt/mach5/mesos/work_dir/slaves/00f4d7f9-7805-4b6a-aef8-9bb130db2435-S1369/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b188b80e-99e8-47f8-9967-3faaef998c5b/runs/1b1c00ce-4851-4236-8309-507325357ca0/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/kitchensink.final.properties

Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 8 cores, 59G, Oracle Linux Server release 7.6
Time: Sat Sep 14 18:23:53 2019 UTC elapsed time: 6902 seconds (0d 1h 55m 2s)

---------------  T H R E A D  ---------------

Current thread (0x00007f4fc82a5620):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23227, stack(0x00007f4fa84cd000,0x00007f4fa85ce000)]


Current CompileTask:
C2:6902657 236216   !   4       org.apache.xalan.transformer.TransformerImpl::applyTemplateToNode (577 bytes)

Stack: [0x00007f4fa84cd000,0x00007f4fa85ce000],  sp=0x00007f4fa85c8c80,  free space=1007k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1534d07]  PhaseChaitin::Split(unsigned int, ResourceArea*)+0x4ec7
V  [libjvm.so+0x8788f4]  PhaseChaitin::Register_Allocate()+0x554
V  [libjvm.so+0x9d51ab]  Compile::Code_Gen()+0x32b
V  [libjvm.so+0x9d977a]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x117a
V  [libjvm.so+0x81c10d]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
V  [libjvm.so+0x9e5db2]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2d2
V  [libjvm.so+0x9e6ca8]  CompileBroker::compiler_thread_loop()+0x3b8
V  [libjvm.so+0x16f04d6]  JavaThread::thread_main_inner()+0x226
V  [libjvm.so+0x16f58c6]  Thread::call_run()+0xf6
V  [libjvm.so+0x141585e]  thread_native_entry(Thread*)+0x10e

Register to memory mapping:

RAX=0x00007f4fcf3fc000 points into unknown readable memory: 58 00 00 00 00 00 00 00
RBX=0x000000000000063a is an unknown value
RCX=0x00007f4fce2fad30: <offset 0x00000000019ccd30> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+15-589/linux-x64-debug.jdk/jdk-14/fastdebug/lib/server/libjvm.so at 0x00007f4fcc92e000
RDX=0x00007f4fce2fad60: <offset 0x00000000019ccd60> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+15-589/linux-x64-debug.jdk/jdk-14/fastdebug/lib/server/libjvm.so at 0x00007f4fcc92e000
RSP=0x00007f4fa85c8c80 is pointing into the stack for thread: 0x00007f4fc82a5620
RBP=0x00007f4fa85c9020 is pointing into the stack for thread: 0x00007f4fc82a5620
RSI=0x0000000000000502 is an unknown value
RDI=0x00007f4fce2fa710: <offset 0x00000000019cc710> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+15-589/linux-x64-debug.jdk/jdk-14/fastdebug/lib/server/libjvm.so at 0x00007f4fcc92e000
R8 =0x00007f4d5ac65be0 points into unknown readable memory: f1 f1 f1 f1 f1 f1 f1 f1
R9 =0x0 is NULL
R10=0x0 is NULL
R11=0x0 is NULL
R12=0x000000000000005c is an unknown value
R13=0x00007f4fa85c9640 is pointing into the stack for thread: 0x00007f4fc82a5620
R14=0x00007f4d5ac04260 points into unknown readable memory: 30 69 6b ce 4f 7f 00 00
R15=0x00007f4fa85c9530 is pointing into the stack for thread: 0x00007f4fc82a5620


Registers:
RAX=0x00007f4fcf3fc000, RBX=0x000000000000063a, RCX=0x00007f4fce2fad30, RDX=0x00007f4fce2fad60
RSP=0x00007f4fa85c8c80, RBP=0x00007f4fa85c9020, RSI=0x0000000000000502, RDI=0x00007f4fce2fa710
R8 =0x00007f4d5ac65be0, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000000
R12=0x000000000000005c, R13=0x00007f4fa85c9640, R14=0x00007f4d5ac04260, R15=0x00007f4fa85c9530
RIP=0x00007f4fcde62d07, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f4fa85c8c80)
0x00007f4fa85c8c80:   00007f4c00f851f0 00007f4fa85c8f30
0x00007f4fa85c8c90:   000000000000005e 00000000000002f0
0x00007f4fa85c8ca0:   000000000000005d 00000000000002e8
0x00007f4fa85c8cb0:   0000005ea85c8cc0 000000000000005c 

Instructions: (pc=0x00007f4fcde62d07)
0x00007f4fcde62c07:   8b 85 b8 fe ff ff 48 89 45 98 48 8b 85 c0 fe ff
0x00007f4fcde62c17:   ff 48 89 45 a0 8b 85 f0 fd ff ff 50 41 0f b6 c5
0x00007f4fcde62c27:   41 57 6a 00 50 8b 85 4c fe ff ff 50 e8 18 99 ff
0x00007f4fcde62c37:   ff 48 83 c4 30 4c 89 ff 89 85 4c fe ff ff e8 86
0x00007f4fcde62c47:   15 00 00 44 8b 85 4c fe ff ff 45 85 c0 0f 84 d3
0x00007f4fcde62c57:   e1 ff ff 83 c3 01 48 8b 85 30 fe ff ff 44 8b 48
0x00007f4fcde62c67:   40 45 85 c9 0f 85 77 fe ff ff 3b 1c 25 18 00 00
0x00007f4fcde62c77:   00 0f 83 e9 08 00 00 48 8b 85 40 fe ff ff 4c 8b
0x00007f4fcde62c87:   60 58 31 c0 e9 73 fe ff ff 89 85 30 fe ff ff 48
0x00007f4fcde62c97:   8d 05 63 67 8a 00 be a0 01 00 00 48 8d 0d b7 4f
0x00007f4fcde62ca7:   4d 00 48 8d 15 78 ad 3a 00 48 8d 3d a9 ad 3a 00
0x00007f4fcde62cb7:   4c 89 8d 18 fe ff ff 48 8b 00 c6 00 58 31 c0 e8
0x00007f4fcde62cc7:   15 12 56 ff e8 d0 85 ed ff 4c 8b 8d 18 fe ff ff
0x00007f4fcde62cd7:   44 8b 85 30 fe ff ff e9 6b fb ff ff 48 8d 05 16
0x00007f4fcde62ce7:   67 8a 00 48 8d 0d 3f 80 49 00 48 8d 15 68 80 49
0x00007f4fcde62cf7:   00 be 02 05 00 00 48 8d 3d 0c 7a 49 00 48 8b 00
0x00007f4fcde62d07:   c6 00 58 31 c0 e8 cf 11 56 ff e8 8a 85 ed ff e9
0x00007f4fcde62d17:   07 fa ff ff 48 8d 05 de 66 8a 00 48 8d 0d a7 7f
0x00007f4fcde62d27:   49 00 48 8d 15 c8 7f 49 00 be fd 04 00 00 48 8d
0x00007f4fcde62d37:   3d d4 79 49 00 48 8b 00 c6 00 58 31 c0 e8 97 11
0x00007f4fcde62d47:   56 ff e8 52 85 ed ff e9 d7 fa ff ff 48 8d 05 a6
0x00007f4fcde62d57:   66 8a 00 48 8d 0d f7 7e 49 00 48 8d 15 bd 8b 51
0x00007f4fcde62d67:   00 be 9f 04 00 00 48 8d 3d 9c 79 49 00 48 8b 00
0x00007f4fcde62d77:   c6 00 58 31 c0 e8 5f 11 56 ff e8 1a 85 ed ff e9
0x00007f4fcde62d87:   74 e5 ff ff 4c 89 ee 4c 89 f7 e8 6a fd 0b ff e9
0x00007f4fcde62d97:   71 b5 ff ff 48 8d 1d be 68 97 00 41 8b 96 8c 00
0x00007f4fcde62da7:   00 00 31 c0 45 31 ed 48 8d 35 34 98 52 00 4c 8d
0x00007f4fcde62db7:   25 3b 98 52 00 48 8b 3b e8 ac 2c ef ff 48 8b 3b
0x00007f4fcde62dc7:   48 8d 35 b2 7b 49 00 31 c0 e8 9b 2c ef ff 4c 89
0x00007f4fcde62dd7:   b5 40 fe ff ff 4c 8b b5 f8 fd ff ff 4c 89 bd 38
0x00007f4fcde62de7:   fe ff ff 4c 8b bd f0 fd ff ff eb 26 0f 1f 44 00
0x00007f4fcde62df7:   00 48 8b 0b 31 d2 48 8d 35 b6 c5 4d 00 e8 b7 73 


Stack slot to memory mapping:
stack at sp + 0 slots: 0x00007f4c00f851f0 points into unknown readable memory: 00 00 00 00 00 00 00 00
stack at sp + 1 slots: 0x00007f4fa85c8f30 is pointing into the stack for thread: 0x00007f4fc82a5620
stack at sp + 2 slots: 0x000000000000005e is an unknown value
stack at sp + 3 slots: 0x00000000000002f0 is an unknown value
stack at sp + 4 slots: 0x000000000000005d is an unknown value
stack at sp + 5 slots: 0x00000000000002e8 is an unknown value
stack at sp + 6 slots: 0x0000005ea85c8cc0 is an unknown value
stack at sp + 7 slots: 0x000000000000005c is an unknown value
Comments
JDK-8230565 (currently in progress) will completely re-write the C2 load barriers, which will make this issue void. Should this happen again (after JDK-8230565 has been pushed) it's highly unlikely that this is caused by ZGC, but more likely a general C2 issue.
03-10-2019