JDK-6191226 : JCK:api/java_awt/Image/SinglePixelPackedSampleModel[setPixel2, GetPixel4] hangs/fails -sol8-headless
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2004-11-05
  • Updated: 2011-02-16
  • Resolved: 2004-11-30
Related Reports
Duplicate :  
Relates :  
Description
JDK            : Pass:1.5.0_u1-b05,1.6.0-b09
                 Fail:1.6.0-b10
JCK            : jck1.5
Platform[s]    : Solaris8
switch/Mode    : Headless
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto


Failing Tests   : 
=================
1: api/java_awt/Image/SinglePixelPackedSampleModel/index.html#SetPixel2
2: api/java_awt/Image/SinglePixelPackedSampleModel/index.html#GetPixel4

Test source location:
=====================
1: /net/jtgb4u4c/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/Image/SinglePixelPackedSampleModel/SetPixel2Test.java

2:
/net/jtgb4u4c/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/Image/SinglePixelPackedSampleModel/

jtr file location:
==================

Attached

How to reproduce:
====================
---------------Script START----------
!/bin/sh

#Paths
JDK="/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b10/binaries/solaris-sparcv9"
#JDK="/net/koori.sfbay/p/jdk01/jdk/1.5.0_01/fcs/b05/binaries/solaris-sparcv9"

JCK="/net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15"

CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

TEST="javasoft.sqe.tests.api.java.awt.Image.SinglePixelPackedSampleModel.SetPixels1Test"
#TEST="javasoft.sqe.tests.api.java.awt.Image.SinglePixelPackedSampleModel.GetPixels1Test"

#echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`

#$JDK/bin/java -showversion -cp $CLASSPATH $TEST
#$JDK/bin/java -cp $CLASSPATH $TEST
$JDK/bin/java -Djava.awt.headless=true -cp $CLASSPATH $TEST
---------------Script END------------

Test output:
=============

Test fails/hangs...I am seeing this message..and also core file produced with command line(attached)
----------------------------------------------------------------
               AssertionTest Report                             
----------------------------------------------------------------
 Method Name     : public int[] java.awt.image.SinglePixelPackedSampleModel.getPixels(int,int,int,int,int[],java.awt.image.DataBuffer)
 Class  Name     : class java.awt.image.SinglePixelPackedSampleModel
----------------------------------------------------------------

Specific Machine Info:
=====================
Solaris
hostname:jtg-s119(headless)
# uname -a
SunOS jtg-s119 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
###@###.### 2004-11-05 04:19:55 GMT

