JDK-7012642 : G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2011-01-15
  • Updated: 2013-09-18
  • Resolved: 2011-03-08
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 6 JDK 7 Other
6u25Fixed 7Fixed hs20Fixed
Description
The nightly test:

gc/gctests/JumbleGC002

fails with a segmentation error when run with G1.

Two instances of this failure have been seen:

Analysis Page (1):
http://sqeweb.sfbay/net/sqenfs-2/export2/results/vm/gtee/JDK7/NIGHTLY/VM/2011-01-12/G1_GC_Baseline/index.html

Results Dir (1):
/net/sqenfs-2.sfbay/export2/results/vm/gtee/JDK7/NIGHTLY/VM/2011-01-12/G1_GC_Baseline-tiered/vm/solaris-i586/server/mixed/solaris-i586_vm_server_mixed_vm.gc.testlist

Machine (1):
vm-x6250-01a

Flags (1):
-server -Xmixed -XX:-PrintVMOptions -XX:+UseG1GC -XX:+TieredCompilation -XX:+StartAttachListener

Analysis Page (2):
http://sqeweb.sfbay/net/sqenfs-2/export2/results/vm/gtee/JDK7/NIGHTLY/VM/2011-01-13/G1_GC_Baseline/vm/solaris-i586/server/mixed/solaris-i586_vm_server_mixed_vm.gc.testlist/analysis.html

Results Dir (2):
/net/sqenfs-2.sfbay/export2/results/vm/gtee/JDK7/NIGHTLY/VM/2011-01-13/G1_GC_Baseline/vm/solaris-i586/server/mixed/solaris-i586_vm_server_mixed_vm.gc.testlist

Machine (2):
tatooinevm

Flags (2):
-server -Xmixed -XX:-PrintVMOptions -XX:+UseG1GC -XX:+StartAttachListener -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/182e9624aa42
21-01-2011

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/182e9624aa42
19-01-2011

WORK AROUND -XX:StackShadowPages=10
15-01-2011

EVALUATION With recent G1 changes the the C++ call depth can exceed the amound allowed by the Java stack overflow check and so can access the protected yellow zone of the thread's stack.
15-01-2011

SUGGESTED FIX Increase StackShadowPages setting on solaris/x86 (32 bit) for fastdebug builds.
15-01-2011