JDK-8027216 : Crash in Symbol::as_klass_external_name on OSX
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs25
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2013-10-24
  • Updated: 2013-10-24
  • Resolved: 2013-10-24
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.
Other
hs25Resolved
Related Reports
Duplicate :  
Description
This crash was observed running a JPRT hotspot job testing jbb on OSX:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000010879dd14, pid=53609, tid=28691
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b112) (build 1.8.0-ea-b112)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b56-internal-201310240438.daholme.hotspot mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x4dfd14]  Symbol::as_klass_external_name() const+0xa
#
# Core dump written. Default location: /cores/core or core.53609
#
# 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 (0x00007fc8abea4800):  JavaThread "Thread-1" [_thread_in_vm, id=28691, stack(0x00000001358dc000,0x00000001359dc000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000134ac902800

Registers:
RAX=0x2f81e802557a07f3, RBX=0x00000134ac902800, RCX=0x00007fc8ab300700, RDX=0x000000012720ada0
RSP=0x00000001359db540, RBP=0x00000001359db550, RSI=0x000000012720ada0, RDI=0x00000134ac902800
R8 =0x0000000000000005, R9 =0x00000000568d407a, R10=0x0000000108b20470, R11=0x00000000568d407a
R12=0x0000000000000000, R13=0x0000000134f1237e, R14=0x00000001359db6a8, R15=0x00007fc8abea4800
RIP=0x000000010879dd14, EFLAGS=0x0000000000010206, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00000001359db540)
0x00000001359db540:   0000000800000037 00000001359db6a8
0x00000001359db550:   00000001359db5b0 00000001086311e3
0x00000001359db560:   00000001359db600 00000001084965f1
0x00000001359db570:   00000001359db610 000000010936a045
0x00000001359db580:   0000000109369ed0 2f81e802557a07f3
0x00000001359db590:   00007fc8abea4800 0000000000000000
0x00000001359db5a0:   00000001359db6a8 00007fc8abea4800
0x00000001359db5b0:   00000001359db610 0000000108578df1
0x00000001359db5c0:   00007fc8ab30f308 00007fc8ab11d3c0
0x00000001359db5d0:   00007fc8ab300400 00007fc8ab300410
0x00000001359db5e0:   00007fc8ab3007e8 00000000000003d8
0x00000001359db5f0:   00007fc8abea4800 00007fc8abea4800
0x00000001359db600:   0000000800000037 00000001359db6a8
0x00000001359db610:   00000001359db678 000000010933f6ed
0x00000001359db620:   000000010933f6ab 0000000000000001
0x00000001359db630:   000000011993a470 00000001359db628
0x00000001359db640:   0000000134f1237e 00000001359db6a8
0x00000001359db650:   0000000134f21528 0000000134f5c768
0x00000001359db660:   0000000134f123a8 0000000000000000
0x00000001359db670:   00000001359db6b0 00000000233d8647
0x00000001359db680:   00000001096d43d0 0000000000000000
0x00000001359db690:   0000000000000000 0000000000000000
0x00000001359db6a0:   0000000000000000 000000011993a470
0x00000001359db6b0:   24dcfa54233d8647 000000011ea014f8
0x00000001359db6c0:   0000000800041278 0000000126e7d2a0
0x00000001359db6d0:   0000000b0000000a 0000000800069be0
0x00000001359db6e0:   0000000800064638 000000080006b6f8
0x00000001359db6f0:   00000008000698e8 000000011993a470
0x00000001359db700:   0000000423cc067e 000000011e6033f0
0x00000001359db710:   000000011e603a48 0000001500000002
0x00000001359db720:   0000000000000014 0000000000000000
0x00000001359db730:   0000000000000001 00000001086f77c1

Instructions: (pc=0x000000010879dd14)
0x000000010879dcf4:   b8 e8 46 db c0 ff 89 d8 48 83 c4 30 5b 41 5c 41
0x000000010879dd04:   5e 41 5f 5d c3 90 55 48 89 e5 41 56 53 48 89 fb
0x000000010879dd14:   44 0f b7 33 41 ff c6 44 89 f7 31 f6 e8 e3 ac fa
0x000000010879dd24:   ff 48 89 df 48 89 c6 44 89 f2 e8 ad fd ff ff 48

