JDK-6847791 : crash in std_verified_entry
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0u19
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-06-03
  • Updated: 2010-04-07
  • Resolved: 2009-12-18
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
There is no matching found in sunsolve. I do notice the OSRAdapter in the 
stack, so we asked CU to disable OnStackReplacement, but the crash happened
again (this time without the ~OSRAdapter frame).

data location: /net/cores.central/cores/dir14/66211432/04jun

Stack: [0x5e110000,0x5e130000),  sp=0x5e12e948,  free space=122k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x211b78];;  unsigned char*C2IAdapterGenerator::std_verified_entry
(methodHandle)+0x14
V  [libjvm.so+0x20905c];;  void CompiledIC::compute_monomorphic_entry(methodHand
le,KlassHandle,int,int,CompiledICInfo&,Thread*)+0x74
V  [libjvm.so+0x1ffdac];;  methodHandle SharedRuntime::resolve_sub_helper(JavaTh
read*,int,int,Thread*)+0x290
V  [libjvm.so+0x1ff984];;  methodHandle SharedRuntime::resolve_helper(JavaThread
*,int,int,Thread*)+0x38
V  [libjvm.so+0x210498];;  unsigned char*OptoRuntime::resolve_opt_virtual_call_C
(JavaThread*)+0x3c
v  ~RuntimeStub::_resolve_opt_virtual_call_Java
J  weblogic.transaction.internal.ServerSCInfo.startCommit(Lweblogic/transaction/
internal/ServerTransactionImpl;ZZ)V
J  weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(II)V
v  ~I2CAdapter
j  weblogic.transaction.internal.ServerTransactionImpl.globalCommit()V+6
j  weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V+84
j  weblogic.transaction.internal.ServerTransactionImpl.commit()V+41
j  weblogic.jms.backend.BEForwardingConsumer.processMessages(Ljava/util/List;)V+
518
j  weblogic.jms.backend.BEForwardingConsumer.pushMessages(Ljava/util/List;)V+32
j  weblogic.messaging.util.DeliveryList.run()V+16
v  ~C2IAdapter
J  weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run()V
J  weblogic.work.ExecuteThread.execute(Ljava/lang/Runnable;)V
J  weblogic.work.ExecuteThread.run()V
v  ~OSRAdapter
...



data location: /net/cores.central/cores/dir14/66211432/09jun

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000014;;
;; si_signo=11  SIGSEGV
;; si_code=1    SEGV_MAPERR /* Address not mapped to object.  */

Registers:
 O0=0x00000000 O1=0x00cd3310 O2=0x00000000 O3=0x02bad4d4
 O4=0x0458bc50 O5=0x02bad0e8 O6=0x6606ec20 O7=0xfea11b70
 G1=0x00000001 G2=0x000389a0 G3=0x00000000 G4=0x00000000
 G5=0xfefe6000 G6=0x00000000 G7=0x6bfc5a00 Y=0x00000000
 PC=0xfea11b78 nPC=0xfea11b7c


Top of Stack: (sp=0x6606ec20)
0x6606ec20:   00009754 ff03c420 00009400 02bad0e8
0x6606ec30:   01092368 010926dc 01092364 01092368
0x6606ec40:   6606ecf8 0109235c 00000006 00000000
0x6606ec50:   7f8d4230 0109235c 6606ec88 fea09054
0x6606ec60:   faa4a958 008a0000 00000021 6606edac
0x6606ec70:   6606ed30 ffffff80 00000000 00000000
0x6606ec80:   6606ecc8 0109235c 00009754 00009400
0x6606ec90:   7f8d4230 7f8d3e38 01092334 02bad0e0

Instructions: (pc=0xfea11b78)
0xfea11b68:   fa 06 20 00 90 07 bf fc 7f ff f7 2d fa 27 bf fc
0xfea11b78:   f8 02 20 14 f6 02 20 44 b4 02 00 1c 81 c7 e0 08
;;
Stack: [0x66050000,0x66070000),  sp=0x6606ec20,  free space=123k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x211b78];;  unsigned char*C2IAdapterGenerator::std_verified_entry(methodHandle)+0x14
V  [libjvm.so+0x20905c];;  void CompiledIC::compute_monomorphic_entry(methodHandle,KlassHandle,int,int,CompiledICInfo&,Thread*)+0x74
V  [libjvm.so+0x1ffdac];;  methodHandle SharedRuntime::resolve_sub_helper(JavaThread*,int,int,Thread*)+0x290
V  [libjvm.so+0x1ff984];;  methodHandle SharedRuntime::resolve_helper(JavaThread*,int,int,Thread*)+0x38
V  [libjvm.so+0x210498];;  unsigned char*OptoRuntime::resolve_opt_virtual_call_C(JavaThread*)+0x3c
v  ~RuntimeStub::_resolve_opt_virtual_call_Java
J  weblogic.transaction.internal.ServerSCInfo.startCommit(Lweblogic/transaction/internal/ServerTransactionImpl;ZZ)V
J  weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(II)V
J  weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V
v  ~I2CAdapter
j  weblogic.transaction.internal.ServerTransactionImpl.commit()V+41
j  weblogic.jms.backend.BEForwardingConsumer.processMessages(Ljava/util/List;)V+518
j  weblogic.jms.backend.BEForwardingConsumer.pushMessages(Ljava/util/List;)V+32
j  weblogic.messaging.util.DeliveryList.run()V+16
j  weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run()V+4
v  ~C2IAdapter
J  weblogic.work.ExecuteThread.execute(Ljava/lang/Runnable;)V
v  ~I2CAdapter
j  weblogic.work.ExecuteThread.run()V+42
v  ~StubRoutines::call_stub
V  [libjvm.so+0x19fa44];;  void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x5a8
V  [libjvm.so+0x2c569c];;  void JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,symbolHandle,symbolHandle,Thread*)+0x190
V  [libjvm.so+0x2e4fcc];;  void thread_entry(JavaThread*,Thread*)+0x13c
V  [libjvm.so+0x2e0b68];;  void JavaThread::run()+0x2b8
V  [libjvm.so+0x684e04];;  void*_start(void*)+0x210
/net/cores.central/cores/dir14/66211432/09jun
hotspots,core,libs

Comments
WORK AROUND Increase the ReservedCodeCacheSize to 64m: Add -XX:ReservedCodeCacheSize=64M to jvm options.
10-06-2009