JDK-6994790 : G1: SIGSEGV in java.lang.String.getChars / ~RuntimeStub::_slow_arraycopy_Java / slow_arraycopy_C
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs19
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2010-10-26
  • Updated: 2014-04-08
  • Resolved: 2013-03-18
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 9
9Resolved
Related Reports
Relates :  
Description
Application crashes after 25 hours (HS 19 b09, fastdebug, -XX:+UseG1GC -XX:+AggressiveOpts):

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002b7613585415, pid=29413, tid=1154545984
#

Stack: [0x0000000044c0f000,0x0000000044d10000],  sp=0x0000000044d0d8f0,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xa86415];;  SharedRuntime::slow_arraycopy_C(oopDesc*, int, oopDesc*, int, int, JavaThread*)+0x155

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~RuntimeStub::_slow_arraycopy_Java
J  java.lang.String.getChars(II[CI)V
J  java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V
J  java.io.ObjectOutputStream.writeArray(Ljava/lang/Object;Ljava/io/ObjectStreamClass;Z)V
...

Comments
Issue will not reproduce.
18-03-2013

Test has been running on vm-v20z-24 for almost 3 days and the problem has not reproduced: REPORT Iteration: 2069 Current time: 03/18/13 09:42:15 (elapsed 2 d 23 h 32 min 37 sec) REPORT REPORT Iteration: 2070 Current time: 03/18/13 09:44:20 (elapsed 2 d 23 h 34 min 41 sec) ERROR jmap (jmap -heap) finished with exit code 1 REPORT REPORT Iteration: 2071 Current time: 03/18/13 09:46:25 (elapsed 2 d 23 h 36 min 46 sec) REPORT REPORT Iteration: 2072 Current time: 03/18/13 09:48:30 (elapsed 2 d 23 h 38 min 51 sec) ERROR jmap (jmap -heap) finished with exit code 1 REPORT REPORT Iteration: 2073 Current time: 03/18/13 09:50:40 (elapsed 2 d 23 h 41 min 1 sec) Closing.
18-03-2013

Test has been run 2x on one of the new haswell machines running OEL 6 for at least 24 hours per run. The first run was with the latest (final) promoted build for 7u4. The second run was with the same JDK as the first but the JVM was instrumented with the bug catcher code for JDK-801384. The bug catcher code has not detected a thread exiting with an unflushed deferred card mark. This second run has been running for almost 2 days: REPORT Iteration: 1211 Current time: 03/15/13 09:19:12 (elapsed 1 d 18 h 8 min 55 sec) ERROR jmap (jmap -heap) finished with exit code 1 REPORT REPORT Iteration: 1212 Current time: 03/15/13 09:21:10 (elapsed 1 d 18 h 10 min 53 sec) REPORT REPORT Iteration: 1213 Current time: 03/15/13 09:23:07 (elapsed 1 d 18 h 12 min 51 sec) ERROR jmap (jmap -heap) finished with exit code 1 REPORT REPORT Iteration: 1214 Current time: 03/15/13 09:25:05 (elapsed 1 d 18 h 14 min 48 sec) REPORT REPORT Iteration: 1215 Current time: 03/15/13 09:27:03 (elapsed 1 d 18 h 16 min 46 sec) ERROR jmap (jmap -heap) finished with exit code 1 Trying on SQE machine. If it doesn't fail over the weekend I will close this CR.
15-03-2013