LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-08-2011, 08:11 AM   #1
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 118

Rep: Reputation: 32
Firefox crash in 13.1 (32 bit)


Firefox crashes when opening http://code.google.com/webfonts.
After recompiling freetype, fontconfig, libXft, cairo and mozilla-firefox (3.6.14), as suggested in http://www.vcn.bc.ca/~dugan/slackware-fonts/ I noticed the crash.
I have reinstalled the original 13.1 packages (and rebooted):
  • freetype-2.3.12-i486-1
  • fontconfig-2.8.0-i486-1
  • libXft-2.1.14-i486-1
  • cairo-1.8.8-i486-3
  • mozilla-firefox-3.6.3-i686-1
but the crash still occurs every time on the same page.

I have tried Xfce (with and without antialising) and fluxbox without success.

Do you have any suggestions? Do you experience the same crash?

Thanks,

fgcl2k
 
Old 03-08-2011, 09:36 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Working fine here with Firefox 3.6.15 from Mozilla, not from Slackware package

FYI, i'm running -Current
 
Old 03-08-2011, 10:07 AM   #3
kevjamsis
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Rep: Reputation: 0
I have had a similar problem with firefox recently. It would crash (stop completely with an error message) on some web sites. I have upgraded to the most recent firefox as well as the java plug-in. It did not always happen at the same site, and I could go for a day or so between crashes. As my computer was somewhat new, I thought I might have a hardware problem, but no other program crashed. When I went back to another computer to test, I noticed that I had changed the fonts under preferences on the one that was crashing. I had set arial for most fonts, but I reset the fonts back (to the original?) to serif for proportional, sans serif for sans serif, monospace for monospace, and bitstream charter for serif. It has been several days and I have not had a crash. Just something to check.
 
