JDK-6178131 : REGRESSION JCK: api/java_awt/Image/SinglePixelPackedSampleModel - Core Dump[Exit Code 11]
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: sparc
  • Submitted: 2004-10-12
  • Updated: 2011-02-16
  • Resolved: 2004-11-30
Related Reports
Duplicate :  
Relates :  
Description
JDK            : 1.6.0-b05,b07
JCK            : jck1.5
Platform[s]    : Solaris[All Versions]
switch/Mode    : ALL
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto 
Failing Tests   : 

1:api/java_awt/Image/SinglePixelPackedSampleModel/index.html#GetPixel4 : GetPixel4 - getPixel(int, int, int, int, int[], DataBuffer)   

2: api/java_awt/Image/SinglePixelPackedSampleModel/index.html#SetPixel2 : SetPixel2 - setPixel(int, int, int, int, int[], DataBuffer)  

Test source location:
=====================

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

jtr file location:
==================
1: /net/sqe/global/nfs/jckreg1/mustang/b05/jck/jck_jck-runtime_jtg-s111/workDir/api/java_awt/Image/SinglePixelPackedSampleModel/index_GetPixel4.jtr

2: /net/sqe/global/nfs/jckreg1/mustang/b05/jck/jck_jck-runtime_jtg-s111/workDir/api/java_awt/Image/SinglePixelPackedSampleModel/index_SetPixel2.jtr


How to reproduce:
====================
[include the commandline script]
--------Script START---------------------
#!/bin/sh

#Paths
#JDK="/net/koori.sfbay/p/jdk04/jdk/1.5.0_01/ea/b03/binaries/solaris-sparc"
#JDK="/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b07/binaries/solaris-sparc"
JDK="/net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b05/binaries/solaris-sparc"

#JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"

#JDK="/export/jdk/b02/solaris-i586/jdk1.5.0_01"
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
--------Script END----------------------


Test output:
=============
*********************************************************************************
1:api/java_awt/Image/SinglePixelPackedSampleModel/index.html#GetPixel4 
*********************************************************************************

------#-----testresult-----
description=file:///net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/Image/SinglePixelPackedSampleModel/index.html#GetPixel4
end=Tue Oct 12 12:28:20 PDT 2004
environment=jck15
execStatus=Failed. unexpected exit code: exit code 11
----------------------------------------------------------

result: Failed. unexpected exit code: exit code 11

Core File Generated 
Location:/net/sqe/global/nfs/jckreg1/mustang/b05/jck/jck_jck-runtime_jtg-s111

************************************************************************************
2:TEST=" javasoft.sqe.tests.api.javax.swing.JTable.editXXXedTests "
*********************************************************************************
#-----testresult-----
description=file:///net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/Image/SinglePixelPackedSampleModel/index.html#SetPixel2
end=Tue Oct 12 12:28:05 PDT 2004
environment=jck15
execStatus=Failed. unexpected exit code: exit code 11
javatestOS=SunOS 5.10 (sparc)
javatestVersion=3.2

test result: Failed. unexpected exit code: exit code 11

Core File Generated :

Location: /net/sqe/global/nfs/jckreg1/mustang/b05/jck/jck_jck-runtime_jtg-s111

Specific Machine Info:
=====================
jtg-s111% uname -a
SunOS jtg-s111 5.10 s10_67 sun4u sparc SUNW,Ultra-60
###@###.### 10/12/04 22:43 GMT
###@###.### 10/12/04 23:13 GMT

