JDK-8059208 : SIGSEGV ObjectMonitor::EnterI
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8u40
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-09-26
  • Updated: 2014-09-29
  • Resolved: 2014-09-29
Related Reports
Duplicate :  
Relates :  
Description
The hs_err head is:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0157f5fe, pid=5837, tid=1701936016
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b06) (build 1.8.0_40-ea-fastdebug-b06)
# Java VM: Java HotSpot(TM) Server VM (25.40-b12-internal-201409240955.staffan.hotspot-fastdebug mixed mode linux-x86 )
# Problematic frame:
# V  [libjvm.so+0xbaf5fe]  ObjectMonitor::EnterI(Thread*)+0x24e
#
# 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 (0x097d7400):  JavaThread "nsk.share.monitoring.thread.Deadlock$DeadlockThread@26202540[id=12]" daemon [_thread_blocked, id=5880, stack(0x656c7000,0x65718000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0xbabababa

Registers:
EAX=0xbabababa, EBX=0x01a3c34c, ECX=0x097f0a84, EDX=0x657e86e0
ESP=0x656f57a8, EBP=0x656f5820, ESI=0x097d7400, EDI=0x097f0a84
EIP=0x0157f5fe, EFLAGS=0x00010202, CR2=0xbabababa

Top of Stack: (sp=0x656f57a8)
0x656f57a8:   0957dfb2 0157cc4e 00000000 01a3c34c
0x656f57b8:   00000000 00000000 097f0a94 01969990
0x656f57c8:   01963a30 0199991f 097f0a94 097f0aa8
0x656f57d8:   656f57e4 000003e8 656f5820 01a35110
0x656f57e8:   00000000 00000bad 097d7400 937a9fb0
0x656f57f8:   ffffffff 097d7e00 00000000 00000005
0x656f5808:   00000001 657e8600 937a9fb0 01a3c34c
0x656f5818:   097f0a84 097d7400 656f58f0 0157fe83 

Instructions: (pc=0x0157f5fe)
0x0157f5de:   bc e8 03 00 00 8b 4d 08 8b 51 10 85 d2 0f 84 3e
0x0157f5ee:   05 00 00 8b 83 1c 20 07 00 85 c0 74 0a 8b 40 1c
0x0157f5fe:   83 00 01 83 50 04 00 f6 83 18 b2 00 00 01 0f 85
0x0157f60e:   9e 00 00 00 f6 83 84 20 07 00 01 74 19 8b 96 04 

Register to memory mapping:

EAX=0xbabababa is an unknown value
EBX=0x01a3c34c: <offset 0x106c34c> in /export/local/aurora/CommonData/jdk/jre/lib/i386/server/libjvm.so at 0x009d0000
ECX=0x097f0a84 is an unknown value
EDX=0x657e86e0 is pointing into the stack for thread: 0x097d2800
ESP=0x656f57a8 is pointing into the stack for thread: 0x097d7400
EBP=0x656f5820 is pointing into the stack for thread: 0x097d7400
ESI=0x097d7400 is a thread
EDI=0x097f0a84 is an unknown value


Stack: [0x656c7000,0x65718000],  sp=0x656f57a8,  free space=185k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xbaf5fe]  ObjectMonitor::EnterI(Thread*)+0x24e
V  [libjvm.so+0xbafe83]  ObjectMonitor::enter(Thread*)+0x2a3
V  [libjvm.so+0xd4f1f1]  ObjectSynchronizer::slow_enter(Handle, BasicLock*, Thread*)+0x91
V  [libjvm.so+0xd4f4c4]  ObjectSynchronizer::fast_enter(Handle, BasicLock*, bool, Thread*)+0x84
V  [libjvm.so+0x839c40]  InterpreterRuntime::monitorenter(JavaThread*, BasicObjectLock*)+0x200
j  nsk.share.monitoring.thread.Deadlock$JavaLocker.lock()V+7
j  nsk.share.monitoring.thread.Deadlock$JavaLocker.lock()V+48
j  nsk.share.monitoring.thread.Deadlock$DeadlockThread.runInside()V+33
j  nsk.share.monitoring.thread.RecursiveMonitoringThread.recursiveMethod(I)V+62
v  ~StubRoutines::call_stub
Comments
This looks very similar to 8057907
28-09-2014