[GUTSY] firefox crashed

Bug #139875 reported by samyonair
40
This bug affects 1 person
Affects Status Importance Assigned to Milestone
msttcorefonts (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: firefox

... Gutsy firefox crashes font problem

Hello, I had updated gutsy in the morning, and now when I want to go to google firefox crashes, i've set the default firefox startsite www.google.de/firefox and now firefox crashes on startup

i started then to the terminal and I get this

(gecko:8878): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Arial 11.19921875'
Segmentation fault (core dumped)

output.

greets Samyonair

msttcorefonts installed, libpango-common 1.0 , firefox 2.0.0.6

another think if I start now via help and going arround some time in web googlesearch and google works

Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote : Report Needed

Thank you samyonair for submitting this report.

Could you please try to obtain a backtrace by following the instructions
on [1], or upload the crash report that probably was generated during
the crash and that should be located at /var/crash/ to [2].

Please indicate which extensions/plugins do you have enabled; and if
this crash is reproducible describe the steps that lead to it (it is
very important for us to have a test case for each crash).

This will greatly aid us in tracking down your problem.

Thanks in advance.

H. Montoliu

[1] https://wiki.ubuntu.com/MozillaTeam/Bugs
[2] https://bugs.edge.launchpad.net/ubuntu/+source/firefox/+bug/139875/+addcomment

description: updated
Changed in firefox:
assignee: nobody → mozilla-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
samyonair (samyonair) wrote :

I'll try it a 2. time by browser I put two attachments to this report because as i want to update the reprot firefox crasched a 2. time

I've although problems to read the wikki the browser crashes by opening it

I,ve only the testing PC running because I've to renew my stable sys because of other probs

I hope you get the Infos now

greets Samy

sorry for my bad English my default language is german

Revision history for this message
samyonair (samyonair) wrote :
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 139875] Gutsy firefox crashes font problem

On Sun, Sep 16, 2007 at 03:46:11AM -0000, samyonair wrote:
> Public bug reported:
>
> Binary package hint: firefox
>
> Hello, I had updated gutsy in the morning, and now when I want to go to
> google firefox crashes, i've set the default firefox startsite
> www.google.de/firefox and now firefox crashes on startup
>
> i started then to the terminal and I get this
>
> (gecko:8878): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Arial 11.19921875'
> Segmentation fault (core dumped)
>
> output.
>
> greets Samyonair
>
> msttcorefonts installed, libpango-common 1.0 , firefox 2.0.0.6
>
> another think if I start now via help and going arround some time in web
> googlesearch and google works

please start firefox from terminal like:

 strace -e open -f firefox &> /tmp/strace.log

and attach the strace.log you get once it crashed.

 - Alexander

Revision history for this message
samyonair (samyonair) wrote :

Sorry that I post late but the because of a Harddisk failure, the Instalation is crashed so I can' t reproduce the failure at the time I've no time to install something because I need to buy a Hardisk first.

Samyonair

Revision history for this message
Shaun Senecal (senecaso) wrote :

I have the same problem. I have attached the strace output. It looks like there is a permissions problem on the msttcorefonts perhaps.

Revision history for this message
Shaun Senecal (senecaso) wrote :

sudo chmod +r /usr/share/fonts/truetype/msfonts/*.ttf

Seems to work now.

Revision history for this message
Holger (holger-burkhardt) wrote :

I had the same problem.
Running firefox with root privileges (sudo firefox) worked, thus hinting that permission rights might cause the problem.
I do not have a "msfonts" subdirectory, but rather "windowsfonts".
My solution was therefore:
sudo chmod +r /usr/share/fonts/truetype/windowsfonts/*.ttf

Revision history for this message
osaeris (osaeris) wrote :

I don't have msfonts or windowsfonts installed and I am getting firefox crashes. Running from the terminal I would get this after the crash:

firefox
QSettings::sync: filename is null/empty
Segmentation fault (core dumped)

I have run with strace and attached the result.

Revision history for this message
suoko (suoko) wrote :

my strace attached

Revision history for this message
stefangachter (stefan-gachter) wrote :

I have the same problem with firefox and msttcorefonts. It seems that each time I want to access a webpage where some MS fonts are used, e.g. ubuntuforums.org, firefox quits unconditionally. Changing the permission did not help so far. However, starting up firefox with root privileges did not cause the crash. So, there must be a problem with the permissions... Attached is my strace.log.

Revision history for this message
foolishchild (j-clark) wrote :

I think same problem. It's solid, whether in safemode or not. Doesn't happen if I sudo firefox.

"firefox -safemode

(gecko:12885): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Lucida Grande 8.25'
Segmentation fault (core dumped) "

I have run "sudo find /usr/share/fonts/truetype/ -iname "*.ttf" -print0 | xargs -0 sudo chmod +r" so all my tt fonts are readable. Makes no difference.

I attach a gdb log.

Revision history for this message
foolishchild (j-clark) wrote :

I think Bug #152609 is a duplicate, but it contains a work-around which worked for me: export MOZ_DISABLE_PANGO=1, then run firefox.

Revision history for this message
foolishchild (j-clark) wrote :

And now I have traced my problem to extension firebug. Removed it, removed the MOZ_.... work-around above, and now firefox is fine for me. Hope that helps somebody else.

Revision history for this message
Pik Master (pikmaster) wrote :

But if you ran firefox in safe mode, all extensions (including Firebug) should be disabled.
In my case, uninstalling FireBug did not help (but I think it could have not uninstalled completely, because now I get at every firefox starup a window titled NS_ERROR_FAILURE with message:
  Componen returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.formatStringFromName]

MOZ_DISABLE_PANGO=1 works for me, the same with sudo firefox although there are the ugly solutions.

When I normally run firefox it segfaults (the number xxxx after the "line 131: xxxx" changes with every launch)

(gecko:23637): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Arial 9'
/usr/lib/firefox/run-mozilla.sh: line 131: 23637 Segmentation fault (core dumped) "$prog" ${1+"$@"}

Attached strace

Revision history for this message
Pik Master (pikmaster) wrote :

What is more interesting, in my case when i run firefox from the commandline with:
  $ MOZ_DISABLE_PANGO=0 firefox

It also does not crash. Does it meas that problem lies elsewhere?

Revision history for this message
mehturt (mehturt) wrote :

I have a similar problem on Gutsy, but with FF 3 (a nightly build)..
I get those Pango-WARNING messages but the FF does not crash

Revision history for this message
tingo (ubuntu-tingo) wrote :

I have searched the internet for a solution of that before subscribed problem.
In my case
  >sudo chmod +r `locate .ttf|grep -i "ttf$"
solved the problem. Thanx to you all (to unix cracks... is there a better solution)

It was the rights of maybe some ttf-files. But I can't tell which one it was, because I've run the command first. :(

Maybe another user can post the difference (just guessing the commands)
 > ls -l `locate .ttf|grep -i "ttf$" >> ttf-files.before.log
 > sudo chmod +r `locate .ttf|grep -i "ttf$"
 > ls -l `locate .ttf|grep -i "ttf$" >> ttf-files.after.log
 > diff ttf-files.before.log ttf-files.after.log
and paste the difference here.

Revision history for this message
tingo (ubuntu-tingo) wrote :

I fogort to tell, that to set the rights solves another problem. Maybe one of you find the right bug report
and can change the next ubuntu update. Please mark this update urgent, because its an error I think.

The problem was (sorry I have a german version and I try to guess the english names)
  System -> Settings -> "Display" -> Fonds
The Arial fond was not displayed in the preview windows. There were only empty rectangles.

Hope this helps.

Alexander Sack (asac)
Changed in msttcorefonts:
assignee: mozilla-bugs → nobody
Revision history for this message
Connor Imes (ckimes) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Revision history for this message
foolishchild (j-clark) wrote :

To respond to Connor's request...

Eventually the problem was solved when I found some fonts (Lucida Grande?) which did not have the read attribute. I think from memory something like "sudo chmod +r /usr/local/share/fonts/*" fixed it for me. So somehow I guess I installed some restricted fonts incorrectly.

As far as I am concerned the problem is resolved.

Revision history for this message
Christoph Egger (christoph-egger) wrote : Re: [Bug 139875] Re: [GUTSY] firefox crashed

foolishchild schrieb:
> To respond to Connor's request...
>
> Eventually the problem was solved when I found some fonts (Lucida
> Grande?) which did not have the read attribute. I think from memory
> something like "sudo chmod +r /usr/local/share/fonts/*" fixed it for me.
> So somehow I guess I installed some restricted fonts incorrectly.
>
> As far as I am concerned the problem is resolved.
>

Hi

I can't tell anymore as I have switched to debian some time ago. So
closing this report would be ok for me

Regards

  Christoph

--
GPG-Key ID: 0x0372275D

/"\ ASCII Ribbon
\ / Campaign
 X against HTML
/ \ in eMails

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm closing this report due to the latest comments. Don't hesitate to reopen if it's still an issue.

Thanks for your time.

Changed in msttcorefonts:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.