Comments
EVALUATION This looks like a C1 bug. I can reproduce the crash on my Solaris 9 box: SunOS nukite 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Blade-1000 with the client vm, but not with the server vm. The bug is not reproducible with 1.5.0. The stack trace from the core file: t@1 (l@1) terminated by signal SEGV (no mapping at the fault address) 0xfeea39b8: ImplicitExceptionTable+0x000c: ld [%o1 + %o2], %g4 (dbx 1) w current thread: t@1 =>[1] ImplicitExceptionTable::ImplicitExceptionTable(0xffbfdd04, 0xf8c70948, 0x6040600c, 0xfe880000, 0x2, 0x59076954), at 0xfeea39b8 [2] nmethod::continuation_for_implicit_exception(0xf8c70948, 0xf8c709e4, 0xf8c709c0, 0x10c2c4, 0xfeceff80, 0x78), at 0xff00dd58 [3] SharedRuntime::continuation_for_implicit_exception(0x37878, 0xf8c709e4, 0x0, 0xd033c, 0xf8c70948, 0xff0f81fa), at 0xff049ecc [4] JVM_handle_solaris_signal(0xb, 0xffbfe2b8, 0xffbfe000, 0x1, 0xff170000, 0x37878), at 0xfee0c5c8 [5] __sighndlr(0xb, 0xffbfe2b8, 0xffbfe000, 0xfee0c034, 0x0, 0x0), at 0xff395b0c [6] call_user_handler(0xb, 0xffbfe2b8, 0xffbfe000, 0x0, 0x0, 0x0), at 0xff38f804 [7] sigacthandler(0xb, 0xffbfe2b8, 0xffbfe000, 0xff160000, 0x37878, 0x1e1c), at 0xff38f9b4 ---- called from signal handler with signal 11 (SIGSEGV) ------ [8] 0xf8c709e4(0xf0851b58, 0x3, 0x0, 0xa3, 0xf0887780, 0x0), at 0xf8c709e3 [9] 0xf8c05874(0xf087ae48, 0xb6, 0xffbfe55c, 0xf8c14a00, 0xff13557c, 0xffbfe478), at 0xf8c05873 [10] 0xf8c05874(0xf086e160, 0xf483e950, 0xffbfe5e8, 0xf8c14a00, 0x1ffc, 0xffbfe4f8), at 0xf8c05873 [11] 0xf8c05d3c(0xf0846268, 0xb6, 0x8, 0xf8c14de0, 0xf088bad8, 0xffbfe588), at 0xf8c05d3b [12] 0xf8c05874(0xf0845280, 0xb6, 0x1, 0xf8c14a00, 0xf4864fe8, 0xffbfe620), at 0xf8c05873 [13] 0xf8c05874(0xf0866608, 0xb7, 0xf08698a0, 0xf8c14a00, 0xff13557c, 0xffbfe6c0), at 0xf8c05873 [14] 0xf8c05764(0xf0866608, 0x0, 0x5fc4, 0xf8c14b80, 0xff13557c, 0xffbfe758), at 0xf8c05763 [15] 0xf8c05764(0xf0866608, 0xf4960b08, 0x5fc4, 0xf8c14b80, 0xff13557c, 0xffbfe7e0), at 0xf8c05763 [16] 0xf8c05d3c(0xf0845280, 0x0, 0x5fc4, 0xf8c14e30, 0xff13557c, 0xffbfe868), at 0xf8c05d3b [17] 0xf8c05874(0xc000, 0x2, 0x4800, 0xf8c14a50, 0xff12d200, 0xffbfe8f8), at 0xf8c05873 [18] 0xf8c00218(0xffbfe9dc, 0xffbfeb30, 0xa, 0xf495b3a8, 0xf8c0a7e0, 0xffbfeab8), at 0xf8c00217 [19] JavaCalls::call_helper(0x1, 0xffbfe9c4, 0xffbfeab0, 0x37878, 0x383c4, 0x0), at 0xfecda6f8 [20] jni_CallStaticVoidMethod(0xff1339f4, 0xff12cd6c, 0x37e2c, 0x37878, 0x0, 0x37a28), at 0xfedb6244 [21] main(0xff12fcbc, 0x357c1, 0xfed2b2d0, 0x0, 0x0, 0x1d8), at 0x123b4 Reassigning to C1 team. ###@###.### 10/13/04 14:53 GMT
13-10-2004