Following 7 JCK1.3rc1 tests failed when running with
productionJDK build03 with Hotspot 2.0 client VM
It fail with the same message:
"An unexpected exception has been detected in native code outside the VM."
api/java/awt/java2d/image/WritableRaster/index/CreateBandedRasterTest1
api/java/util/Arrays/TestDesc/Arrays.asList(Object[])/pass
api/java/util/BitSet/index/and
api/java/util/BitSet/index/andNot
api/java/util/BitSet/index/or
api/java/util/BitSet/index/xor
vm/concepts/exceptions/exceptions031/exceptions03101/exceptions03101
Hot to reproduce the bug:
1. get the accached file and untar it.
2. edit doIt.ksh if necessary.
3. run doIt.ksh script to reproduce the bug.
$ ksh doIt.ksh
Machine info: SunOS toasteroven 5.7 Generic_106541-09 sun4u sparc SUNW,Ultra-Enterprise
java_g full version "Solaris_JDK_1.3-b03"
Java HotSpot(TM) Client VM (2.0, mixed mode, internal debug build)
java -cp /usr/local/java/jck1.3/JCK-runtime-13rc1/javatest.jar:/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../classes javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../classes:/usr/local/java/jck1.3/JCK-runtime-13rc1/javatest.jar DISPLAY=ultrawolf:0 HOME=/home/fhsu LD_LIBRARY_PATH=/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../lib /net/minifridge/export/jdk/Solaris_JDK_1.3-b03/bin/java_g -hotspot -Xmixed -verify -Djava.security.policy=/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../lib/jck.policy javasoft.sqe.tests.api.java.awt.java2d.image.WritableRaster.CreateBandedRasterTest1
=== output ======================
----------------------------------------------------------------
AssertionTest Report
----------------------------------------------------------------
Method Name : public static java.awt.image.WritableRaster java.awt.image.Raster.createBandedRaster(int,int,int,int,java.awt.Point)
Class Name : class java.awt.image.Raster
----------------------------------------------------------------
#
# An unexpected exception has been detected in native code outside the VM.
# Program counter=0xeac12dd0
#
# Problematic Thread: prio=5 tid=0x318b0 nid=0x1 runnable
#
Dumping core....
STATUS:Failed.exit code 6
allan.jacobs@Eng 2000-02-29
First. The problem persists into build 04.
Second. There are other tests that get the same error.
JCK-runtime-13rc1/tests/api/java_awt/java2d/geom/RoundRectangle2DFloat/index.html#GetPathIteratorTesttestCase1
JCK-runtime-13rc1/tests/api/java_awt/java2d/geom/RoundRectangle2DFloat/index.html#GetPathIteratorTesttestCase2
JCK-runtime-13rc1/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreateBandedRasterTest1
JCK-runtime-13rc1/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreateBandedRasterTest2
JCK-runtime-13rc1/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreatePackedRasterTest1
JCK-runtime-13rc1/tests/api/java_lang/ref/SoftReference01/SoftReference0101/SoftReference0101.html
JCK-runtime-13rc1/tests/api/java_text/ChoiceFormat/index.html#Ctor
JCK-runtime-13rc1/tests/api/java_text/ChoiceFormat/index.html#SetGet
JCK-runtime-13rc1/tests/api/java_text/MessageFormat/index.html#Format
JCK-runtime-13rc1/tests/api/java_text/MessageFormat/index.html#Pattern
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#ChoiceFormat
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#DateFormat
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#MessageFormat
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#NumberFormat
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#Constr1
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#and
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#andNot
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#clear
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#clone
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#get
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#hashCode
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#or
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#set
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#toString
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#xor
JCK-runtime-13rc1/tests/api/javax_swing/text/LayoutQueue/index.html#LayoutQueue
JCK-runtime-13rc1/tests/lang/CLSS/clss146/clss14601/clss14601.html
JCK-runtime-13rc1/tests/lang/EXPR/expr015/expr01501/expr01501.html
JCK-runtime-13rc1/tests/lang/EXPR/expr015/expr01502/expr01502.html
vm/concepts/exceptions/exceptions031/exceptions03101/exceptions03101.html
Third. The attachment bugs.tar.Z is garbled.
algol% tar -xvf bugs.tar
x api_java_awt_java2d_image_WritableRaster_index_CreateBandedRasterTest1, 0 bytes, 0 tape blocks
tar: directory checksum error
Fourth. The HTML, java source, and a script for GetPathIteratorTesttestCase1
have been attached. Hopefully, bugtraq won't befowl these attachments, too. The
script X.ksh will run the test outside the JavaTest (yuck) harness.
allan.jacobs@Eng 2000-02-29
The problem can be isolated in a 7 line Java source:
public class X {
public static void main(String args[]) {
double [] a;
try { a = new double [Integer.MAX_VALUE]; }
catch (OutOfMemoryError e) { }
}
}
algol% /usr/java1.3/bin/javac -d . X.java
algol% /usr/java1.3/bin/java -hotspot -Xcomp -cp ${PWD} X
#
# An unexpected exception has been detected in native code outside the VM.
# Program counter=0xfb080a68
#
# Problematic Thread: prio=5 tid=0x281a0 nid=0x1 runnable
#
allan.jacobs@Eng 2000-03-01
JCK-runtime-13rc1/tests/lang/EXPR/expr015/expr01501/expr01501.html is not failing in the
same manner as the rest of the tests, but it is failing because of anomolous
treatment of OutOfMemoryErrors. See the Comments field.
allan.jacobs@Eng 2000-03-01
productionJDK build03 with Hotspot 2.0 client VM
It fail with the same message:
"An unexpected exception has been detected in native code outside the VM."
api/java/awt/java2d/image/WritableRaster/index/CreateBandedRasterTest1
api/java/util/Arrays/TestDesc/Arrays.asList(Object[])/pass
api/java/util/BitSet/index/and
api/java/util/BitSet/index/andNot
api/java/util/BitSet/index/or
api/java/util/BitSet/index/xor
vm/concepts/exceptions/exceptions031/exceptions03101/exceptions03101
Hot to reproduce the bug:
1. get the accached file and untar it.
2. edit doIt.ksh if necessary.
3. run doIt.ksh script to reproduce the bug.
$ ksh doIt.ksh
Machine info: SunOS toasteroven 5.7 Generic_106541-09 sun4u sparc SUNW,Ultra-Enterprise
java_g full version "Solaris_JDK_1.3-b03"
Java HotSpot(TM) Client VM (2.0, mixed mode, internal debug build)
java -cp /usr/local/java/jck1.3/JCK-runtime-13rc1/javatest.jar:/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../classes javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../classes:/usr/local/java/jck1.3/JCK-runtime-13rc1/javatest.jar DISPLAY=ultrawolf:0 HOME=/home/fhsu LD_LIBRARY_PATH=/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../lib /net/minifridge/export/jdk/Solaris_JDK_1.3-b03/bin/java_g -hotspot -Xmixed -verify -Djava.security.policy=/usr/local/java/jck1.3/JCK-runtime-13rc1/tests/../lib/jck.policy javasoft.sqe.tests.api.java.awt.java2d.image.WritableRaster.CreateBandedRasterTest1
=== output ======================
----------------------------------------------------------------
AssertionTest Report
----------------------------------------------------------------
Method Name : public static java.awt.image.WritableRaster java.awt.image.Raster.createBandedRaster(int,int,int,int,java.awt.Point)
Class Name : class java.awt.image.Raster
----------------------------------------------------------------
#
# An unexpected exception has been detected in native code outside the VM.
# Program counter=0xeac12dd0
#
# Problematic Thread: prio=5 tid=0x318b0 nid=0x1 runnable
#
Dumping core....
STATUS:Failed.exit code 6
allan.jacobs@Eng 2000-02-29
First. The problem persists into build 04.
Second. There are other tests that get the same error.
JCK-runtime-13rc1/tests/api/java_awt/java2d/geom/RoundRectangle2DFloat/index.html#GetPathIteratorTesttestCase1
JCK-runtime-13rc1/tests/api/java_awt/java2d/geom/RoundRectangle2DFloat/index.html#GetPathIteratorTesttestCase2
JCK-runtime-13rc1/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreateBandedRasterTest1
JCK-runtime-13rc1/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreateBandedRasterTest2
JCK-runtime-13rc1/tests/api/java_awt/java2d/image/WritableRaster/index.html#CreatePackedRasterTest1
JCK-runtime-13rc1/tests/api/java_lang/ref/SoftReference01/SoftReference0101/SoftReference0101.html
JCK-runtime-13rc1/tests/api/java_text/ChoiceFormat/index.html#Ctor
JCK-runtime-13rc1/tests/api/java_text/ChoiceFormat/index.html#SetGet
JCK-runtime-13rc1/tests/api/java_text/MessageFormat/index.html#Format
JCK-runtime-13rc1/tests/api/java_text/MessageFormat/index.html#Pattern
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#ChoiceFormat
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#DateFormat
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#MessageFormat
JCK-runtime-13rc1/tests/api/java_text/serialization/descriptions.html#NumberFormat
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#Constr1
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#and
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#andNot
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#clear
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#clone
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#get
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#hashCode
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#or
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#set
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#toString
JCK-runtime-13rc1/tests/api/java_util/BitSet/index.html#xor
JCK-runtime-13rc1/tests/api/javax_swing/text/LayoutQueue/index.html#LayoutQueue
JCK-runtime-13rc1/tests/lang/CLSS/clss146/clss14601/clss14601.html
JCK-runtime-13rc1/tests/lang/EXPR/expr015/expr01501/expr01501.html
JCK-runtime-13rc1/tests/lang/EXPR/expr015/expr01502/expr01502.html
vm/concepts/exceptions/exceptions031/exceptions03101/exceptions03101.html
Third. The attachment bugs.tar.Z is garbled.
algol% tar -xvf bugs.tar
x api_java_awt_java2d_image_WritableRaster_index_CreateBandedRasterTest1, 0 bytes, 0 tape blocks
tar: directory checksum error
Fourth. The HTML, java source, and a script for GetPathIteratorTesttestCase1
have been attached. Hopefully, bugtraq won't befowl these attachments, too. The
script X.ksh will run the test outside the JavaTest (yuck) harness.
allan.jacobs@Eng 2000-02-29
The problem can be isolated in a 7 line Java source:
public class X {
public static void main(String args[]) {
double [] a;
try { a = new double [Integer.MAX_VALUE]; }
catch (OutOfMemoryError e) { }
}
}
algol% /usr/java1.3/bin/javac -d . X.java
algol% /usr/java1.3/bin/java -hotspot -Xcomp -cp ${PWD} X
#
# An unexpected exception has been detected in native code outside the VM.
# Program counter=0xfb080a68
#
# Problematic Thread: prio=5 tid=0x281a0 nid=0x1 runnable
#
allan.jacobs@Eng 2000-03-01
JCK-runtime-13rc1/tests/lang/EXPR/expr015/expr01501/expr01501.html is not failing in the
same manner as the rest of the tests, but it is failing because of anomolous
treatment of OutOfMemoryErrors. See the Comments field.
allan.jacobs@Eng 2000-03-01