Closed Bug 238394 Opened 20 years ago Closed 20 years ago

Floating Point Exception using an invalid? font

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 180309

People

(Reporter: fertig, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040114

I've got an example to crash mozilla and latest firefox using an invalid font
configuration on my system. 

I'm using my windows ttf-fonts with xfs 

rpm -qf /usr/X11R6/bin/xfs
XFree86-4.3.0.1-46

I've got a symlink from the windows-fonts directory to my ttf-directory. There
are some fonts inside, which aren't (imho) valid truetype fonts. In this case:
8514sys.fon. Perhaps this problem isn't mozilla related, I don't know exactly,
how the font handling is done in the linux port. Perhaps xfs should not report
the font. But I think mozilla shouldn't crash and use a valid font instead.



Reproducible: Always
Steps to Reproduce:
1. Use the 8514sys.fon as truetype with xfs
2. Try the minimum example

Actual Results:  
sigfpe (Floating Point Exception)

Expected Results:  
Use some valid font.
Attached file HTML Testcase
Attached file strace last lines
dup of bug 180309?
(In reply to comment #3)
> dup of bug 180309?

yes, it is. Sorry.
NP! :) Thanks for an open eye and a swift reply.

*** This bug has been marked as a duplicate of 180309 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: