Bug 121403 - non-Xft Mozilla crashes X trying to display binary garbage
Summary: non-Xft Mozilla crashes X trying to display binary garbage
Status: CLOSED DUPLICATE of bug 145546
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11 (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: i386 Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL: http://bugzilla.mozilla.org/attachmen...
Keywords: Triaged
Depends On:
Blocks: FC4Target
TreeView+ depends on / blocked
Reported: 2004-04-21 05:46 UTC by Andrew Schultz
Modified: 2007-11-30 22:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:02:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
lsmod output (2.20 KB, text/plain)
2004-04-22 01:50 UTC, Andrew Schultz
no flags Details
X config file (3.07 KB, text/plain)
2004-04-22 01:51 UTC, Andrew Schultz
no flags Details
/var/log/messages (67.15 KB, text/plain)
2004-04-22 01:57 UTC, Andrew Schultz
no flags Details
X log (71.51 KB, text/plain)
2004-04-22 01:59 UTC, Andrew Schultz
no flags Details
strace startx 2> stracestartx.txt (28.06 KB, text/plain)
2004-06-06 10:46 UTC, Captain
no flags Details
strace mozilla 2> stracemozilla.txt (11.96 KB, text/plain)
2004-06-06 10:47 UTC, Captain
no flags Details
Xorg log file (34.23 KB, text/plain)
2004-11-18 15:11 UTC, Dawid Gajownik
no flags Details
Mozilla's profile (9.67 KB, application/octet-stream)
2004-11-18 20:06 UTC, Dawid Gajownik
no flags Details

Description Andrew Schultz 2004-04-21 05:46:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a)

Description of problem:
When loading the URL (action=view probably also crashes, but I haven't
tried it), X crashes.  With the action=edit page, it will try to load
the binary in the iframe (it's a zip and I mis-identified the
attachment as text/html).

I've tested with current Mozilla trunk (gtk1, not xft).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. grab a Mozilla nightly (1.6 with gtk1 probably does the same)
2. load http://bugzilla.mozilla.org/attachment.cgi?id=146647&action=edit

Actual Results:
seg fault.  Useful info from XFree86.0.log is:
Fatal server error:
Caught signal 11.  Server aborting

Expected Results:  display binary garbage

Comment 1 Mike A. Harris 2004-04-21 22:51:16 UTC
Attach your X server config file and complete log file,
/var/log/messages, and the output of "lsmod" to the report using
the bugzilla file attachment feature below.

Once this information is provided, we can review the issue further.

Thanks in advance.

Comment 2 Andrew Schultz 2004-04-22 01:50:45 UTC
Created attachment 99618 [details]
lsmod output

ltmodem/ltserial is for my modem (Lucent chipset)

Comment 3 Andrew Schultz 2004-04-22 01:51:35 UTC
Created attachment 99619 [details]
X config file

Comment 4 Andrew Schultz 2004-04-22 01:57:18 UTC
Created attachment 99621 [details]

Apr 21 21:52:28 localhost gdm[24657]: gdm_slave_xioerror_handler: Fatal X error
- Restarting :0

I'm running the FC1 kernel because the RH 2.6 kernel can't handle my VIA SATA.

Comment 5 Andrew Schultz 2004-04-22 01:59:22 UTC
Created attachment 99622 [details]
X log

Fatal server error:
Caught signal 11.  Server aborting

Comment 6 Andrew Schultz 2004-04-22 02:04:24 UTC
I tested some other Mozilla builds.
Mozilla 1.6 (gtk1/no xft) did not crash X
Mozilla 1.7a (gtk1/no xft) did crash X.
Mozilla trunk with xft did not crash X.

Comment 8 Captain 2004-05-27 17:32:06 UTC
X.org changed the URL for bugzilla, so here is the updated URL for the
X bugzilla:

Comment 9 Captain 2004-06-06 10:46:19 UTC
Created attachment 100902 [details]
strace startx 2> stracestartx.txt

I figured out how to use strace for this bug.
On my Fedora-box:
# telinit 3
# strace startx 2> stracestartx.txt
Opened mozilla, loaded the crashing-page, X crashed...

Comment 10 Captain 2004-06-06 10:47:02 UTC
Created attachment 100903 [details]
strace mozilla 2> stracemozilla.txt

This is the strace when logged in in GNOME and calling mozilla from the
strace mozilla 2> stracemozilla.txt

Comment 11 Andrew Schultz 2004-06-06 13:15:24 UTC
startx and mozilla are both shell scripts, and that's all you've
straced (not the binary programs).  an strace of the binaries would
likely be enormous and probably useful.

Comment 12 Andrew Schultz 2004-06-06 17:09:36 UTC
> startx and mozilla are both shell scripts, and that's all you've
> straced (not the binary programs).  an strace of the binaries would
> likely be enormous and probably useful.

"probably not useful"

Comment 13 Captain 2004-07-04 14:35:25 UTC
Mike, do you have any updates for us on this issue ?
Thank you, Hannes.

Comment 14 Mike A. Harris 2004-07-04 14:43:46 UTC
Thanks for filing this bug upstream.  We will track it in the
upstream bugzilla now, and provide any status updates there should
the status change or a fix become available.

