Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107645 - Gecko rendering engine crashes X on Courier New non-bold font
Summary: Gecko rendering engine crashes X on Courier New non-bold font
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 14:50 UTC by Andrej Kacian (RETIRED)
Modified: 2005-11-03 01:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
HTML+CSS code which crashes Gecko (geckocrash.html,147 bytes, text/plain)
2005-09-29 14:52 UTC, Andrej Kacian (RETIRED)
Details
mozilla.jpg (mozilla.jpg,57.87 KB, image/jpeg)
2005-09-29 19:56 UTC, Martin Schlemmer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2005-09-29 14:50:46 UTC
Ok, this is what happens - simple html+css (attached next) makes any gecko-based
browser (I've tried current mozilla, firefox and epiphany) crash X, without any
messages in the X log.

I've traced it down to the "Courier New" font, without "font-family: bold;"
attribute. Once I add that attribute, gecko doesn't crash on rendering. I've
done numerous tests with additional font-related CSS attributes, but none other
seem to affect this.

My xorg-x11 is 6.8.2-r5, but this has been happening since 6.8.2.

At first, I've had xorg-x11 emerged with font-server USE flag, and this didn't
crash X outright, but froze (and eventually crashed) firefox and stopped certain
other applications from launching (error message saying something about "missing
pango font or colorset"). Sometimes, xfs service restarting helped, sometimes it
didn't. Also, sometimes, after such firefox crash, X couldn't be stopped by
`/etc/init.d/xdm stop`, and when I switched back to the X console, the entire
system would freeze completely.

After I recompiled xorg-x11 without the font-server, entire X started to crash
on those webpages.

This also seem to happen with other fonts, f.e. viewing wikipedia.org often (not
always, but about 90% of the time) causes this crash, yet I saw no Courier New
font being used there.

If you need any more info, just ask
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-09-29 14:52:48 UTC
Created attachment 69524 [details]
HTML+CSS code which crashes Gecko
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-29 19:56:45 UTC
Created attachment 69532 [details]
mozilla.jpg

Hmm, anything specific I should do?
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-09-29 21:57:17 UTC
Well, maybe this should have been aimed to forums, but as I do not know gecko,
X, freetype and other related software enough, I don't even know where to start
looking for the problem. Blindly remerging packages and waiting for the result
is not enjoyable anymore...

Could you *please* give me few hints as to where to start looking? Perhaps via
IRC, if you prefer.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-29 22:06:08 UTC
Ugh, you understood wrongly ... I meant, is there anything I should set or not
set in preferences regarding fonts?  What is your default font?  Do your allow
documents to use their own fonts?  Etc...
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-10-12 12:34:19 UTC
I am using default font settings in firefox, mozilla and epiphany.
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2005-11-03 01:50:04 UTC
The problem has gone away after emerge -e world, so we'll never know what caused
it. Gecko engine still hangs my X from time to time, but that seems to be a
completely unrelated issue. Thanks for trying to help.