JDK-6225440 : JCK1.5: api/javax_swing/DebugGraphics/descriptions.html#draw test crashes, sparc
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0u2,6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris,solaris_8
  • CPU: sparc
  • Submitted: 2005-02-04
  • Updated: 2010-04-02
  • Resolved: 2005-03-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u4Fixed 6 b28Fixed
Related Reports
Duplicate :  
Description
JCK            : jck1.5
J2SE           : FAIL - mustang, tiger
Platform[s]    : FAIL - solaris sparc 
                 PASS - windows, linux
switch/Mode    : FAIL - -server -Xcomp
                 PASS - default, -server

JCK test owner  : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

Failing Tests   : api/javax_swing/DebugGraphics/descriptions.html#draw

Test source location:
=====================
/net/jsqalab.sfbay/export/testsuites/jck1.5a/b02/JCK-runtime-15a/tests/api/javax_swing/DebugGraphics/drawTests.java

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

How to reproduce:
====================
-------script START---------------------
#!/bin/sh

#Paths in Java Software:
JDK="/export/jdk/b21/solaris-sparc/jdk1.6.0"
JCK="/net/cady/export/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

TEST="javasoft.sqe.tests.api.javax.swing.DebugGraphics.drawTests -TestCaseID ALL"

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

$JDK/bin/java -server -Xcomp -showversion -cp $CLASSPATH $TEST
--------script END----------------------

Test output:
=============
# sh descriptions_draw.sh
JCK_VERSION=1.5a JCK_BUILD_ID=b02
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b21)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b21, compiled mode)

Graphics(0-1) Enabling debug
Graphics(1-1) Enabling debug
Graphics(2-1) Enabling debug
Graphics(3-1) Enabling debug
Graphics(4-1) Enabling debug
Graphics(5-1) Enabling debug
Graphics(6-1) Enabling debug
Graphics(7-1) Enabling debug
Graphics(8-1) Enabling debug
Graphics(9-1) Enabling debug
Graphics(10-1) Enabling debug
Graphics(11-1) Enabling debug
Graphics(12-1) Enabling debug
Graphics(13-1) Enabling debug
Graphics(14-1) Enabling debug
Graphics(15-1) Enabling debug
Graphics(16-1) Enabling debug
Graphics(17-1) Enabling debug
Graphics(18-1) Enabling debug
Graphics(19-1) Enabling debug
Graphics(20-1) Enabling debug
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xf9017240, pid=7617, tid=1
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0-ea-b21 compiled mode)
# Problematic frame:
# j  javasoft.sqe.tests.api.javax.swing.DebugGraphics.drawTests.DebugGraphics2043()Ljavasoft/sqe/javatest/Status;+254
#
# An error report file with more information is saved as hs_err_pid7617.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
#Abort

Specific Machine Info:
=====================
parislv% uname -a
SunOS parislv 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-60
Sol 9  	update 7 FCS + patches




###@###.### 2005-2-04 02:21:33 GMT

Comments
EVALUATION The Sparc interpreter is missing a profile point for a non-final invokeinterface java/lang/Object call. ###@###.### 2005-2-07 23:56:40 GMT
07-02-2005

SUGGESTED FIX Preliminary fix in templateTable_sparc.cpp: --- 2912,2918 ---- __ bind(notFinal); + __ profile_virtual_call(RklassOop, O4); generate_vtable_call(RklassOop, Rindex, Rret); } ###@###.### 2005-2-07 23:56:40 GMT See PRT webrev for final fix: http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050301094725.rasbold.c2_baseline5/workspace/webrevs/webrev-2005.03.01/index.html ###@###.### 2005-03-02 14:27:51 GMT
07-02-2005