JDK-4456826 : Reg-test ReflectStackOverflow.java Failing
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux
  • CPU: x86
  • Submitted: 2001-05-10
  • Updated: 2001-05-17
  • Resolved: 2001-05-15
Related Reports
Relates :  
Description

Name: as83306			Date: 05/09/2001

Regression test vm/misc/ReflectStackOverflow.java fails with Merlin build 63 on Linux 6.2, host 
seahund. The previous build this test passed with was b58.
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
 
#Test Results (version 2)
#Thu May 03 13:51:33 GMT+00:00 2001
#checksum:26a7cc7b1585b71f
#-----testdescription-----
$file=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/vm/misc/ReflectStackOverflow.java
$root=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63
keywords=bug4185411 othervm
run=USER_SPECIFIED main/othervm ReflectStackOverflow\n
source=ReflectStackOverflow.java
title=This program crashes in 1.1, but runs okay in 1.2.

#-----environment-----

#-----testresult-----
description=file:///.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/vm/misc/ReflectStackOverflow.jav
a
end=Thu May 03 13:51:33 GMT+00:00 2001
environment=regtest
execStatus=Failed. Execution failed: Program `/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386/bin/java' interrupted! (timed 
out?)
javatestOS=Linux 2.2.14-6.1.1 (i386)
javatestVersion=JT_2.1.3i
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Thu May 03 13:49:31 GMT+00:00 2001
status=Failed. Execution failed: Program `/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386/bin/java' interrupted! (timed out?)
test=vm/misc/ReflectStackOverflow.java
work=/export0/results/regression/merlin/b63/seahund.2.2.14-6.1.1-jth13-jdk14b63-05.03-09.14-ALL/vm/misc

#section:script_messages
----------messages:(2/140)----------
JDK under test: java full version "1.4.0-beta-b63" (/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386)
Timeout signalled after 120.0 seconds

#section:build
----------messages:(3/106)----------
command: build ReflectStackOverflow 
reason: Named class compiled on demand
elapsed time (seconds): 2.469
result: Passed. Compilation successful

#section:compile
----------messages:(3/207)----------
command: compile /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/vm/misc/ReflectStackOverflow.java 
reason: .class file out of date or does not exist
elapsed time (seconds): 2.466
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:main
----------messages:(3/137)----------
command: main ReflectStackOverflow
reason: User specified action: run main/othervm ReflectStackOverflow 
elapsed time (seconds): 120.005
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Failed. Execution failed: Program `/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386/bin/java' interrupted! (timed 
out?)


test result: Failed. Execution failed: Program `/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386/bin/java' interrupted! (timed 
out?)
======================================================================

Comments
EVALUATION VM on Linux now has fairly big default stack size (2M before Redhat 7.1, and 8M on Redhat 7.1). It would take quite a while before this test hits stack overflow. That's why test script timed out. Before "-Xss" is working on Linux, the default stack size can be changed through shell command "ulimit" (bash) or "limit" (tcsh) on Redhat 7.1 (e.g. "ulimit -s 512"). Before Redhat 7.1, the stack size is fixed at 2M. For example, with tcsh: limit stacksize 512 java ReflectStackOverflow Found 5306 layers of wrapper. hui.huang@Eng 2001-05-15
15-05-2001