JDK-4506412 : jck122007 test dumps core with 64-bit server VM
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8,solaris_9
  • CPU: x86,sparc
  • Submitted: 2001-09-24
  • Updated: 2001-10-04
  • Resolved: 2001-09-27
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.
Other
1.4.0 beta3Fixed
Related Reports
Relates :  
Description
Test : nsk/stress/jck122/jck122007
TestBase : testbase_nsk.v14r07
Mode : all
OS : Solsparc_9

Steps to reproduce :
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. sh doit {JAVA}

Output :
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b80)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta3-b80, compiled mode)

Segmentation Fault - core dumped
STATUS=139

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta3 FIXED IN: merlin-beta3 INTEGRATED IN: merlin-beta3 VERIFIED IN: merlin-beta3
14-06-2004

SUGGESTED FIX Increase the default stack size to 1Meg. This is double the size that the 32 bit VM has been set to for a few releases.
11-06-2004

PUBLIC COMMENTS The default stack size for the 64 bit Sparc VM needs to be increased to 1meg in order to run this test.
10-06-2004

EVALUATION There are two problems associated with this bug. 1. The test is using more stack than the default VM settings allow. The 32 bit and 64 bit VM both are configured to use 512K of ThreadSTackSize. The 64 bit VM's default stack size should be increased to double the size of the 32 bit VM because each stack entry is 8 bytes in 64 bit mode instead of 4 bytes. 2. The VM is core dumping instead of catching a stack overflow exception. This second problem is addressed by the fix to bugid: 4477785. ###@###.### 2001-09-25
25-09-2001

WORK AROUND IYou can work around this problem by increasing the stack size to 768K. java -ss768k or java -XX:ThreadStackSize=768 ###@###.### 2001-09-25
25-09-2001