Register to memory mapping:

RAX=0x2f81e802557a07f3 is an unknown value
RBX=0x00000134ac902800 is an unknown value
RCX=0x00007fc8ab300700 is an unknown value
RDX=0x000000012720ada0 is pointing into object: 0x000000012720ad68
[C
 - klass: {type array char}
 - length: 25
RSP=0x00000001359db540 is pointing into the stack for thread: 0x00007fc8abea4800
RBP=0x00000001359db550 is pointing into the stack for thread: 0x00007fc8abea4800
RSI=0x000000012720ada0 is pointing into object: 0x000000012720ad68
[C
 - klass: {type array char}
 - length: 25
RDI=0x00000134ac902800 is an unknown value
R8 =0x0000000000000005 is an unknown value
R9 =0x00000000568d407a is an unknown value
R10=0x0000000108b20470: _ZN19TemplateInterpreter13_active_tableE+0x4000 in /opt/jprt/T/P1/043815.daholme/testproduct/macosx_x64_10.7-product/jre/lib/server/libjvm.dylib at 0x00000001082be000
R11=0x00000000568d407a is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000134f1237e is an unknown value
R14=0x00000001359db6a8 is pointing into the stack for thread: 0x00007fc8abea4800
R15=0x00007fc8abea4800 is a thread


Stack: [0x00000001358dc000,0x00000001359dc000],  sp=0x00000001359db540,  free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.dylib+0x4dfd14]  Symbol::as_klass_external_name() const+0xa
V  [libjvm.dylib+0x3731e3]  Klass::external_name() const+0xfb
V  [libjvm.dylib+0x2badf1]  InterpreterRuntime::throw_ClassCastException(JavaThread*, oopDesc*)+0x75
j  spec.jbb.District.removeFirstNewOrder()Lspec/jbb/NewOrder;+30
J 796 C2 spec.jbb.DeliveryTransaction.process()Z (342 bytes) @ 0x00000001096d43d0 [0x00000001096d3680+0xd50]
J 865 C2 spec.jbb.DeliveryTransaction.queue()V (63 bytes) @ 0x00000001096a49c0 [0x00000001096a46e0+0x2e0]
J 874% C2 spec.jbb.TransactionManager.go()V (1579 bytes) @ 0x00000001095ea1cc [0x00000001095e9640+0xb8c]
j  spec.jbb.JBBmain.run()V+60
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.dylib+0x2bf95a]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6ae
V  [libjvm.dylib+0x2c00e8]  JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x164
V  [libjvm.dylib+0x2c0294]  JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x4a
V  [libjvm.dylib+0x30fc23]  thread_entry(JavaThread*, Thread*)+0x7c
V  [libjvm.dylib+0x514a71]  JavaThread::thread_main_inner()+0x9b
V  [libjvm.dylib+0x5161ae]  JavaThread::run()+0x1c2
V  [libjvm.dylib+0x43dbfa]  java_start(Thread*)+0xf6
C  [libsystem_c.dylib+0x14742]  _pthread_start+0x147
C  [libsystem_c.dylib+0x1181]  thread_start+0xd

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  spec.jbb.District.removeFirstNewOrder()Lspec/jbb/NewOrder;+30
J 796 C2 spec.jbb.DeliveryTransaction.process()Z (342 bytes) @ 0x00000001096d43d0 [0x00000001096d3680+0xd50]
J 865 C2 spec.jbb.DeliveryTransaction.queue()V (63 bytes) @ 0x00000001096a49c0 [0x00000001096a46e0+0x2e0]
J 874% C2 spec.jbb.TransactionManager.go()V (1579 bytes) @ 0x00000001095ea1cc [0x00000001095e9640+0xb8c]
j  spec.jbb.JBBmain.run()V+60
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

Comments
Same failure
24-10-2013

Same failure mode is apparently in one of the logs attached to JDK-8024919
24-10-2013