JRockit Crash with StackOverFlowError Exception (Doc ID 1090854.1)

Last updated on MARCH 11, 2017

Applies to:

Oracle JRockit - Version 7.0 to R28 [Release JRockit]
Information in this document applies to any platform.
This document is applicable for all releases and versions of JRockit JDK on all supported platforms.


Symptoms

The JRockit JDK was reported as crashing with StackOverFlow exceptions.  Below is the exception trace from a JRockit crash text dump file (filename format: jrockit.<PID>.dump) created when the crash occurred.

LD_ASSUME_KERNEL: <not set>
C Heap : Good; no memory allocations have failed
StackOverFlow: 2 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured

Registers (from ThreadContext: 0xb2a8aa94 / OS context: 0xb2a8ab70):
eax = 00000034 ecx = b6c9f2e8 edx = ffffffff ebx = b7f63c20
esp = b2a8ae60 ebp = b2a8ae68 esi = 00000034 edi = 00000000
es = 0000007b cs = 00000073 ss = 0000007b ds = 0000007b
fs = 00000000 gs = 00000033
eip = b7e874d9 eflags = 00000246


"[ACTIVE] ExecuteThread: '3' for" id=232 idx=0x58 tid=6742 lastJavaFrame=0xb2a8b09c

Stack 0: start=0xb2a08000, end=0xb2a8c000, guards=0xb2a0d000 (ok), forbidden=0xb2a0b000
Thread Stack Trace:
at dumpForceDump+77()@0xb7e874d9
at vmFatalErrorMsgV+123()@0xb7ee1613
at vmFatalErrorMsg+26()@0xb7ee162e
at jniPinObject+227()@0xb7e9662f
at jniGetPrimitiveArrayCriticalInfo+51()@0xb7e8be47
at jniGetPrimitiveArrayCritical+33()@0xb7e8beb9
at jniStringFromUTF82+80()@0xb7e96d10
at jniStringFromIString2+42()@0xb7e971ea
at jniStringFromIString+24()@0xb7e97248
at RJNI_java_lang_Throwable_getOurStackTrace0+782()@0xb7e9e7ae
-- Java stack --
at java/lang/Throwable.getOurStackTrace0()[Ljava/lang/StackTraceElement;(Native Method)
at java/lang/Throwable.getOurStackTrace()[Ljava/lang/StackTraceElement;(Unknown Source)
^-- Holding lock: java/lang/StackOverflowError@0x2edff268[thin lock]
at java/lang/Throwable.printStackTrace(Ljava/io/PrintStream;)V(Unknown Source)
^-- Holding lock: java/io/PrintStream@0x8446220[thin lock]
at java/lang/ThreadGroup.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V(ThreadGroup.java:987)
at java/lang/ThreadGroup.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V(ThreadGroup.java:978)
at java/lang/ThreadGroup.uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V(ThreadGroup.java:978)
at java/lang/Thread.dispatchUncaughtException(Ljava/lang/Throwable;)V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms