Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5323 - Firefox 1.5.06 crashes when visiting certain sites

Attached to Project: Arch Linux
Opened by Valentine Sinitsyn (Val) - Thursday, 31 August 2006, 16:12 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 01 September 2006, 08:14 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Firefox 1.5.0.6 (mozilla-firefox-1.5.0.6-1 package) crashes when visiting certain sites. This does not happen with Firefox 1.5.0.6 obtained from mozilla.com, so I assume it's an Arch Linux bug.

Reproducable: Always
Steps to reproduce:
1. Open Firefox
2. Visit http://www.mobilize.in (it's one of the sites that cause a crash)

Expected results: you see a webpage (it's in Russian so don't worry about messy content)
Actual result: firefox silently and quickly closes the window soon after header of the page appears in the title bar. No errors or tracbacks are reported.

I guess this problem may depend on some local settings (like fonts installed etc.) so I'm ready to provide any extra information concerning my system you'll need.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 27 September 2006, 13:54 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Thursday, 31 August 2006, 16:25 GMT
4 questions:
- extensions?
- plugins?
- do you use composite with X.Org?
- what do you get when you start firefox from a terminal and visit the offended site?
Comment by Valentine Sinitsyn (Val) - Thursday, 31 August 2006, 17:04 GMT
> 4 questions:
> - extensions?
Only DOM Inspector, installed by default - nothing more
> - plugins?
Flash and Java (both standard Arch 0.7.1 packages), but they're irrelevant - Firefox crashes even when no plugins are loaded
> - do you use composite with X.Org?
Nope, I'm on Unichrome Pro video card ;)
> - what do you get when you start firefox from a terminal and visit the offended site?
As one could expect, segfualt. I've tried to run firefox in debug mode (-g). According to the output, it receives SIGSEGV in NSGetModule() in /opt/mozilla/lib/firefox-1.5.0.6/components/libgklayout.so

Thank you for a quick answer!
Comment by Jan de Groot (JGC) - Thursday, 31 August 2006, 17:24 GMT
What GTK theme engine do you use? Could you provide a full backtrace generated from the -g option?
Comment by Valentine Sinitsyn (Val) - Thursday, 31 August 2006, 17:55 GMT
> What GTK theme engine do you use?
QtCurve 0.42.1. I've tried to use different one (Raleigh) with no luck.

> Could you provide a full backtrace generated from the -g option?
Ok, it's attached to this comment (whole gdb session)
Comment by Jan de Groot (JGC) - Thursday, 31 August 2006, 18:37 GMT
could you run a "bt full" after it crashes?
Comment by Valentine Sinitsyn (Val) - Friday, 01 September 2006, 05:19 GMT
> could you run a "bt full" after it crashes?
It's not very informative, but here you are
Comment by Jan de Groot (JGC) - Friday, 01 September 2006, 06:12 GMT
Does is also happen when you run firefox as "MOZ_DISABLE_PANGO=1 firefox"?
Comment by Valentine Sinitsyn (Val) - Friday, 01 September 2006, 06:27 GMT
> Does is also happen when you run firefox as "MOZ_DISABLE_PANGO=1 firefox"?
Yes it works. It's interesting that it works with Pango enabled from one account on my machine and does not work from the other. They are using different fonts and probably that's is an issue.

The second thing worth mentioining is that I'm using pango-2.10.2. I know that mozilla-firefox-1.5.0.6 does require pango>=2.12 (and gtk-2.10) but, again, it works on my second account.

[OFFTOPIC]
The reason I'm running Firefox with semi-satisfied dependencies is that Arch Linux, unfortunately, does not provide means of upgrading the system. You can have 0.7.2 or you can have -current - nothing more, there is no "stable" and "development" branches as in other distros. And it's ver-very unconvenient, especially if you don't have broadband internet connection. You are going to upgrade only a browser (10Mb worth), but instead you'll need to download a whole bunch of libraries you don't need (I'm very happy with gtk-2.10). This would be very nice to have separate Arch Branches, say, 0.7.2 (with major system libraries and tools frozen) and current.
[/OFFTOPIC]
Comment by Jan de Groot (JGC) - Friday, 01 September 2006, 06:31 GMT
The point is that I can't reproduce it. Please update to pango 1.14.2, glib2 2.12.2, cairo 1.2.4 and gtk2 2.10.2 to make sure this is not the issue. It could be a bug in pango, it could be a bug in firefox, but running firefox with a version of pango, cairo, gtk and glib older than the one it's compiled with is asking for problems.
Comment by Valentine Sinitsyn (Val) - Friday, 01 September 2006, 06:42 GMT
> The point is that I can't reproduce it. Please update to pango 1.14.2, glib2 2.12.2, cairo 1.2.4 and gtk2 2.10.2 to make > sure this is not the issue. It could be a bug in pango, it could be a bug in firefox, but running firefox with a version > of pango, cairo, gtk and glib older than the one it's compiled with is asking for problems.
Ok, I'll try to download these packages in the coming days and say if this helps.
Comment by Valentine Sinitsyn (Val) - Friday, 01 September 2006, 09:40 GMT
I've updated evrything (except libcups required by gtk-2.10 - I'm alreadyhave it on my system) and it still crashes. It's not to mention I've broken the whole my sytem upgrading it manually (without using pacman -Sy). It's reaaly-really pitty there is not stable branch for Arch.
Comment by Jan de Groot (JGC) - Friday, 01 September 2006, 09:48 GMT
I think it's one of the local-installed font in your profile that makes firefox crash. Could you try to use gnome-font-viewer on those fonts? If gnome-font-viewer crashes, the bug is in pango. If it doesn't then the bug is in firefox' pango renderer and we have to look into firefox for the problem. If you can find out which font triggers the crash, I would like to have that font, or at least a link to where to get it.
Comment by Valentine Sinitsyn (Val) - Friday, 01 September 2006, 10:10 GMT
I don't have locally-installed font and the only fonts on my systema re mscorefonts from Arch package.
I don;t have gnome-font-viewer either, sorry :(
Comment by Jan de Groot (JGC) - Friday, 01 September 2006, 10:25 GMT
What version of freetype2 and fontconfig do you have?
Comment by Valentine Sinitsyn (Val) - Friday, 01 September 2006, 10:32 GMT
> What version of freetype2 and fontconfig do you have?
freetype2 2.1.10
fontconfig 2.3.2
Comment by Jan de Groot (JGC) - Sunday, 03 September 2006, 13:57 GMT
Firefox has been updated with a slightly better pango patch, could you try the new version?
Comment by Valentine Sinitsyn (Val) - Sunday, 03 September 2006, 16:12 GMT
Sorry, it still crashes... :(

Maybe it's better to close this bug? The problem is certainly not so easy to find and Firefox works just fine with Pango disabled.
Of course, if you'll go to find out what's going on, I'm ready to help you with the debugging.
Comment by Jan de Groot (JGC) - Wednesday, 27 September 2006, 09:01 GMT
Several memory corruption fixes have been applied to firefox 1.5.0.7, is this fixed now?
Comment by Valentine Sinitsyn (Val) - Wednesday, 27 September 2006, 13:25 GMT
I think yes - I visited the site I wasn't able to see before
Thanks a lot - and feel free to close the bug

Loading...