Thanks again.

Setting status to "UPSTREAM" for tracking at xorg bugzilla.

Comment 15 Captain 2004-07-04 15:11:51 UTC
Thank you Mike!

Something I found out last month or so:
When disabling XFT on Mozilla 1.6 (that one that came with FC2)
# GDK_USE_XFT=0 /usr/bin/mozilla
the X server doesn't crash.

Andrew Schultz posted earlier, that my straces are not useful.
Mike, if you can give me some hints on what to try or to look at I can
try to find out more. (i.e. where to implement strace etc...)
If you've got a minute, I'd be glad to hear from you at my email I use
for this bugzilla. Thank you, Hannes.

Comment 16 Captain 2004-07-09 18:29:32 UTC
FYI, I just updated all xorg packages to 6.7.0-5 as it appeared in
up2date. The problem still persists...

Comment 17 Mike A. Harris 2004-09-01 11:34:51 UTC
Status update:  I've reviewed the upstream bug for this in X.Org
bugzilla <http://freedesktop.org/bugzilla/show_bug.cgi?id=659>,
and there has been no resolution yet for this issue.

Please test the latest X.Org release from our rawhide xorg-x11
packages, and indicate wether the issue still exists in rawhide
or not.  Please update the upstream bug report with this also.

You may also find the xorg or mozilla mailing lists helpful if you
are debugging the issue yourself and require assistance.

Hope this helps.

Comment 18 Mike A. Harris 2004-09-01 11:35:57 UTC
Setting status to "NEEDINFO", awaiting status update from reporter
on rawhide testing.

Comment 19 Andrew Schultz 2004-09-02 00:29:15 UTC
I upgraded to xorg-x11- and it still crashes loading the
given URL.

Comment 20 Chris Kuivenhoven 2004-09-04 21:52:57 UTC
I haven't tested this previously, but using the current rawhide
packages (mozilla-1.7.2-0.3.0 and xorg-x11- does NOT
crash or cause me any problems when loading the test URL provided in
Andrew's first post.

-Chris Kuivenhoven

Comment 21 Andrew Schultz 2004-09-04 23:03:20 UTC
Chris: see comment 6.  all fedora-packaged Mozillas use gtk2/xft,
which does not trigger this bug.  You should see the bug if you
download a gtk1 build from mozilla.org

Comment 22 Chris Kuivenhoven 2004-09-05 03:19:00 UTC
My apologies, I was misreading that comment. Thanks for straightening
me out. :)

-Chris Kuivenhoven

Comment 23 Dawid Gajownik 2004-11-18 15:11:37 UTC
Created attachment 106961 [details]
Xorg log file

I see this bug in FC3 (xorg-x11-6.8.1-12.FC3.1).


Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927

Unfortunately, I'm not able to reproduce it on a newly created Mozilla's
profile - X server crashes only with my 6 month old one :/

Comment 24 Dawid Gajownik 2004-11-18 20:06:09 UTC
Created attachment 106982 [details]
Mozilla's profile

Well, I've made a small investigation and I think that I know the way how to
reproduce this bug :-)

1. Install Microsoft Truetype Fonts

You can grab it from here â
http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml#ttf or

Do not install this rpm, just extract fonts from the package using mc to some
directory (in other case you would have to change path to TTF fonts in
Mozilla's configuration file).

Open KDE's Control Center, search menu for the font installer and change your
role to admin.

Install extracted fonts to the TTF directory (make shure that they where
installed in /usr/local/share/fonts/TTF/).

2. adduser fedora (in other case you would have to remove file

3. Install this â

4. Log in as "fedora" user, download attached Mozilla's profile and extract.
Make shure that /home/fedora/.mozilla was created.

5. Run /usr/local/mozilla/mozilla binary

6. In personal toolbar there are links to pages which crashes X server. Click
them and log in once again ;-)

Additional info:
I do not know whether it's important but I have recompiled freetype with
enabled bytecode interpreter.

Oh, I have almost forgot - without evil MS fonts ;) X server does not crash in
my case.

Sorry for any mistakes in my English.

Comment 25 Dawid Gajownik 2004-11-23 20:48:07 UTC
I also noticed, that after X server crash there are some characters on
7th vt - just run telinit 3 and CTRL+ALT+F7.

What is weird, mouse on that console acts strange (it's really slow)
and I'm not able to swith to 1st vt. Only power button helps (thanks
God that it starts reboot procedure so my filesystems didn't hurt a lot).

Comment 26 Thomas Hartwig 2004-11-25 14:39:31 UTC
For all who have not noticed, see this for a workaround:



Comment 27 Mike A. Harris 2004-11-25 15:15:07 UTC
Adding URLs in one spot for easy clicking.


Comment 29 Dawid Gajownik 2005-03-07 19:52:34 UTC
Do you know that Soeren Sandmann Pedersen rulez? ;-)

With patch from bug #145546 X server does not crash anymore :D You can
close this report, because it's fixed in Rawhide.

Comment 30 Mike A. Harris 2005-03-07 22:03:14 UTC
Thanks for the update!

*** This bug has been marked as a duplicate of 145546 ***

Comment 31 Red Hat Bugzilla 2006-02-21 19:02:42 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.