My Oracle Support Banner

JVM Crashes with "fatal error: Revisit stack overflow in PushOrMarkClosure" (Doc ID 1627708.1)

Last updated on MAY 26, 2018

Applies to:

Java Platform, Standard Edition - Version 7 to 7 [Release 7]
Information in this document applies to any platform.

Symptoms

Your Java application crashes with a HotSpot error log (hs_err_pid<pid>.log) showing:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (cmsOopClosures.inline.hpp:55), pid=24145, tid=140313160734464
#  fatal error: Revisit stack overflow in PushOrMarkClosure
#
# JRE version: 7.0_17-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x8a540a]  VMError::report_and_die()+0x2ea
V  [libjvm.so+0x40af39]  report_fatal(char const*, int, char const*)+0x59
V  [libjvm.so+0x3f74e8]  MarkRefsIntoAndScanClosure::remember_klass(Klass*)+0x48
V  [libjvm.so+0x645a44]  klassKlass::oop_oop_iterate(oopDesc*, OopClosure*)+0x124
V  [libjvm.so+0x51787c]  instanceKlassKlass::oop_oop_iterate(oopDesc*, OopClosure*)+0x1ac
V  [libjvm.so+0x3e6a28]  ScanMarkedObjectsAgainCarefullyClosure::do_object_careful_m(oopDesc*, MemRegion)+0x368
V  [libjvm.so+0x3a8402]  CompactibleFreeListSpace::object_iterate_careful_m(MemRegion, ObjectClosureCareful*)+0x82
V  [libjvm.so+0x3f0249]  CMSCollector::preclean_mod_union_table(ConcurrentMarkSweepGeneration*, ScanMarkedObjectsAgainCarefullyClosure*)+0x4e9
V  [libjvm.so+0x3f4984]  CMSCollector::preclean_work(bool, bool)+0x304
V  [libjvm.so+0x3f5020]  CMSCollector::abortable_preclean()+0x1f0
V  [libjvm.so+0x3f6808]  CMSCollector::collect_in_background(bool)+0x4e8
V  [libjvm.so+0x3f8267]  ConcurrentMarkSweepThread::run()+0x2c7
V  [libjvm.so+0x746cf0]  java_start(Thread*)+0x100

 

Changes

 The problem occurs after moving to JDK 7 from JDK 6.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.