JDK-8207845 : sun/nio/cs/FindEncoderBugs.java fails: assert(store->find_edge(load) != -1) failed: missing precedence edge
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-07-19
  • Updated: 2018-07-19
  • Resolved: 2018-07-19
Related Reports
Duplicate :  
Relates :  
Description
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/builddir/build/BUILD/jdk/src/hotspot/share/opto/gcm.cpp:752), pid=487605, tid=487620
#  assert(store->find_edge(load) != -1) failed: missing precedence edge
#
# JRE version: OpenJDK Runtime Environment (11.0) (fastdebug build 11-internal+0-Tw11r1b0)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11-internal+0-Tw11r1b0, mixed mode, tiered, compressed oops, concurrent mark sweep gc, linux-amd64)
# Core dump will be written. Default location: /data/jenkins/workspace/jdk11-centos7-fastdebug/jdk/test/testoutput/jdk_core/JTwork/scratch/0/core.487605
#
# 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: -XX:MaxRAMPercentage=6 -ea -esa -Xmx512m -XX:+UseConcMarkSweepGC -XX:+UseConcMarkSweepGC -Djava.library.path=/data/jenkins/workspace/jdk11-centos7-fastdebug/build/ima
ges/test/jdk/jtreg/native --patch-module=java.base=/data/jenkins/workspace/jdk11-centos7-fastdebug/jdk/test/testoutput/jdk_core/JTwork/patches/java.base -Djava.security.policy=file
:/data/jenkins/workspace/jdk11-centos7-fastdebug/jdk/test/testoutput/jdk_core/JTwork/jtreg.policy com.sun.javatest.regtest.agent.AgentServer -allowSetSecurityManager -port 33925

Host: XXX, Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz, 56 cores, 125G, Nest Enterprise Linux release 7.4.1708 (Core) 
Time: Thu Jul 19 02:42:18 2018 UTC elapsed time: 4101 seconds (0d 1h 8m 21s)

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

Current thread (0x00007f9cc460d800):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=487620, stack(0x00007f9c9eb71000,0x00007f9c9ec72000)]


Current CompileTask:
C2:4101739 18043   !   4       sun.nio.cs.UnicodeEncoder::encodeLoop (207 bytes)

Stack: [0x00007f9c9eb71000,0x00007f9c9ec72000],  sp=0x00007f9c9ec6ced0,  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+0x180aa01]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x161
V  [libjvm.so+0x180b9e7]  VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x47
V  [libjvm.so+0xb26c09]  report_vm_error(char const*, int, char const*, char const*, ...)+0x109
V  [libjvm.so+0xd8351f]  PhaseCFG::insert_anti_dependences(Block*, Node*, bool)+0x187f
V  [libjvm.so+0x717179]  PhaseCFG::verify() const+0x469
V  [libjvm.so+0xa48ec2]  Compile::Code_Gen()+0x382
V  [libjvm.so+0xa4db8a]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x14ba
V  [libjvm.so+0x87ae8b]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x12b
V  [libjvm.so+0xa5b357]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x387
V  [libjvm.so+0xa5c118]  CompileBroker::compiler_thread_loop()+0x358
V  [libjvm.so+0x1760c87]  JavaThread::thread_main_inner()+0x267
V  [libjvm.so+0x1760ed2]  JavaThread::run()+0x182
V  [libjvm.so+0x148e062]  thread_native_entry(Thread*)+0x112

Comments
Ahh, no, it's not. We are stuck at jdk-11+20. Sorry, I should have searched for the error message. Closing as duplicate.
19-07-2018

[~twisti], is this a build with recent sources? If not, I would say it's a duplicate of JDK-8205999.
19-07-2018

I also have a core and replay file but the core is pretty big: $ ls -lh total 2.6G -rw------- 1 jenkins jenkins 2.6G Jul 19 02:42 core.487605 -rw-rw-r-- 1 jenkins jenkins 115K Jul 19 02:42 hs_err_pid487605.log -rw-rw-r-- 1 jenkins jenkins 349K Jul 19 02:42 replay_pid487605.log
19-07-2018