Name: elR10090 Date: 03/27/2004
I've adopted the CrashTest into the testbase_vm to fix the RFE:
5012908 Create stress test for hprof and jvmti from CrashTest
And while checking this test against Tiger-b44, I've observed
a number of failure scenarios:
(1) VM crash, core file:
## Problematic frame:
## C [libhprof.so+0x11080]
System:
solaris-sparc (Sun E250, Dual CPU, RAM 1024Mb, Solaris 9):
Command line:
java -Xrunhprof:cpu=samples CrashTest 3000
(2) VM crash, though no core file:
# Internal Error (53484152454432554E54494D450E43505001A1), pid=3771,
tid=1548217792
System:
linux-i586 (Pentium-III, Dual CPU, RAM 512Mb, RedHat 9.0):
Command line:
java -Xrunhprof:cpu=samples CrashTest 3000
(3) VM crash, though no core file:
HPROF ERROR: Cannot exit with raw monitor (JVMTI Error ?(116))
[../../../src/share/tools/newhprof/hprof_util.c:297]
Systems:
solaris-sparc (Sun E250, Dual CPU, RAM 1024Mb, Solaris 9):
linux-i586 (Pentium-III, Dual CPU, RAM 512Mb, RedHat 9.0):
Command line:
java -Xrunhprof:cpu=samples CrashTest 3000
(4) Error message, but no VM crash:
HPROF ERROR: MonitorWaitedEvent missing MonitorWaitEvent?
[../../../src/share/tools/newhprof/hprof_monitor.c:424]
Systems:
solaris-i586 (Pentium-III, 1xCPU, RAM 512Mb, Solaris 8)
linux-i586 (Pentium-III, 2xCPU, RAM 512Mb, RedHat 9.0)
windows-i586 (Pentium-III, 2xCPU, RAM 512Mb, Windows 2000)
Command line:
java -Xrunhprof:monitor=y CrashTest 300
(5) Error message, VM abort:
HPROF ERROR: Unable to get necessary JVMTI capabilities.
[../../../src/share/tools/newhprof/hprof_util.c:1145]
System:
windows-i586 (Pentium-II, 1xCPU, RAM 384Mb, Windows 98SE)
Command lines:
java -Xrunhprof:cpu=samples CrashTest 300
java -Xrunhprof:cpu=times CrashTest 300
java -Xrunhprof:cpu=old CrashTest 300
java -Xrunhprof:monitor=y CrashTest 300
Caution:
This kind of failure looks Win98-specific;
I cannot reproduce it for Windows 2000.
(6) Error message, VM abort:
HPROF ERROR: can't create temp heap file: \s3vvc373.
[../../../src/share/tools/newhprof/hprof_init.c:696]
System:
windows-i586 (Pentium-III, 2xCPU, RAM 512Mb, Windows 2000)
windows-i586 (Pentium-II , 1xCPU, RAM 384Mb, Windows 98SE)
Command line:
java -Xrunhprof CrashTest 300
(7) VM hang-up:
System:
linux-i586 (Pentium-III, 2xCPU, RAM 512Mb, RedHat 9.0)
Command line:
java -Xrunhprof:cpu=samples 3000
All these failures are intermittent.
======================================================================
Name: elR10090 Date: 03/27/2004
These failure affect the following tests:
nsk/hprof/regression/CrashTest/ct01t
nsk/hprof/regression/CrashTest/ct05s
nsk/hprof/regression/CrashTest/ct05t
I'm displaying the test names here to put them
into the vm.knownbugs list of known failures.
======================================================================
Name: elR10090 Date: 04/08/2004
This bug also affects the following tests:
nsk/hprof/regression/HeapThrasher
nsk/hprof/regression/Context/context005
nsk/hprof/regression/Context/context006
nsk/hprof/regression/Context/context007
nsk/hprof/regression/Context/context008
nsk/hprof/regression/CrashTest/ct01s
nsk/hprof/regression/CrashTest/ct05s
nsk/hprof/regression/CrashTest/ct01t
nsk/hprof/regression/CrashTest/ct04t
nsk/hprof/regression/CrashTest/ct05t
I'm adding these test names here to let them
appear at the vm.knownbugs list.
======================================================================
Name: elR10090 Date: 04/12/2004
A new though similar crash is observed against Tiger-b46:
$ java -server -Xcomp -Xrunhprof:cpu=old CrashTest 3000
Launching: 3000 Worker threads
. . .
# Java VM: Java HotSpot(TM) Server VM (1.5.0-beta2-b46 compiled mode)
# Problematic frame:
# V [libjvm.so+0xd21c6]
This crash is observed against Solaris/x86; the affected
test is:
nsk/hprof/regression/CrashTest/ct03t
======================================================================