Comments
EVALUATION I can't reproduce the crash on my Solaris 9 u4 box. But it did manifest on jtg-s119, but with client vm only. Note that this system is missing some patches: #>/net/hestia.sfbay/u0/tools/bin/installpatches show 1104 all | grep LISTED WARNING: Patch 108993-38 is NOT LISTED by showrev -p WARNING: Patch 113886-26 is NOT LISTED by showrev -p WARNING: Patch 113887-26 is NOT LISTED by showrev -p WARNING: Patch 108993-38 is NOT LISTED by showrev -p WARNING: Patch 109505-06 is NOT LISTED by showrev -p WARNING: Patch 109513-05 is NOT LISTED by showrev -p WARNING: Patch 109508-03 is NOT LISTED by showrev -p WARNING: Patch 109510-03 is NOT LISTED by showrev -p WARNING: Patch 109516-02 is NOT LISTED by showrev -p WARNING: Patch 110480-01 is NOT LISTED by showrev -p The crash looks like a client hs problem. The stack trace from the attached core file: (dbx 1) w =>[1] ImplicitExceptionTable::ImplicitExceptionTable(0xffbee334, 0xf8870948, 0x6040600c, 0xfe580000, 0x2, 0x58c76954), at 0xfe2a53e8 [2] nmethod::continuation_for_implicit_exception(0xf8870948, 0xf88709e4, 0xf88709c0, 0x10d834, 0xfe0efa20, 0x78), at 0xfe4107e8 [3] SharedRuntime::continuation_for_implicit_exception(0x37ae0, 0xf88709e4, 0x0, 0xd176c, 0xf8870948, 0xfe4fbd7a), at 0xfe44ca9c [4] JVM_handle_solaris_signal(0xb, 0xffbee8c0, 0xffbee608, 0x1, 0x1840, 0x37ae0), at 0xfe20bb68 [5] 0xff36b118(0xb, 0xffbee8c0, 0xffbee608, 0xfe20b598, 0x327c0, 0x327b0), at 0xff36b117 [6] 0xff36811c(0xb, 0x32718, 0x0, 0x0, 0x0, 0xff37c000), at 0xff36811b [7] 0xf888b320(0xf0459cf8, 0x3, 0x2, 0x0, 0x0, 0x0), at 0xf888b31f [8] 0xf8805764(0xf0479a98, 0xb6, 0xffbeeb5c, 0xf8814a00, 0xfe5396fc, 0xffbeea78), at 0xf8805763 [9] 0xf8805874(0xf046dc30, 0xf443e960, 0xffbeebe8, 0xf8814a00, 0x1ffc, 0xffbeeaf8), at 0xf8805873 [10] 0xf8805d3c(0xf044cb08, 0xb6, 0x8, 0xf8814de0, 0xf0483e50, 0xffbeeb88), at 0xf8805d3b [11] 0xf8805874(0xf044bb20, 0xb6, 0x1, 0xf8814a00, 0xf4464ff0, 0xffbeec20), at 0xf8805873 [12] 0xf8805874(0xf04661a8, 0xb7, 0xf0469470, 0xf8814a00, 0xfe5396fc, 0xffbeecc0), at 0xf8805873 [13] 0xf8805764(0xf04661a8, 0x0, 0x6040, 0xf8814b80, 0xfe5396fc, 0xffbeed58), at 0xf8805763 [14] 0xf8805764(0xf04661a8, 0xf4560c70, 0x6040, 0xf8814b80, 0xfe5396fc, 0xffbeede0), at 0xf8805763 [15] 0xf8805d3c(0xf044bb20, 0x0, 0x6040, 0xf8814e30, 0xfe5396fc, 0xffbeee68), at 0xf8805d3b [16] 0xf8805874(0xc000, 0x2, 0x4800, 0xf8814a50, 0xfe531370, 0xffbeeef8), at 0xf8805873 [17] 0xf8800218(0xffbeefdc, 0xffbef130, 0xa, 0xf455b438, 0xf880a7e0, 0xffbef0b8), at 0xf8800217 [18] JavaCalls::call_helper(0x1, 0xffbeefc4, 0xffbef0b0, 0x37ae0, 0x3860c, 0x0), at 0xfe0da460 [19] jni_CallStaticVoidMethod(0xfe537b64, 0xfe530edc, 0x38094, 0x37ae0, 0x0, 0x37c90), at 0xfe1b5938 [20] main(0xfe533e2c, 0x10893a, 0xfe12aa14, 0x0, 0x0, 0x1d8), at 0x123b4 The stack trace during the initial hang: ^\Full thread dump Java HotSpot(TM) Client VM (1.6.0-ea-b10 mixed mode): "Low Memory Detector" daemon prio=10 tid=0x00109528 nid=0x9 runnable [0x00000000..0x00000000] "CompilerThread0" daemon prio=10 tid=0x00107eb0 nid=0x8 runnable [0x00000000..0xfb580030] "Signal Dispatcher" daemon prio=10 tid=0x00107128 nid=0x7 waiting on condition [0x00000000..0x00000000] "Finalizer" daemon prio=10 tid=0x000fbf98 nid=0x6 in Object.wait() [0xfb781000..0xfb781a64] at java.lang.Object.wait(Native Method) - waiting on <0xf0400848> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0xf0400848> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x000fb2b8 nid=0x5 in Object.wait() [0xfde81000..0xfde818e4] at java.lang.Object.wait(Native Method) - waiting on <0xf0400758> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:474) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0xf0400758> (a java.lang.ref.Reference$Lock) "main" prio=10 tid=0x00037ab0 nid=0x1 waiting on condition [0xffbec000..0xffbeecc8] at java.lang.String.replace(String.java:1867) at sun.net.www.protocol.file.Handler.parseURL(Handler.java:50) at java.net.URL.<init>(URL.java:596) at java.net.URL.<init>(URL.java:464) at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:881) at sun.misc.URLClassPath.getResource(URLClassPath.java:161) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) - locked <0xf041b6f8> (a sun.misc.Launcher$AppClassLoader) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) - locked <0xf041b6f8> (a sun.misc.Launcher$AppClassLoader) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) - locked <0xf041b6f8> (a sun.misc.Launcher$AppClassLoader) "VM Thread" prio=10 tid=0x000f8208 nid=0x4 runnable "VM Periodic Task Thread" prio=10 tid=0x00124010 nid=0xa waiting on condition JNI global references: 536 Reassigning to the C1 team. ###@###.### 2004-11-05 15:21:28 GMT
05-11-2004