JDK-8197942 : Compiler crash in Node::add_out(Node*)+0x6f
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10.0.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2018-02-14
  • Updated: 2018-02-14
  • Resolved: 2018-02-14
Related Reports
Duplicate :  
Description
Current thread (0x00007fb9aa80d800):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=40963, stack(0x0000700003341000,0x0000700003441000)]


Current CompileTask:
C2: 358270 12257       4       com.sun.javatest.lib.FXProcessCommand::replaceSeparators (234 bytes)

Stack: [0x0000700003341000,0x0000700003441000],  sp=0x000070000343d7a0,  free space=1009k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.dylib+0x52e1cf]  Node::add_out(Node*)+0x6f
V  [libjvm.dylib+0x5cb44a]  Matcher::find_shared(Node*)+0x3b2
V  [libjvm.dylib+0x5ca3cc]  Matcher::match()+0x49c
V  [libjvm.dylib+0x2551ab]  Compile::Code_Gen()+0xad
V  [libjvm.dylib+0x253566]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x960
V  [libjvm.dylib+0x2555db]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x31
V  [libjvm.dylib+0x1d1bf4]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xd2
V  [libjvm.dylib+0x25f09d]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x557
V  [libjvm.dylib+0x25e933]  CompileBroker::compiler_thread_loop()+0x1c7
V  [libjvm.dylib+0x74550c]  JavaThread::thread_main_inner()+0x86
V  [libjvm.dylib+0x6327ef]  thread_native_entry(Thread*)+0x12b
C  [libsystem_pthread.dylib+0x36c1]  _pthread_body+0x154
C  [libsystem_pthread.dylib+0x356d]  _pthread_body+0x0
C  [libsystem_pthread.dylib+0x2c5d]  thread_start+0xd
C  0x0000000000000000

I was using the javatest harness to execute the javafxMedia test suite when the test harness crashed randomly a few times.
I do not have a reproducible test but the test suite execution at various point caused this crash.

Comments
This is most likely a duplicate of JDK-8196296 which was fixed in 10.0.1 b04. From the hs_err file it looks like you are using 10.0.1 b03, please verify with a later build and re-open if the crash is still reproducible.
14-02-2018