Old 03-08-2011, 12:30 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Wow, I get a crash on that page too. Haven't had Firefox crash on any web page that I can remember but that one does a good job of it. I haven't messed with any fonts that I know of (other than running Microsoft's webcore fonts), though my Firefox is not plugin-/add-on-free so I don't know if it's related to those or not.
 
1 members found this post helpful.
Old 03-08-2011, 01:05 PM   #5
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
Seamonkey also crashes on that page on my computer.
 
Old 03-08-2011, 03:46 PM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
It's fine on x86_64 with Stock Firefox .14 here.
 
Old 03-08-2011, 04:56 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
It crashes on Slackware64 13.1 in stock Seamonkey as well (seamonkey-2.0.11-x86_64-1_slack13.1) for me (and mozilla-firefox-3.6.14-x86_64-1_slack13.1, though with addons). GazL, are you using -current or 13.1?
 
1 members found this post helpful.
Old 03-08-2011, 06:47 PM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Ahh, good point. It's current I have. It's that stable I tend to forget.
 
Old 03-08-2011, 08:44 PM   #9
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
I'm running a fully updated 13.0 with a custom kernel, but I have no issues at all on that page with FF 3.6.14. I am running NoScript and Adblock+, though. They may be blocking what is causing your issues.
 
Old 03-09-2011, 02:59 AM   #10
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 118

Original Poster
Rep: Reputation: 32
I have further investigated the problem, running firefox under the debugger:

Code:
$ /usr/lib/firefox-3.6.3/run-mozilla.sh -g /usr/lib/firefox-3.6.3/firefox-bin -d gdb
When I open http://code.google.com/webfonts:

Code:
Program received signal SIGFPE, Arithmetic exception.
0xb62f218e in ?? () from /usr/lib/libpangoft2-1.0.so.0
(gdb) bt
#0  0xb62f218e in ?? () from /usr/lib/libpangoft2-1.0.so.0
#1  0xb62f296c in ?? () from /usr/lib/libpangoft2-1.0.so.0
#2  0xb62e72bc in ?? () from /usr/lib/libpangoft2-1.0.so.0
#3  0xb62e290d in ?? () from /usr/lib/libpangoft2-1.0.so.0
#4  0xb62df613 in pango_ot_info_get () from /usr/lib/libpangoft2-1.0.so.0
#5  0xb5c4df25 in ?? () from /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
#6  0xb6bb1bfa in ?? () from /usr/lib/libpango-1.0.so.0
#7  0xb6bc464c in pango_shape () from /usr/lib/libpango-1.0.so.0
#8  0xb7c74570 in gfxPangoFontGroup::CreateGlyphRunsItemizing(gfxTextRun*, char const*, unsigned int, unsigned int) () from /usr/lib/firefox-3.6.3/libxul.so
#9  0xb7c76297 in gfxPangoFontGroup::InitTextRun(gfxTextRun*, char const*, unsigned int, unsigned int, int) () from /usr/lib/firefox-3.6.3/libxul.so
#10 0xb7c76392 in gfxPangoFontGroup::MakeTextRun(unsigned char const*, unsigned int, gfxTextRunFactory::Parameters const*, unsigned int) () from /usr/lib/firefox-3.6.3/libxul.so
#11 0xb7c707a9 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#12 0xb7c70815 in gfxTextRunWordCache::MakeTextRun(unsigned char const*, unsigned int, gfxFontGroup*, gfxTextRunFactory::Parameters const*, unsigned int) () from /usr/lib/firefox-3.6.3/libxul.so
#13 0xb7562a03 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#14 0xb7562ca4 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#15 0xb7563351 in ?? () from /usr/lib/firefox-3.6.3/libxul.so
#16 0xb7563e6a in ?? () from /usr/lib/firefox-3.6.3/libxul.so
libpangoft2 belongs to the pango-1.26.2-i486-1 package.

Firefox can open that page without crashing only if disable "Allow pages to choose their own fonts, instead of my selections above" in the "Preferences|Fonts" dialog box.

fgcl2k
 
Old 03-09-2011, 10:01 AM   #11
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
You can kill Pango permanently by adding this to your /home/<user>/.bashrc:

Code:
export MOZ_DISABLE_PANGO=1
I always run with Pango disabled. It gives FF a wonderful speed increase, too.

Luck!

~Eric
 
2 members found this post helpful.
Old 03-10-2011, 02:44 AM   #12
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 118

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by vtel57 View Post
You can kill Pango permanently by adding this to your /home/<user>/.bashrc:

Code:
export MOZ_DISABLE_PANGO=1
I always run with Pango disabled. It gives FF a wonderful speed increase, too.

Luck!

~Eric
It doesn't seem to make any difference; it looks like the setting is ignored. Firefox crashes and I get the same error. I did a quick search and tried without result the following settings MOZ_DISABLE_PANGO=1, MOZ_DISABLE_PANGO=0, MOZ_ENABLE_PANGO=0, MOZ_ENABLE_PANGO=1.

I am now trying to recompile firefox with --disable-pango.

Thanks for your help,

fgcl2k
 
Old 03-10-2011, 04:51 AM   #13
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 118

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by fgcl2k View Post
I am now trying to recompile firefox with --disable-pango.
It works. I have compiled mozilla-firefox 3.6.15 with --disable-pango and it no longer crashes on http://www.google.com/webfonts.

fgcl2k
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 3/ All essential plugins/ Debian Lenny 64 Bit/ Will work on 32 bit also lindylex LinuxAnswers Discussion 1 11-28-2016 12:46 PM
stringstream::write() crash on 64-bit platform aryan1 Programming 1 02-03-2010 03:30 PM
Mozilla Firefox 64-bit build for Linux with Adobe Flash Player 64-bit integrated silos Linux - Software 4 12-03-2009 07:40 PM
LXer: Howto install Flash, Java, Real Player 32 bit plugins under 64 bit Firefox LXer Syndicated Linux News 0 03-16-2007 11:31 PM
32 bit thunderbird/firefox on 64 bit system true_atlantis Fedora 6 07-19-2006 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration