-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
sparc
-
solaris_8
Name: abR10010 Date: 12/09/2002
--------------------------------------
Test : nsk/regression/b4458946
TestBase : testbase_nsk
Command : java_g
VM : Server VM
Mode : all
Platform : sparc
OS : Solaris 8
----------------------------------------
The nsk/regression/b4458946 test crashes the Mantis-b09 Server VM in debug mode
on Solsparc.
The test passes on other platforms.
The normal java (not java_g) passes this test too.
This failure happens since Mantis-b08.
Mantis-b07 passes this test.
The b4458946 test source:
------------------------------------------------------------------------------
import java.security.SecureRandom;
public class b4458946{
public static void main(String[] args){
SecureRandom rng = new SecureRandom();
byte[] array = new byte[1];
int index = 0;
String testString = null;
char testChar;
StringBuffer buffer = new StringBuffer();
do {
rng.nextBytes(array);
try{
testChar = new String(array, "US-ASCII").charAt(0);
} catch(Exception e){
continue;
}
if (Character.isLetterOrDigit(testChar)) {
buffer.append(testChar);
if (buffer.length() == 8) {
break;
}
}
} while ( true );
String string = buffer.toString();
System.out.println("String == " + string);
System.out.println("String length == " + string.length());
}
} // end of b4458946 class
------------------------------------------------------------------------------
The test output:
% .../jdk1.4.2-b09/solaris-sparc/bin/java_g -server b4458946
String == QuR2v2wy
String length == 8
Unexpected Signal : 10 occurred at PC=0xFE1898C0
Function=[Unknown. Nearest: AsyncGetCallTrace+0x17AAA8]
Library=.../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/server/libjvm_g.so
Dynamic libraries:
0x10000 .../jdk1.4.2-b09/solaris-sparc/bin/java_g
0xff350000 /usr/lib/libthread.so.1
0xff390000 /usr/lib/libdl.so.1
0xff200000 /usr/lib/libc.so.1
0xff330000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfd800000 .../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/server/libjvm_g.so
0xff2d0000 /usr/lib/libCrun.so.1
0xff1d0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff0d0000 /usr/lib/libm.so.1
0xff0b0000 /usr/lib/libsched.so.1
0xff300000 /usr/lib/libw.so.1
0xff090000 /usr/lib/libmp.so.2
0xff050000 .../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/native_threads/libhpi_g.so
0xfd7d0000 .../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libverify_g.so
0xfd780000 .../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libjava_g.so
0xfd740000 .../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libzip_g.so
0xfd540000 /usr/lib/locale/ru_RU.KOI8-R/ru_RU.KOI8-R.so.2
0xfbbd0000 .../dest/jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libnet_g.so
Heap at VM Abort:
Heap
def new generation total 2112K, used 903K [0xf0c00000, 0xf0e20000, 0xf2150000)
eden space 2048K, 44% used [0xf0c00000, 0xf0ce1e48, 0xf0e00000)
from space 64K, 0% used [0xf0e00000, 0xf0e00000, 0xf0e10000)
to space 64K, 0% used [0xf0e10000, 0xf0e10000, 0xf0e20000)
tenured generation total 1408K, used 0K [0xf2150000, 0xf22b0000, 0xf4c00000)
the space 1408K, 0% used [0xf2150000, 0xf2150000, 0xf2150200, 0xf22b0000)
compacting perm gen total 16384K, used 2176K [0xf4c00000, 0xf5c00000, 0xf8c00000)
the space 16384K, 13% used [0xf4c00000, 0xf4e202a0, 0xf4e20400, 0xf5c00000)
Local Time = Mon Dec 9 12:29:15 2002
Elapsed Time = 118
#
# HotSpot Virtual Machine Error : 10
# Error ID : /export1/jdk/jdk1.4.2/hotspot/src/share/vm/runtime/os.cpp, 751 [ Patched ]
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2-beta-b09-debug mixed mode)
#
# An error report file has been saved as hs_err_pid10314.log.
# Please refer to the file for further information.
#
Dumping core....
Abort
======================================================================
Name: abR10010 Date: 12/09/2002
It seems that the same failure happens with the
nsk/regression/b4656449
test.
The b4656449 test source:
------------------------------------------------------------------------------
import java.io.*;
import java.util.*;
public class b4656449 extends Thread {
final static int NUMBER_OF_LOOPS = 4;
public static void main(String argv[]) {
for (int i = 0; i < NUMBER_OF_LOOPS; i++) {
b4656449 test = new b4656449();
test.setDaemon(true);
test.start();
}
}
public void run() {
while (true) {
b4656449 test = new b4656449();
}
}
}
------------------------------------------------------------------------------
The b4656449 test output:
% .../jdk1.4.2-b09/solaris-sparc/bin/java_g -server b4656449
Unexpected Signal : 10 occurred at PC=0xFE1898C0
Function=[Unknown. Nearest: AsyncGetCallTrace+0x17AAA8]
Library=.../jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/server/libjvm_g.so
Dynamic libraries:
0x10000 .../jdk1.4.2-b09/solaris-sparc/bin/java_g
0xff350000 /usr/lib/libthread.so.1
0xff390000 /usr/lib/libdl.so.1
0xff200000 /usr/lib/libc.so.1
0xff330000 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfd800000 .../jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/server/libjvm_g.so
0xff2d0000 /usr/lib/libCrun.so.1
0xff1d0000 /usr/lib/libsocket.so.1
0xff100000 /usr/lib/libnsl.so.1
0xff0d0000 /usr/lib/libm.so.1
0xff0b0000 /usr/lib/libsched.so.1
0xff300000 /usr/lib/libw.so.1
0xff090000 /usr/lib/libmp.so.2
0xff050000 .../jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/native_threads/libhpi_g.so
0xfd7d0000 .../jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libverify_g.so
0xfd780000 .../jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libjava_g.so
0xfd740000 .../jdk1.4.2-b09/solaris-sparc/jre/lib/sparc/libzip_g.so
0xfd540000 /usr/lib/locale/ru_RU.KOI8-R/ru_RU.KOI8-R.so.2
Heap at VM Abort:
Heap
def new generation total 2112K, used 304K [0xf0c00000, 0xf0e20000, 0xf2150000)
eden space 2048K, 14% used [0xf0c00000, 0xf0c4c1a8, 0xf0e00000)
from space 64K, 0% used [0xf0e00000, 0xf0e00000, 0xf0e10000)
to space 64K, 0% used [0xf0e10000, 0xf0e10000, 0xf0e20000)
tenured generation total 1408K, used 0K [0xf2150000, 0xf22b0000, 0xf4c00000)
the space 1408K, 0% used [0xf2150000, 0xf2150000, 0xf2150200, 0xf22b0000)
compacting perm gen total 16384K, used 976K [0xf4c00000, 0xf5c00000, 0xf8c00000)
the space 16384K, 5% used [0xf4c00000, 0xf4cf4120, 0xf4cf4200, 0xf5c00000)
Local Time = Mon Dec 9 17:38:04 2002
Elapsed Time = 19
#
# HotSpot Virtual Machine Error : 10
# Error ID : /export1/jdk/jdk1.4.2/hotspot/src/share/vm/runtime/os.cpp, 751 [ Patched ]
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2-beta-b09-debug mixed mode)
#
# An error report file has been saved as hs_err_pid10544.log.
# Please refer to the file for further information.
#
Dumping core....
Abort
======================================================================
Name: dkR10014 Date: 12/09/2002
This bug also affects the following nsk jdi tests:
nsk/jdi/ExceptionEvent/_itself_/exevent002
nsk/jdi/ExceptionEvent/_itself_/exevent003
nsk/jdi/ExceptionEvent/_itself_/exevent004
nsk/jdi/ExceptionEvent/_itself_/exevent005
nsk/jdi/ExceptionEvent/_itself_/exevent006
nsk/jdi/ExceptionEvent/_itself_/exevent007
nsk/jdi/ExceptionEvent/_itself_/exevent008
nsk/jdi/ExceptionEvent/catchLocation/location002
======================================================================
- relates to
-
JDK-4458946 Intermittent crash upon VM shutdown
-
- Closed
-