United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7012642 G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow
JDK-7012642 : G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow

Details
Type:
Bug
Submit Date:
2011-01-15
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
solaris_10
Sub-Component:
gc
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs20 (b07)

Related Reports
Backport:
Backport:

Sub Tasks

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
WORK AROUND

-XX:StackShadowPages=10
                                     
2011-01-15
SUGGESTED FIX

Increase StackShadowPages setting on solaris/x86 (32 bit) for fastdebug builds.
                                     
2011-01-15
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.
                                     
2011-01-15
EVALUATION

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

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



Hardware and Software, Engineered to Work Together