-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.1
-
hopper
-
generic, sparc
-
generic, solaris_8
-
Verified
Name: elR10090 Date: 12/10/2001
The following test from testbase_nsk crashes the Hotspot VM
(build 1.4.0-rc-b89) on all platforms in all modes:
nsk/jvmdi/GetAllThreads/allthr002
The test exercises JVMDI function GetAllThreads(threadsCountPtr, threadsPtr).
The test checks if the function returns:
- JVMDI_ERROR_NULL_POINTER if a value of the threadsCountPtr is null
- JVMDI_ERROR_NULL_POINTER if a value of the threadsPtr is null
To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:
sh doit.sh <JAVA_HOME>
Running the test outputs:
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b89, mixed mode)
Unexpected Signal : 11 occurred at PC=0xFE290DE8
Function=[Unknown. Nearest: JVM_RaiseSignal+0xE5D8]
Library=/export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/client/libjvm.so
Current Java thread:
at allthr002.check(Native Method)
at allthr002.run(allthr002.java:30)
at allthr002.main(allthr002.java:26)
Dynamic libraries:
0x10000 /home/vpn/merlin/solsparc/bin/java
0xff350000 /usr/lib/libthread.so.1
0xff390000 /usr/lib/libdl.so.1
0xff200000 /usr/lib/libc.so.1
0xff330000 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
0xfe000000 /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/client/libjvm.so
0xff2d0000 /usr/lib/libCrun.so.1
0xff1e0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff0d0000 /usr/lib/libm.so.1
0xff300000 /usr/lib/libw.so.1
0xff0b0000 /usr/lib/libmp.so.2
0xff080000 /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/native_threads/libhpi.so
0xff050000 /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/libverify.so
0xff020000 /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/libjava.so
0xfe7e0000 /export/ld54/java/dest/jdk1.4.0beta-b89/solsparc/jre/lib/sparc/libzip.so
0xfe5b0000 ./sparc/liballthr002.so
Local Time = Mon Dec 10 14:48:48 2001
Elapsed Time = 0
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002D3 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b89 mixed mode)
#
# An error report file has been saved as hs_err_pid8451.log.
# Please refer to the file for further information.
#
Abort
Exit Code: 134
(Error ID: os.cpp, 723)
======================================================================