JDK-8036595 : TestPromotionFailedEventWithDefNew.java crashed the VM (fastdebug) in MacOSX in PIT of JDK9_b04 because of assertion
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2014-03-04
  • Updated: 2014-03-04
  • Resolved: 2014-03-04
Related Reports
Duplicate :  
Description
The test crashed on MacOSX in PIT of JDK9_b04 (2014-03-01) with this error message:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/opt/jprt/T/P1/174631.amurillo/s/hotspot/src/share/vm/ci/ciMethodData.cpp:90), pid=93831, tid=20483
#  assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags 1 != 0
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-201402281746.amurillo.jdk9-hs-2014-02-28-b00)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b62-fastdebug mixed mode bsd-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

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

Current thread (0x00007fa32409b800):  JavaThread "C2 CompilerThread2" daemon [_thread_in_vm, id=20483, stack(0x0000000161006000,0x0000000161106000)]

Stack: [0x0000000161006000,0x0000000161106000],  sp=0x0000000161103930,  free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.dylib+0x8ae6e8]  VMError::report_and_die()+0x45e
V  [libjvm.dylib+0x2ffa85]  report_vm_error(char const*, int, char const*, char const*)+0x63
V  [libjvm.dylib+0x242287]  ciMethodData::load_extra_data()+0x14d
V  [libjvm.dylib+0x243335]  ciMethodData::load_data()+0x175
V  [libjvm.dylib+0x23d7ef]  ciMethod::ensure_method_data(methodHandle)+0x139
V  [libjvm.dylib+0x23d973]  ciMethod::ensure_method_data()+0x161
V  [libjvm.dylib+0x2aa428]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x5e0
V  [libjvm.dylib+0x20df57]  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x105
V  [libjvm.dylib+0x2b0665]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x651
V  [libjvm.dylib+0x2b3335]  CompileBroker::compiler_thread_loop()+0x32d
V  [libjvm.dylib+0x83e29f]  JavaThread::thread_main_inner()+0x185
V  [libjvm.dylib+0x840c92]  JavaThread::run()+0x2a2
V  [libjvm.dylib+0x702995]  java_start(Thread*)+0x105
C  [libsystem_c.dylib+0x147a2]  _pthread_start+0x147
C  [libsystem_c.dylib+0x11e1]  thread_start+0xd


Current CompileTask:
C2:    941   62   !   4       sun.reflect.generics.parser.SignatureParser::current (40 bytes)

Priority justification:
Impact: High, crash
Likelihood: Low, only seen once
Workaround: High, none known, crash seems to happen during JIT compilation.

ILW = HLH => P2

RULE closed/com/oracle/jfr/gc/DetailedEventTest/TestPromotionFailedEventWithDefNew.java Crash Internal Error ...ciMethodData.cpp...assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags ... != ...