JDK-6740962 : Crash in C2 on 1.6.0_07-rev-b07
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6u7-rev
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-08-25
  • Updated: 2010-07-29
  • Resolved: 2008-08-25
Related Reports
Duplicate :  
Description
Customer got a C2 crash with JRE 1.6.0_07-rev-b07 on Solaris 10 on sparc.

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xfeb8da4c, pid=13693, tid=32
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b24 mixed mode solaris-sparc)
# Problematic frame:
# V  [libjvm.so+0x38da4c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x00416400):  JavaThread "CompilerThread0" daemon [_thread_in_native, id=32, stack(0x5d500000,0x5d580000)]

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

Registers:
 O0=0x00000000 O1=0x5d57ec54 O2=0x01ac8e98 O3=0x04eb80e8
 O4=0xffffffef O5=0xffffffec O6=0x5d57e938 O7=0xfeb8da44
 G1=0x00000000 G2=0xfe8d528c G3=0x00000000 G4=0x00000002
 G5=0x00000072 G6=0x00000000 G7=0xfe2e7400 Y=0x00000000
 PC=0xfeb8da4c nPC=0xfeb8da50


Top of Stack: (sp=0x5d57e938)
0x5d57e938:   5d57edd8 04eb80b0 023c380c 04a1fa30
0x5d57e948:   004448d0 ff0ed854 04a1fa68 04eb80b0
0x5d57e958:   00000e5e 00000001 5d57ed8c ff0ea000
0x5d57e968:   00000002 ffffffff 5d57e9a0 fe986ef8
0x5d57e978:   5d57e9a0 fe986eec 00000000 ff0ea000
0x5d57e988:   00000277 fffffff8 ff10f090 00000012
0x5d57e998:   00000001 5d57ede8 02bb2140 0002fdd8
0x5d57e9a8:   5d57ec74 5d57eca0 ff10a354 00020354

Instructions: (pc=0xfeb8da4c)
0xfeb8da3c:   ee 24 e0 18 ac 04 e0 38 9f c0 80 00 90 10 00 11
0xfeb8da4c:   d8 02 20 00 ae 10 00 08 d6 04 e0 38 c4 04 e0 3c
;; 00000000feb8da3c ee 24 e0 18 ac 04 e0 38 9f c0 80 00 90 10 00 11
;; ---------------
;; 00000000feb8da4c d8 02 20 00             ld  [ %o0 ], %o4
;; 00000000feb8da50 ae 10 00 08             mov  %o0, %l7
;; 00000000feb8da54 d6 04 e0 38             ld  [ %l3 + 0x38 ], %o3
;; 00000000feb8da58 c4 04 e0 3c             ld  [ %l3 + 0x3c ], %g2
;; 
Stack: [0x5d500000,0x5d580000], sp=0x5d57e938, free space=506k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x38da4c];; void PhaseChaitin::gather_lrg_masks(bool)+0x2a8
V [libjvm.so+0x186f00];; void PhaseChaitin::Register_Allocate()+0x414
V [libjvm.so+0x189eb8];; void Compile::Code_Gen()+0x378
V [libjvm.so+0x3d30ac];; 
Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool)+0xb94
V [libjvm.so+0x1a73dc];; void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0x84
V [libjvm.so+0x1a8170];; void 
CompileBroker::invoke_compiler_on_method(CompileTask*)+0x9f0
V [libjvm.so+0x22506c];; void CompileBroker::compiler_thread_loop()+0x664
V [libjvm.so+0x71765c];; void JavaThread::thread_main_inner()+0x50
V [libjvm.so+0x66d130];; java_start+0x170

Current CompileTask:
C2:5323  !   com.sap.mw.jco.JCO$Record.initializeRow(I)V (1314 bytes)

--- snip ---


---------------  S Y S T E M  ---------------

OS:                       Solaris 10 11/06 s10s_u3wos_10 SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 14 November 2006

uname:SunOS 5.10 Generic_127111-03 sun4u  (T2 libthread)
rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
load average:3,20 2,32 2,27

CPU:total 24 has_v8, has_v9, has_vis1, has_vis2, is_ultra3

Memory: 8k page, physical 134217728k(104247808k free)

vm_info: Java HotSpot(TM) Server VM (10.0-b24) for solaris-sparc JRE (1.6.0_07-rev-b07), built on Jul  1 2008 01:52:36 by "" with Workshop 5.8

time: Tue Aug 12 06:57:36 2008
elapsed time: 27624 seconds

The full hs_err_pid13693.log is attached to this report.