|
Quick Lists
|
|
Bug ID:
|
4302287
|
|
Votes
|
0
|
|
Synopsis
|
the second stack overflow crashes HotSpot Server VM on Solaris
|
|
Category
|
hotspot:runtime_system
|
|
Reported Against
|
2.0_beta
, kest-sol-rc1
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4402735,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4353427
,
4402735
|
|
Submit Date
|
03-JAN-2000
|
|
Description
|
The regression test (testbase_nsk) nsk/regression/b4298656 crashes
the HotSpot Server VM (2.0, build A) on Solaris.
The test calls recursive_method() in loop.
The second stack overflow crashes HotSpot Server VM.
To reproduce the bug run doit.sh in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.
The first parameter for doit.sh should be JDK root directory
(e.g. /usr/local/java/jdk1.2.2/solaris) and the second parameter -
VM option(s) (optional).
The doit.sh file contains the CALL_DEPTH variable which is
the number of recursive calls.
By default the CALL_DEPTH variable equals 1000000.
The Kestrel HotSpot VM (build 1.3-R) runs the test perfectly.
Logs:
% doit.bat /export/java/jdk1.2.2/solaris
java version "1.2.2"
Java(TM) HotSpot Server VM (2.0, mixed mode, build A)
==> test b4298656 LOG:
----> depth of recursive calls in recursive_method() = 1000000
----> Attempt_counter = 1: StackOverflow_call_depth = 85575
An irrecoverable stack overflow has occurred.
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
#
# Error ID: 4F533F534F4C415249530E4350500791 01
#
% doit.bat /export/java/jdk1.3.0R/solaris
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
Java HotSpot(TM) Client VM (build 1.3-R, interpreted mode)
==> test b4298656 LOG:
----> depth of recursive calls in recursive_method() = 1000000
----> Attempt_counter = 1: StackOverflow_call_depth = 15126
----> Attempt_counter = 2: StackOverflow_call_depth = 15126
----> Attempt_counter = 3: StackOverflow_call_depth = 15126
==> test b4298656 PASSED
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
Dup of 4298656 - leaving open for ease-of-access to the test identification;
john, you can probably close this as a dup once you've gotten what you need.
xxxxx@xxxxx 2001-03-19
Repeated stack overflow handling for the server compiler was tracked
under bug 4402735; the b4298656.java test passes using a server vm that includes
those changes, so closing this as a dup of 4402735 (although arguably it
should be the reverse).
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |