JDK-7106751 : G1: gc/gctests/nativeGC03 crashes VM with SIGSEGV
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-10-31
  • Updated: 2013-09-18
  • Resolved: 2012-01-23
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 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Description
The hs_err is:
;; Using jvm: "C:/local/common/jdk/baseline/windows-amd64/jre/bin/server/jvm.dll"

Warning: This error log is *not* generated by the following JVM:
           C:/local/common/jdk/baseline/windows-amd64/jre/bin/server/jvm.dll
         
         Expected vm_info: [Java HotSpot(TM) 64-Bit Server VM (23.0-b04-internal-201110282257.jcoomes.hs23-b04-snapshot-fastdebug) for windows-amd64 JRE (1.8.0), built on Oct 28 2011 17:47:31 by "jprtadm" with unknown MS VC++:1600]
         Actual vm_info:   []
         
         JVM symbol lookup may be incorrect.
         Please use --jvm=<path/to/jvm> to point to the correct JVM.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000725f9c6f, pid=102924, tid=3352
#
# JRE version: 8.0-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0-b04-internal-201110282257.jcoomes.hs23-b04-snapshot-fastdebug mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x4c9c6f]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

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

Current thread (0x0000000006480800):  ConcurrentGCThread [stack: 0x0000000008430000,0x0000000008530000] [id=3352]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000002b00000;; 
;; si_signo=0xc0000005	EXCEPTION_ACCESS_VIOLATION /* The thread tried to read from or write to a virtual address for which it does not have the appropriate access. */

Registers:
RAX=0x0000000002afff38, RBX=0x0000000002af4c48, RCX=0x0000000000000000, RDX=0x0000000000000000
RSP=0x000000000852f270, RBP=0x000000000852f370, RSI=0x000000000906e37f, RDI=0x0000000006617a28
R8 =0x0000000002af7a58, R9 =0x000000003b000000, R10=0x0000000000003ffd, R11=0x0000000000000000
R12=0x0000000000000040, R13=0x0000000000000019, R14=0x000000003cc6fe00, R15=0x0000000000000000
RIP=0x00000000725f9c6f, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x000000000852f270)
0x000000000852f270:   0000000076f92980 00000000002c3e20
0x000000000852f280:   0000000002af4c48 0000000000000001
0x000000000852f290:   0000000007000007 0000000000000000
0x000000000852f2a0:   00009f88de361497 0000000072218444
0x000000000852f2b0:   0000000002af7ca0 0000000072261a2c
0x000000000852f2c0:   0000000000000000 0000000000000000
0x000000000852f2d0:   000000073cc6fe00 0000000000000000
0x000000000852f2e0:   0000000000000000 0000000000000000
0x000000000852f2f0:   000000000000000f 0000000000000001
0x000000000852f300:   0000000000000000 00000000002c83e8
0x000000000852f310:   0000000000000004 ffffffffffffffff
0x000000000852f320:   ffffffffffd37c17 0000000076ec0853
0x000000000852f330:   0000000076ec0886 0000000000000000
0x000000000852f340:   0000000000002388 00000000725c88d8
0x000000000852f350:   000000000000e37f 000000001a56c898
0x000000000852f360:   0000000000000168 0000000000000140 

Instructions: (pc=0x00000000725f9c6f)
0x00000000725f9c4f:   48 8d 0d 2a 93 41 00 ba 7e 02 00 00 e8 90 ae e4
0x00000000725f9c5f:   ff e8 5b 70 e6 ff 4c 8b 43 08 48 8b 43 48 33 c9
0x00000000725f9c6f:   4a 8b 14 e8 4d 8b 88 80 03 00 00 48 8d 05 17 92
0x00000000725f9c7f:   41 00 48 89 44 24 50 4c 89 4c 24 70 48 89 55 80 
;; 

Register to memory mapping:

RAX=
[error occurred during error reporting (printing register info), id 0xe0000000]

Stack: [0x0000000008430000,0x0000000008530000],  sp=0x000000000852f270,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Warning: This error log is *not* generated by the following JVM:
           C:/local/common/jdk/baseline/windows-amd64/jre/bin/server/jvm.dll
         JVM symbol lookup may be incorrect.
         Please use --jvm=<path/to/jvm> to point to the correct JVM.

V  [jvm.dll+0x4c9c6f];;  ?concurrentRefineOneCard_impl@G1RemSet@@IEAA_NPEACH_N@Z+0x10f


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x000000001a7ff800 JavaThread "Service Thread" daemon [_thread_blocked, id=127160, stack(0x000000001b560000,0x000000001b660000)]
  0x000000001a7fc800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=142324, stack(0x000000001b360000,0x000000001b460000)]
  0x000000001a7f8800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=133248, stack(0x000000001b220000,0x000000001b320000)]
  0x000000001a7ed800 JavaThread "Attach Listener" daemon [_thread_blocked, id=88188, stack(0x000000001b120000,0x000000001b220000)]
  0x000000001a7e8800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=47532, stack(0x000000001a960000,0x000000001aa60000)]
  0x000000001a7e5800 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=121592, stack(0x000000001ae80000,0x000000001af80000)]
  0x000000001a744800 JavaThread "Finalizer" daemon [_thread_blocked, id=175168, stack(0x000000001ac70000,0x000000001ad70000)]
  0x000000001a73e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=18428, stack(0x000000001a300000,0x000000001a400000)]
  0x0000000002aeb000 JavaThread "main" [_thread_blocked, id=54160, stack(0x0000000002c00000,0x0000000002d00000)]

Other Threads:
  0x000000001a734000 VMThread [stack: 0x000000001aa60000,0x000000001ab60000] [id=96100]
  0x000000001a819000 WatcherThread [stack: 0x000000001af80000,0x000000001b080000] [id=131856]

=>0x0000000006480800 (exited) ConcurrentGCThread [stack: 0x0000000008430000,0x0000000008530000] [id=3352]

Comments
EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ed80554efa25
22-03-2012

EVALUATION See main CR
30-11-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/ed80554efa25
29-11-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/ed80554efa25
04-11-2011

EVALUATION _cset_rs_update_cl[] is indexed with values beyond what it is set up to handle.
01-11-2011