-
Bug
-
Resolution: Fixed
-
P2
-
1.3.1, 1.4.0
-
beta2
-
generic
-
generic
-
Verified
Name: elR10090 Date: 02/27/2001
HS running tests against ArrayType.newInstance() method,
crashs when newInstance() method is applied to
ArrayType objects in a debugeer
mirroring arrays in a debuggee
whose components are either classes or interfaces,
that is, non-primitive values.
The crashes are observed
for JDI versions 1.3.1-rc1-b17 and 1.4.0-beta-b52
when HS 1.3.1-rc1-b17 or 1.4.0-beta-b52 is runnning a test program
on the following H/S configurations:
- SUNW Ultra1: sparc 200MHz, RAM 128Mb;
OS: Solaris-8;
JVM: Client & Server
- Intel: two Pentium-III 600MHz processors, RAM 512Mb;
OS: Solaris-8;
JVM: Client & Server
- Intel: two Pentium-III 600MHz processors, RAM 512Mb;
OS: Linux/RedHat6.2;
JVM: Client & Server
- Intel: Pentium-II 350MHz, RAM 128Mb;
OS: WinNT/4-Workstation;
JVM: Client & Server
Note: When running on Solaris-8, both hardware platforms,
the tests resulted in Core dump.
Test logs and core dump log files are below.
Steps to reproduce the bug:
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{this bug ID}
2. ksh doit3.sh {JAVA_HOME} or
doit4.sh {JAVA_HOME }
(see 'Note' related to '// log by doit4.sh' below)
The tests will be in the next release of testbase_nsk
which is accessable through:
/net/sqesvr.eng/export/vsn/VM/testbase/testbase_nsk
This bug affects the following testbase_nsk tests:
nsk/jdi/ArrayType/newInstance/newinstance003
nsk/jdi/ArrayType/newInstance/newinstance004
///////////////////////////////////////////////////////////////////////
// log by doit3.sh
java version "1.3.1-rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b17)
Java HotSpot(TM) Client VM (build 1.3.1rc1-b17, mixed mode)
VirtualMachineManager: version 1.3
LaunchingConnector:
name: com.sun.jdi.CommandLineLaunch
description: Launches target using Sun Java VM command line and attaches to
it
transport: dt_socket
Arguments: {home=home=/export/ld50/java/dest/jdk1.3.1-b17/solsparc,
vmexec=vmexec=java, options=options=,
main=main=nsk.jdi.ArrayType.newInstance.newinstance003a -vbs, quote=quote=",
suspend=suspend=true}
--> newinstance003: newinstance003a debuggee launched
**> newinstance003a: debuggee started!
--> newinstance003: 'ready' recieved
==> nsk/jdi/ArrayType/newInstance/newinstance003 TESTING BEGINS
**> newinstance003a: waiting for an instruction from the debugger ...
==> nsk/jdi/ArrayType/newInstance/newinstance003 new check: #0
**> newinstance003a: waiting for an instruction from the debugger ...
--> newinstance003: 1111111111
--> newinstance003: 2222222222
##> newinstance003: ERROR: Exception: com.sun.jdi.VMDisconnectedException
##> newinstance003: ERROR: returned string is not 'checkready'
==> nsk/jdi/ArrayType/newInstance/newinstance003 TESTING ENDS
--> newinstance003: waiting for the debuggee to finish ...
##> newinstance003: debuggee returned UNEXPECTED exit status: 6 != PASS_BASE
TEST FAILED
----------------------------------------------------------------------
// log by doit4.sh
// Note: a test program is slightly changed
// in order not to catch the exception as in a standard test
// that gives full stack of called methods
java version "1.3.1-rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b17)
Java HotSpot(TM) Client VM (build 1.3.1rc1-b17, mixed mode)
VirtualMachineManager: version 1.3
LaunchingConnector:
name: com.sun.jdi.CommandLineLaunch
description: Launches target using Sun Java VM command line and attaches to
it
transport: dt_socket
Arguments: {home=home=/export/ld50/java/dest/jdk1.3.1-b17/solsparc,
vmexec=vmexec=java, options=options=,
main=main=nsk.jdi.ArrayType.newInstance.newinstance004a -vbs, quote=quote=",
suspend=suspend=true}
--> newinstance004: newinstance004a debuggee launched
**> newinstance004a: debuggee started!
--> newinstance004: 'ready' recieved
==> nsk/jdi/ArrayType/newInstance/newinstance004 TESTING BEGINS
**> newinstance004a: waiting for an instruction from the debugger ...
==> nsk/jdi/ArrayType/newInstance/newinstance004 new check: #0
**> newinstance004a: waiting for an instruction from the debugger ...
--> newinstance004: 1111111111
--> newinstance004: 2222222222
Exception in thread "main" com.sun.jdi.VMDisconnectedException
at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:271)
at
com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:
695)
at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:54)
at
com.sun.tools.jdi.JDWP$ArrayType$NewInstance.waitForReply(JDWP.java:2337)
at com.sun.tools.jdi.JDWP$ArrayType$NewInstance.process(JDWP.java:2313)
at com.sun.tools.jdi.ArrayTypeImpl.newInstance(ArrayTypeImpl.java:29)
at
nsk.jdi.ArrayType.newInstance.newinstance004.runThis(newinstance004.java:175)
at
nsk.jdi.ArrayType.newInstance.newinstance004.main(newinstance004.java:57)
-----------------------------------------------------------
// Core dump log file when the test run on Solaris-Sparc
Unexpected Signal : 11 occurred at PC=0xfe511474
Function name=JVM_NewInstance
Library=/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/jre/lib/sparc/client/li
bjvm.so
Current Java thread:
Dynamic libraries:
0x10000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/bin/../bin/sparc/native_threads
/java
0xff360000 /usr/lib/libthread.so.1
0xff3a0000 /usr/lib/libdl.so.1
0xff280000 /usr/lib/libc.so.1
0xff270000 /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1
0xfe400000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/jre/lib/sparc/client/libjvm.so
0xff210000 /usr/lib/libCrun.so.1
0xff1f0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff0d0000 /opt/SUNWspro/lib/libm.so.1
0xff240000 /usr/lib/libw.so.1
0xff0b0000 /usr/lib/libmp.so.2
0xff090000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/jre/lib/sparc/native_threads/li
bhpi.so
0xff060000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/jre/lib/sparc/libverify.so
0xff020000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/jre/lib/sparc/libjava.so
0xfe7e0000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/jre/lib/sparc/libzip.so
0xfcfe0000 /usr/lib/locale/ru_RU.KOI8-R/ru_RU.KOI8-R.so.2
0xfccc0000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/bin/../jre/../lib/sparc/libjdwp
.so
0xfcfc0000
/export/ld50/java/dest/jdk1.4.0beta-b52/solsparc/bin/../jre/../lib/sparc/libdt_s
ocket.so
0xfcca0000 /usr/lib/nss_nisplus.so.1
0xfcc70000 /usr/lib/libdoor.so.1
Local Time = Fri Feb 23 09:35:10 2001
Elapsed Time = 3
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002C3 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4beta-B52 interpreted mode)
#
------------------------------------------------------------------------
// Core dump log file when the test run on Solaris-x86
Unexpected Signal : 11 occurred at PC=0xdf8f1915
Function name=JVM_NewInstance
Library=/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/lib/i386/client/libjv
m.so
Current Java thread:
Dynamic libraries:
0x8048000
/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/bin/../bin/i386/native_thread
s/java
0xdfb80000 /usr/lib/libthread.so.1
0xdfbc0000 /usr/lib/libdl.so.1
0xdfac0000 /usr/lib/libc.so.1
0xdf860000
/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/lib/i386/client/libjvm.so
0xdf840000 /usr/lib/libCrun.so.1
0xdf820000 /usr/lib/libsocket.so.1
0xdef60000 /usr/lib/libnsl.so.1
0xdef40000 /opt/SUNWspro/lib/libm.so.1
0xdfa80000 /usr/lib/libw.so.1
0xdef10000 /usr/lib/libmp.so.2
0xdeef0000
/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/lib/i386/native_threads/libhp
i.so
0xdeed0000
/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/lib/i386/libverify.so
0xdeeb0000
/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/lib/i386/libjava.so
0xdee80000
/export/ld59/java/dest/jdk1.4.0beta-b52/solx86/jre/lib/i386/libzip.so
0xdd5d0000
/export/ld24/java/hotspot/jdk1.4/solx86/bin/../jre/../lib/i386/libjdwp.so
0xdd5c0000
/export/ld24/java/hotspot/jdk1.4/solx86/bin/../jre/../lib/i386/libdt_socket.so
0xdd590000 /usr/lib/nss_nisplus.so.1
0xdd560000 /usr/lib/libdoor.so.1
Local Time = Thu Feb 22 11:41:53 2001
Elapsed Time = 1
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002C3
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4beta-B52 interpreted mode)
#
======================================================================
- relates to
-
JDK-8255987 JDI tests fail with com.sun.jdi.ObjectCollectedException
-
- Resolved
-