JDK-4892906 : Assertion failure in t2k/t1.c line 1974 with latest tiger build on VNC.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_redhat_2.1,solaris_9
  • CPU: x86,sparc
  • Submitted: 2003-07-18
  • Updated: 2003-11-04
  • Resolved: 2003-11-04
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
5.0 b28Fixed
Related Reports
Duplicate :  
Relates :  
Description
When running the ArcTest Applet demo that ships with Java in a Solaris VNC
session, I get the following error, It happens when you press the Fill button.

Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Assertion failed: p != NULL, file ../../../src/share/native/sun/font/t2k/t1.c, line 1974
Abort

It does not happen on Local display or even remote displayed to that same VNC display. It happens only if you run within the same VNC session. Strange !

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

Copied from 4926306 (same assertion but on Linux :)
On linux-i586 platform running in server VM comp mode, RT_DEMO tests crash with following message:

java: ../../../src/share/native/sun/font/t2k/t1.c:1974: TransformData: Assertion `p != ((void *)0)' failed.

Here is command line to reproduce this failure:
ksh /net/vmsqe.sfbay/export/backup/UNIFIED-DTF/DTWS/suites/RT_DEMO/testbase/doit -vm /net/vmsqe.sfbay/export/pit/tiger/JDK/latest/linux-i386/bin/java -vmopts 
 "-server -Xcomp" -demo

###@###.### 2003-10-22
============================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
14-06-2004

EVALUATION Not been able to reproduce this although it was also seen on Linux (Bug 4926306). Need to investigate further. ###@###.### 2003-10-22 ============================= How this occurred is unclear. But what is clear is that the code is not robust against a particular case of bad font data. I have updated the code so that it will recover from this. This recovery would only have been temporary except that the fix for 4911127 added additional upstream robustness. ###@###.### 2003-10-24 ============================
24-10-2003