JDK-8164131 : SIGSEGV: Problematic frame [libjvm.so+0x1d3d2c0] bool MarkSweep::IsAliveClosure::do_object_b(oop)+0x10
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-08-16
  • Updated: 2016-08-17
  • Resolved: 2016-08-17
Related Reports
Duplicate :  
Description
Hotspot PIT testing, happened once on Solaris x64

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xffff80f76dd3d2c0, pid=5615, tid=14
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-08-12-205858.amurillo.jdk9-hs-2016-08-12-snapshot)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-08-12-205858.amurillo.jdk9-hs-2016-08-12-snapshot, mixed mode, tiered, g1 gc, solaris-amd64)
# Problematic frame:
# V  [libjvm.so+0x1d3d2c0]  bool MarkSweep::IsAliveClosure::do_object_b(oop)+0x10
#
# Core dump will be written. Default location: /export/local/aurora/sandbox/results/workDir/gc/survivorAlignment/TestPromotionFromEdenToTenured/core or core.5615
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  S U M M A R Y ------------

Command Line: -Dtest.src=/export/local/aurora/CommonData/j2se_jdk/hotspot/test/gc/survivorAlignment -Dtest.src.path=/export/local/aurora/CommonData/j2se_jdk/hotspot/test/gc/survivorAlignment:/export/local/aurora/CommonData/j2se_jdk/hotspot/test/testlibrary:/export/local/aurora/CommonData/j2se_jdk/test/lib -Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/0/gc/survivorAlignment -Dtest.class.path=/export/local/aurora/sandbox/results/workDir/classes/0/gc/survivorAlignment:/export/local/aurora/sandbox/results/workDir/classes/0/testlibrary:/export/local/aurora/sandbox/results/workDir/classes/0/test/lib -Dtest.vm.opts= -Dtest.tool.vm.opts= -Dtest.compiler.opts= -Dtest.java.opts=-Xmixed -server -XX:MaxRAMFraction=8 -XX:-UseCompressedOops -Dtest.jdk=/export/local/aurora/CommonData/TEST_JAVA_HOME -Dcompile.jdk=/export/local/aurora/CommonData/TEST_JAVA_HOME -Dtest.timeout.factor=16.0 -Dtest.modules=java.base/jdk.internal.misc java.management -Dtest.nativepath=/export/local/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -Xmixed -XX:MaxRAMFraction=8 -XX:-UseCompressedOops -Djava.library.path=/export/local/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NewSize=64m -XX:MaxNewSize=64m -XX:OldSize=32m -XX:MaxHeapSize=96m -XX:SurvivorRatio=1 -XX:-ExplicitGCInvokesConcurrent -XX:-ResizePLAB -XX:+UnlockExperimentalVMOptions -XX:SurvivorAlignmentInBytes=32 com.sun.javatest.regtest.agent.MainWrapper /export/local/aurora/sandbox/results/workDir/gc/survivorAlignment/TestPromotionFromEdenToTenured.d/main.1.jta 10m 9 TENURED

Host: sca00csn, x86 64 bit 2693 MHz, 4 cores, 15G, Oracle Solaris 11.2 X86
Time: Sun Aug 14 04:35:31 2016 UTC elapsed time: 2 seconds (0d 0h 0m 2s)

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

Current thread (0x0000000000804800):  VMThread "VM Thread" [stack: 0xffff80ffbd28f000,0xffff80ffbd38f000] [id=14]

Stack: [0xffff80ffbd28f000,0xffff80ffbd38f000],  sp=0xffff80ffbd38def0,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1d3d2c0]  bool MarkSweep::IsAliveClosure::do_object_b(oop)+0x10
V  [libjvm.so+0x138ca44]  bool ClassLoaderDataGraph::do_unloading(BoolObjectClosure*,bool)+0xb4
V  [libjvm.so+0x20e320c]  bool SystemDictionary::do_unloading(BoolObjectClosure*,bool)+0x1c
V  [libjvm.so+0x16cc5cb]  void G1MarkSweep::mark_sweep_phase1(bool&,bool)+0x22b
V  [libjvm.so+0x16cc2d9]  void G1MarkSweep::invoke_at_safepoint(ReferenceProcessor*,bool)+0x209
V  [libjvm.so+0x167f71a]  bool G1CollectedHeap::do_full_collection(bool,bool)+0x6ea
V  [libjvm.so+0x2229bfb]  void VM_G1CollectFull::doit()+0x3b
V  [libjvm.so+0x2226d9c]  void VM_Operation::evaluate()+0x19c
V  [libjvm.so+0x222461e]  void VMThread::evaluate_operation(VM_Operation*)+0x14e
V  [libjvm.so+0x2224c65]  void VMThread::loop()+0x465
V  [libjvm.so+0x22242d2]  void VMThread::run()+0xd2
V  [libjvm.so+0x1e819d8]  thread_native_entry+0x168
C  [libc.so.1+0x1251f1]  _thrp_setup+0xa5
C  [libc.so.1+0x125490]  _lwp_start+0x0

Comments
Any objection to closing this bug as a duplicate of JDK-8162553?
17-08-2016

Lois's change for JDK-8162553 wasn't in Alejandro's bundles that were tested. void ClassLoaderData::inc_keep_alive() { assert(_keep_alive >= 0, "Invalid keep alive count"); _keep_alive++; } void ClassLoaderData::dec_keep_alive() { assert(_keep_alive > 0, "Invalid keep alive count"); _keep_alive--; }
17-08-2016

Probably a duplicate of JDK-8162553, but that bug has already been fixed ...
17-08-2016