Name: pvR10198 Date: 10/16/2002
The following tests from testbase_nsk crash Hotspot VM (build 1.4.2-beta-b03):
nsk/jvmdi/events/fieldacc003
nsk/jvmdi/events/fieldacc004
The tests crashes Hotspot VM (build 1.4.0-b92) and
Hotspot VM (build 1.4.1-b21) as well.
The tests exercise JVMDI event JVMDI_EVENT_FIELD_ACCESS.
The tests set access watches on fields which are defined in
superclass (fieldacc003) and superinterface (fieldacc004),
then trigger access watch events on these fields
and check if clazz, method, location, field_clazz, field and
object fields of the event structure contain expected values.
To reproduce the bug run script in GammaBase/Bugs/<this bug number>
directory for fieldacc003:
sh doit1.sh <JAVA_HOME>
and for fieldacc004:
sh doit2.sh <JAVA_HOME>
Running the tests produce the same output:
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b03)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b03, mixed mode)
Unexpected Signal : 11 occurred at PC=0xFE4A2060
Function=JVM_Close+0x4F1E0
Library=/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/jre/l
ib/sparc/client/libjvm.so
Current Java thread:
at fieldacc004.run(fieldacc004.java:30)
at fieldacc004.main(fieldacc004.java:26)
Dynamic libraries:
0x10000
/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/bin/java
0xff360000 /usr/lib/libthread.so.1
0xff3a0000 /usr/lib/libdl.so.1
0xff280000 /usr/lib/libc.so.1
0xff260000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfe400000
/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/jre/lib/sparc
/client/libjvm.so
0xff200000 /usr/lib/libCrun.so.1
0xff1e0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff1b0000 /usr/lib/libm.so.1
0xff0e0000 /usr/lib/libsched.so.1
0xff230000 /usr/lib/libw.so.1
0xff0a0000 /usr/lib/libmp.so.2
0xff070000
/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/jre/lib/sparc
/native_threads/libhpi.so
0xff040000
/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/jre/lib/sparc
/libverify.so
0xfe3c0000
/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/jre/lib/sparc
/libjava.so
0xfe3a0000
/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b03/binaries/solaris-sparc/jre/lib/sparc
/libzip.so
0xfc9e0000 /usr/lib/locale/ru.koi8-r/ru.koi8-r.so.2
0xfc9c0000 ./sparc/libfieldacc004.so
Local Time = Wed Oct 16 10:40:46 2002
Elapsed Time = 1
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002E2 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-beta-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid1362.log.
# Please refer to the file for further information.
#
Abort
Exit Code: 134
dbx shows the following stacktrace:
core file header read successfully
detected a multithreaded program
t@1 (l@1) terminated by signal ABRT (Abort)
current thread: t@1
=>[1] __sigprocmask(0x0, 0xffbecc18, 0x0, 0xffffffff, 0xffffffff, 0x0), at
0xff379d18
[2] _resetsig(0xff38c9ac, 0x0, 0x0, 0x0, 0x2878c, 0x28790), at 0xff36f354
[3] _sigon(0xff3942c0, 0xff3942a0, 0x28788, 0xffbeccec, 0x6, 0xff2cdf94), at
0xff36eb10
[4] _thrp_kill(0x0, 0x1, 0x6, 0xff38c9ac, 0x28710, 0xff393c1c), at 0xff3718e4
[5] abort(0xff335ad4, 0xffbecde0, 0x0, 0xfffffff8, 0x0, 0xffbece01), at
0xff2b95d0
[6] os::abort(0x1, 0xfe79c245, 0xffbece80, 0x0, 0xfe7e0590, 0xfe71ad30), at
0xfe71c568
[7] os::handle_unexpected_exception(0x2d8f8, 0xb, 0xfe4a2060, 0xffbedc38,
0xfe71e918, 0x0), at 0xfe71ada0
[8] JVM_handle_solaris_signal(0xfe4a2060, 0xffbedc38, 0xffbed980, 0x3000,
0x3244, 0x28778), at 0xfe71f164
[9] __libthread_segvhdlr(0xb, 0xffbedc38, 0xffbed980, 0xff38c9ac, 0x0, 0x0),
at 0xff3792d0
[10] __sighndlr(0xb, 0xffbedc38, 0xffbed980, 0xff3791f0, 0x28798, 0x28778), at
0xff37bd78
[11] sigacthandler(0xb, 0x28710, 0xffbed980, 0xff38c9ac, 0xffbedc38, 0x28710),
at 0xff378644
---- called from signal handler with signal 11 (SIGSEGV) ------
[12] instanceKlass::find_method(0xf5d2fc00, 0xf5c03168, 0xf5c03670,
0xf5d0092e, 0x2f, 0xffbee4c8), at 0xfe4a2060
[13] instanceKlass::uncached_lookup_method(0xf5d2fd18, 0xf5c03168, 0xf5c03670,
0x2dea4, 0x2cdb8, 0xf5c142f8), at 0xfe4a2000
[14] LinkResolver::lookup_method_in_klasses(0xffbedfc8, 0xffbede9c,
0xffbede98, 0xffbede94, 0x2d8f8, 0xfe49ee40), at 0xfe4c880c
[15] LinkResolver::resolve_method(0xffbedfc8, 0xffbedf34, 0xffbedf30,
0xffbedf2c, 0xffbedf28, 0x1), at 0xfe4c835c
[16] LinkResolver::linktime_resolve_special_method(0xffbedfc8, 0xffbedfc4,
0xffbedfc0, 0xffbedfbc, 0xffbedfb8, 0x1), at 0xfe4ccf98
[17] LinkResolver::resolve_invoke(0xffbee2ec, 0xffbee2b4, 0xffbee2b0, 0x4,
0xb7, 0x2d8f8), at 0xfe4c708c
[18] InterpreterRuntime::resolve_invoke(0x2d8f8, 0xb7, 0x5, 0x14, 0xf5d2ffc8,
0x0), at 0xfe4c6074
[19] 0xfa0186bc(0x2d8f8, 0xb8, 0xf5d309d8, 0xfa018680, 0x0, 0xffbee448), at
0xfa0186bb
[20] 0xfa005cd4(0xffbee528, 0x0, 0x0, 0xfa018820, 0x313890, 0xffbee4c8), at
0xfa005cd3
[21] 0xfa000120(0xffbee5b0, 0xffbee788, 0xa, 0xf5d303b8, 0xfa00be60,
0xffbee694), at 0xfa00011f
[22] JavaCalls::call_helper(0xffbee780, 0xffbee65c, 0xffbee68c, 0x2d8f8,
0x2d8f8, 0x4c00), at 0xfe4c54cc
[23] jni_invoke_static(0x2d988, 0xffbee780, 0x0, 0x0, 0xc3e30, 0xffbee764), at
0xfe4da280
[24] jni_CallStaticVoidMethod(0x2d988, 0x2e3a8, 0xc3e30, 0x2e390, 0x2d988,
0xff00), at 0xfe566cc0
[25] main(0x5, 0x0, 0xc3e30, 0x2e390, 0x0, 0x280), at 0x1237c
The tests will be available in the next release v141r17.
======================================================================
Name: egR10015 Date: 10/21/2002
javag shows that the following assertion fires on all platforms
regardless of C1/C2:
# HotSpot Virtual Machine Error, assertion failure
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2-beta-b03-debug mixed mode)
#
# assert(is_within_bounds(which), "index out of bounds")
#
# Error ID: /export1/jdk/jdk1.4.2/hotspot/src/share/vm/oops/typeArrayOop.hpp, 54
[ Patched ]
#
# Problematic Thread: prio=5 tid=0x0003e050 nid=0x1 runnable
#
Dumping core....
Eugene Gorbachev <###@###.###>
======================================================================