-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
generic
-
generic
Name: elR10090 Date: 11/05/2001
Test: nsk/jvmdi/events/exception001
Base: testbase_nsk
Mode: -client -Xcomp
OS: generic
The following test from testbase_nsk crashes the Client Hotspot VM
(build 1.4.0-beta3-b84, compiled mode):
nsk/jvmdi/events/exception001
This failure is observed on all platforms (Solaris, Linux and Windows).
The test exercise JVMDI event JVMDI_EVENT_EXCEPTION by provoking
exceptions then checking if the fields of exception events contain
the expected values. The test raises the following exceptions:
- custom exception001c extended Throwable by throwing;
- ArithmeticException by division with zero devisor;
- IndexOutOfBoundsException by using out of range array index.
To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:
sh doit.sh <JAVA_HOME> -Xcomp
or
sh doit.sh <JAVA_HOME> -g -Xcomp
for the debug VM.
Running the test outputs:
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, compiled mode)
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta3-b84 compiled mode)
#
# Error ID: 455843455054494F4E530E43505000DD 01
#
# Problematic Thread: prio=5 tid=0x2b2c0 nid=0x1 runnable
#
Abort
Exit Code: 134
(Error ID: exceptions.cpp, 221)
Running with the debug VM the test outputs:
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84-debug, compiled mode)
java.lang.ArithmeticException
- klass: 'java/lang/ArithmeticException'
fields:
- private transient 'backtrace' 'Ljava/lang/Object;' @8 'java/lang/Object'a
[3] {other class} (f18414b8)
- private 'detailMessage' 'Ljava/lang/String;' @12 "/ by zero" (f1841488)
- private 'cause' 'Ljava/lang/Throwable;' @16 a
'java/lang/ArithmeticException' (f18414a0)
- private 'stackTrace' '[Ljava/lang/StackTraceElement;' @20 NULL (0)
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta3-b84-debug compiled mode)
#
# Fatal: ExceptionMark constructor expects no pending exceptions
#
# Error ID:
/export/home3/jdk/jdk1.4/ws/hotspot/src/share/vm/utilities/exceptions.cpp, 221 [
Patched ]
#
# Problematic Thread: prio=5 tid=0x3d3e0 nid=0x1 runnable
#
Dumping core....
Abort
Exit Code: 134
======================================================================
- duplicates
-
JDK-4515254 Too many ExceptionEvents are generated for one exception
-
- Closed
-