> Some crashes occurred in 1.4.0, fewer in 1.4.1, and fewer still in 1.4.2
that's what we believe too, and I expect even fewer in 1.5. 1.4_2_XX patches may also get some very selected fixes and workarounds too. Particularly on windows where fonts of miscellaneous origins seem to come with many native apps.
Indeed getting the fonts from people who report bugs has been one of the biggest obstacles to making the JRE robust against these. If anyone has such a font that crashes 1.4.2 or later, that they can send to me I'd be interested too .. (as Darla said do not send to the entire list, particularly if the font license doesn't allow unlimited redistribution!)
FWIW we also had the idea of such a tool but the prototype used internal APIs so wasn't really suitable for release.
Also the real issue tends to be on end user desktops where some app they installed added new fonts to the system.
Testing on the developer's platform doesn't completely address what's on the user's system.
The worst problem is when fonts you aren't even intending to directly use cause crashes because even their headers are bad. That's the problem most people run into.
1.5 should be invulnerable to such problems, at least that's the expectation.
Finally javadesktop.org might be a good place to post a project like this if you do create such a tool. That's where we were thinking of posting ours that never saw the light of day.
-phil.
Darla Weiss wrote:
Hi all,
As many of you may be aware, there are some Java bugs (4482430 and related) that cause the JVM to crash when loading corrupt fonts. These result in the creation of a hs_err_pidxxxx.log file with contents starting something like this:
An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D19A348 Function=[Unknown.] Library=D:\Java\j2sdk1.4.1_05\jre\bin\fontmanager.dll
Some crashes occurred in 1.4.0, fewer in 1.4.1, and fewer still in 1.4.2 (afaik).
I'm hoping to get a hold of some font files that will cause these crashes. I'd like to test my own Java program with these corrupt font files, and possibly write my own font testing program to help my customers identify which fonts on their system give Java problems.
If you have any font files that you know crash Java in any 1.4+ JDK, please send them to me at [EMAIL PROTECTED] (Please don't send them to the list. I imagine not everyone would appreciate that...) Or if you have a link to the fonts, send that to everyone.
Thanks!
=> Darla
PS: If anyone else is looking for corrupt fonts, let me know and I'll send you whatever I get from the group.
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
