JDK-4324656 : shell-imposed stack size limit causes crash of the Hotspot Client VM
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-03-24
  • Updated: 2016-09-21
  • Resolved: 2000-04-10
Related Reports
Relates :  
Relates :  
Description

Name: dkC59003			Date: 03/23/2000



The shell-imposed stack size limit set to value less than 2048k
causes crash of the Hotspot Client VM (build 1.3.0rc2-Y) on Solaris.

This bug prevents the regression test (testbase_nsk)
nsk/regression/regresab44 to pass.

The Classic VM does not crash.

See logs (for cshell):

% limit stacksize
stacksize 	8192 kbytes
% java -version
java version "1.3.0rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-X)
Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, interpreted mode)


% limit stacksize 2048k
% limit stacksize
stacksize 	2048 kbytes
% java -version
java version "1.3.0rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-X)
Java HotSpot(TM) Client VM (build 1.3.0rc2-Y, interpreted mode)


% limit stacksize 2047k
% limit stacksize
stacksize 	2047 kbytes
% java -version
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
#
# Error ID: 4F533F534F4C415249530E43505007CA FF
#

(Error ID: os_solaris.cpp, 1994)

% java -classic -version
java version "1.3.0rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-X)
Classic VM (build 1.3.0rc2-X, green threads, nojit)


 
======================================================================

Comments
EVALUATION This is too risky to fix in the kestrel solaris 1.3 reference release. It is already fixed in the source base for the kestrel solaris fcs. arches% limit stacksize stacksize 2047 kbytes arches% /usr/java1.3/bin/java -version Can't have stack larger than 2047 KB for main thread; See limit(1) to increase the stack size for your main thread arches% limit stacksize 2048k arches% /usr/java1.3/bin/java -version java version "1.3" Java(TM) 2 Runtime Environment, Standard Edition (build Solaris_JDK_1.3-b10) Java HotSpot(TM) Client VM (build 1.3-b09, mixed mode)
11-06-2004