-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.3.0
-
sparc
-
solaris_7
Name: szR10032 Date: 06/21/2000
/net/sqesvr/export/vsn/testbase/testbase_nsk/src/nsk/coverage/resourcearea/resou
rcearea001
test __intermittently__ destroys java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-b19)
Java HotSpot(TM) Server VM (build 1.3-internal, compiled mode).
The test provokes concurrent consuming the thread's,
object's, stack's, reference's resources in some aggressive manner.
The test reveals different kinds of abnormal VM behaviour, for example:
- Abort (core dumped)
- Segmentation Fault (core dumped)
- An unexpected exception in native code
To reproduce the bugs run
doit_separately.sh <jdk root directory>
or (more effective run for failures revealing)
doit_jointly_1.sh <jdk root directory>
or
doit_jointly_2.sh <jdk root directory>
or
doit_jointly_3.sh <jdk root directory>
in
/net/sqesvr/export/vsn/GammaBase/Bugs/<this bug number>:
sparc-S1% cd .../GammaBase/Bugs/<this bug number>
sparc-S1% sh -f doit_separately.sh /export/ld24/java/hotspot/Solaris_JDK_1.3
sparc-S1% sh -f doit_jointly_1.sh /export/ld24/java/hotspot/Solaris_JDK_1.3
sparc-S1% sh -f doit_jointly_2.sh /export/ld24/java/hotspot/Solaris_JDK_1.3
sparc-S1% sh -f doit_jointly_3.sh /export/ld24/java/hotspot/Solaris_JDK_1.3
Please see some LOGs, as example:
(LOG1)--------------------------------------------------------------------------
-------
sparc-S1% sh -f doit_jointly_2.sh /export/ld24/java/hotspot/Solaris_JDK_1.3
Note: resourcearea002.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-b19)
Java HotSpot(TM) Server VM (build 1.3-internal, compiled mode)
===========================================================
Exception java.lang.OutOfMemoryError: requested 7602176 bytes
Exception java.lang.OutOfMemoryError: requested 2293760 bytes
java.lang.OutOfMemoryError
<<no stack trace available>>
java.lang.OutOfMemoryError
<<no stack trace available>>
java.lang.OutOfMemoryError
28173 Abort - core dumped
28170 Abort - core dumped
===========================================================
sparc-S1%
(LOG2)--------------------------------------------------------------------------
-------
sparc-S1% time /export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java -server -Xcomp
resourcearea001
...
WARNING: cntr++!
#GrowableObject#
#grstr#
#resourcearea001.run#
#resourcearea001.Counter#
WARNING: cntr++!
#GrowableObject#
#grstr#
#resourcearea001.run#
#resourcearea001.Counter#
WARNING: cntr++!
#GrowableReferencesOnObjects#
#resourcearea001.run#
#grstr#
Exception java.lang.OutOfMemoryError: requested 4517896 bytes
Abort (core dumped)
25.0u 2.0s 2:47 16% 0+0k 0+0io 0pf+0w
sparc-S1%
(LOG3)--------------------------------------------------------------------------
-------
novo7% /export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java -server -Xcomp
resourcearea001&;/export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java -server
-Xcomp resourcearea001&;/export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java
-server -Xcomp
resourcearea001&;/export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java -server
-Xcomp resourcearea001&;/export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java
-server -Xcomp resourcearea001
[1] 24197
[2] 24198
[3] 24199
[4] 24200
# # An unexpected exception has been detected in native code outside the VM.#
Program counter=0xef77eaf0
#
# Problematic Thread: prio=5 tid=0xd0ac0 nid=0x4 runnable
#
# # An unexpected exception has been detected in native code outside the VM.#
Program counter=0xef77eaf0
#
# Problematic Thread: prio=10 tid=0x146a70 nid=0x1a runnable
#
Abort (core dumped)
[2] Segmentation Fault /export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java
-server -Xcomp ... (core dumped)
[1] Abort /export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java
-server -Xcomp ... (core dumped)
novo7%
(LOG4)--------------------------------------------------------------------------
-------
sparc-S1% time /export/ld24/java/hotspot/Solaris_JDK_1.3/bin/java -server
-Xmixed resourcearea001
...
#resourcearea001.Counter#
#ist#
#resourcearea001.Counter#
#ist#
#resourcearea001.Counter#
#ist#
#resourcearea001.Counter#
#ist#
Segmentation Fault (core dumped)
7.0u 4.0s 5:38 3% 0+0k 0+0io 0pf+0w
sparc-S1%
--------------------------------------------------------------------------------
----
======================================================================