-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
2.0, 1.3.0
-
generic
-
generic
Name: dkC59003 Date: 12/08/99
The regression test (testbase_nsk) nsk/regression/b4289162 causes crash of
the HotSparc 2.0-A on Solaris, HotSpot 2.0rc1-I and
HotSpot 1.3fcs-P (internal build: ...) on win32.
The test sets BREAKPOINT in emptyMethod and when BREAKPOINT
is caught the test calls
SetEventNotificationMode(JVMDI_ENABLE, JVMDI_EVENT_SINGLE_STEP, ...)
method, which crashes VM.
It had been checked that the same happens with not-empty method.
To reproduce the bug run doit.sh on Solaris and doit.bat on win32 in
GammaBase/Bugs/<this bug number>.
See logs:
On Solaris:
% doit.sh
java version "1.2.2"
Java(TM) HotSpot Server VM (2.0, mixed mode, build A)
----> loadLibrary("b4289162") - COMPLETED
----> breakpoint_init: BREAKPOINT is set for b4289162.emptyMethod()
----> RUN: emptyMethod_call_counter = 1
----> catch_BREAKPOINT: breakpoint_counter = 1
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
#
# Error ID: 4F533F534F4C415249530E4350500791 01
#
(Error ID: os_solaris.cpp, 1937)
On win32:
% doit.bat
java version "1.2.2"
Java HotSpot(TM) Server VM (2.0rc1, mixed mode, build I)
----> loadLibrary("b4289162") - COMPLETED
----> breakpoint_init: BREAKPOINT is set for b4289162.emptyMethod()
----> RUN: emptyMethod_call_counter = 1
----> catch_BREAKPOINT: breakpoint_counter = 1
#
# HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
#
# Error ID: 4F533F57494E13120E43505002D9
#
(Error ID: os_win32.cpp, 729)
% doit.bat
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-Q)
Java HotSpot(TM) Client VM (build 1.3-internal, mixed mode)
----> loadLibrary("b4289162") - COMPLETED
----> breakpoint_init: BREAKPOINT is set for b4289162.emptyMethod()
----> RUN: emptyMethod_call_counter = 1
----> catch_BREAKPOINT: breakpoint_counter = 1
#
# HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
#
# Error ID: 4F533F57494E13120E43505002BE
#
(Error ID: os_win32.cpp, 702)
abnormal program termination
Expected log is:
----> loadLibrary("b4289162") - COMPLETED
----> breakpoint_init: BREAKPOINT is set for b4289162.emptyMethod()
----> RUN: emptyMethod_call_counter = 1
----> catch_BREAKPOINT: breakpoint_counter = 1
----> Set Event Notification Mode(JVMDI_ENABLE, JVMDI_EVENT_SINGLE_STEP) - MADE!
----> catch__SINGLE_STEP: breakpoint_counter = 1
----> Set Event Notification Mode(JVMDI_DISABLE, JVMDI_EVENT_SINGLE_STEP) - MADE!
----> RUN: emptyMethod_exit_counter = 1
----> RUN: emptyMethod_call_counter = 2
----> catch_BREAKPOINT: breakpoint_counter = 2
----> RUN: emptyMethod_exit_counter = 2
----> RUN: emptyMethod_call_counter = 3
----> catch_BREAKPOINT: breakpoint_counter = 3
----> RUN: emptyMethod_exit_counter = 3
----> RUN: emptyMethod_call_counter = 4
----> catch_BREAKPOINT: breakpoint_counter = 4
----> RUN: emptyMethod_exit_counter = 4
----> RUN: emptyMethod_call_counter = 5
----> catch_BREAKPOINT: breakpoint_counter = 5
----> RUN: emptyMethod_exit_counter = 5
----> Test nsk/regression/4289162 PASSED
======================================================================
- relates to
-
JDK-4298263 JVMDI: HotSparc VM crashes when JVMDI_EVENT_SINGLE_STEP is set after BREAKPOINT
-
- Closed
-