United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4908028 : Regression java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java failed.

Details
Type:
Bug
Submit Date:
2003-08-18
Status:
Closed
Updated Date:
2004-12-08
Project Name:
JDK
Resolved Date:
2003-09-29
Component:
client-libs
OS:
solaris_8,linux,linux_redhat_8.0
Sub-Component:
2d
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2,5.0
Fixed Versions:
5.0 (tiger)

Related Reports
Backport:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

Description
=============================================================
JDK: Tiger jdk1.5.0 b15
OS : RedHat 9.0(eucJP)
Regression tes case: test/java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java
=================================================================

Regression test case NegativeAngleTest.java is failing with error as below;
---------------------------------------------------------
java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.
abort
---------------------------------------------------------
core file was created.


This problem starts from b15, it worked fine in b14 and Mantis fcs b28.
This problem is not seen in Solaris and Windows.


Step to reproduce;
1. compile NegativeAngleTest.java(attached)
2. launch
% java NegativeAngleTest.java

Then, you can see this problem.


** NOTE **
The machine I tested is intalled RH9 patch as below;
rpm -i --replacefiles /java/jdk/linux/ws/redhat9/libc_hack.rpm

NegativeAngleTest.java is under java/awt dir, so I filed Category/Subcategry as a java/classes_awt.
If these are not properly, please change them. 


[###@###.### 2003-08-18]

-----------------------------------

With b18 and b19, the same occurred on a new configuration Redhat Advanced Server 3.0 (Itanium 2) :
on "encarta" Red Hat Enterprise Linux release 2.9.5AS,
Kernel 2.4.21-1.1931.2.399.ent on an ia64
before b16, it simply let you log out instead of giving the error message below.

It didn't occurr on "clie" Red Hat Linux Advanced Server release 2.1 AS
Kernel 2.4.18-e.12smp on an ia64. (tested with b18)

[...@encarta Font2DTest]# /.../keiko/j2sdk1.5.0/bin/java -jar Font2DTest.jar
java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.
Abgebrochen
(Abort)

###@###.### 2003-09-15

                                    

Comments
EVALUATION

Actually, this test is under /java/awt/FontClass which belongs to 2D.  
###@###.### 2003-08-18

===================================

This is identical assert to
4904643 :PIT: 2DPrinting Suite - PrintFont_2D test fails when rendering fonts on RH 8.0

and this is probably the better bug since its a much simpler test case
and the bug has nothing to do with printing.

###@###.### 2003-08-21
===========================

Name: inR10103			Date: 09/09/2003


  The crash here is caused by assertion while trying to process Type1
accented character. Type1 font uses own character codes to build 
such characters and we need to map them into Unicode.                  
Assertion fails if we do not have defined mapping. 
  Proposed solution is to extend set of supported mappings and 
do not crash if mapping is not properly defined (map to 0x0000 unicode).
  BTW, it should be reproducible with older builds - there were not any
relevant changes and the only reason i can imagine is that fonts (which 
use undefined codes) were recently installed.
======================================================================
                                     
2004-08-24
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b22

VERIFIED IN:
tiger


                                     
2004-08-24



Hardware and Software, Engineered to Work Together