JDK-7199349 : NPG: PS: Crash seen in jprt
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs25,8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-09-18
  • Updated: 2016-02-17
  • Resolved: 2012-10-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8Fixed hs25Fixed
Related Reports
Duplicate :  
Relates :  
Description
While trying to push the changes for 7190666 (which changed G1 and the PLABStats code), I got the following crash when the JPRT job was running Target linux_x64-fastdebug-c2-jvm98.

The crash was a SIGSEGV during the GC:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fbba0929aa4, pid=30910, tid=1083550032
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b56)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b02-internal-201209181609.jcuthber.7190666-test-fastdebug mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x4fdaa4]  oopDesc::size()+0x34
#
# Core dump written. Default location: /opt/jprt/products/P1/specjvm98/core or core.30910
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp

The stack trace from the hs_err file is:

Stack: [0x000000004085a000,0x000000004095b000],  sp=0x0000000040959e30,  free space=1023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x4fdaa4]  oopDesc::size()+0x34
V  [libjvm.so+0x4f9ddb]  CardTableExtension::scavenge_contents_parallel(ObjectStartArray*, MutableSpace*, HeapWord*, PSPromotionManager*, unsigned int, unsigned int)+0x3cb
V  [libjvm.so+0xb8cb94]  OldToYoungRootsTask::do_it(GCTaskManager*, unsigned int)+0xc4
V  [libjvm.so+0x754d19]  GCTaskThread::run()+0x199
V  [libjvm.so+0xaf6e28]  java_start(Thread*)+0x108

Comments
Affected tests: FontFuzzing::Crash-5A775D6E93A96328F57FD444323B3A59DC712099435B2DCD058C15B5FF141C74
18-07-2013

Failing langtools sqe test: apt/Declaration/Field
09-11-2012

When the top of the space is at the end of the space, the calculation of the card index overreached the end of the card table.
28-09-2012