Firefox segfaults when opening some webpages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Invalid
|
Critical
|
Thom May |
Bug Description
Mozilla Firefox segfaults when opening some webpages. This happens on many webpages.
I'm running hoary.
Example:
$ firefox http://
Segmentation fault
I've tried to debug this with gdb, but without success. If someone could give me
some instructions on how to debug firefox, I will gladly help.
Also, I've tried this on other ubuntu hoary systems, where firefox does not
crash at all. This leads me to think that this is a problem caused by a library
firefox is linked with.
These are the dynamic libraries my firefox-bin is linked with:
$ ldd /usr/lib/
libmozjs.so => /usr/lib/
libxpcom.so => /usr/lib/
libplds4.so => /usr/lib/
libplc4.so => /usr/lib/libplc4.so (0x40161000)
libnspr4.so => /usr/lib/
libdl.so.2 => /lib/tls/
libX11.so.6 => /usr/X11R6/
libm.so.6 => /lib/tls/
libc.so.6 => /lib/tls/
libXi.so.6 => /usr/X11R6/
libXft.so.2 => /usr/lib/
libz.so.1 => /usr/lib/libz.so.1 (0x40977000)
If you want, I can give you any information regarding the versions/etc of these
libraries I have installed.
Thank you,
Johannes H. Jensen
Found that this also happens with mozilla.
I managed to debug mozilla (found instructions here: /bugzilla. mozilla. org/show_ bug.cgi? id=207197# c4) and it appears this is a
https:/
problem with the libgklayout.so library. The backtrace from gdb follows below:
#0 0x40f38edc in nsHTMLReflowSta te::UseComputed Height () mozilla/ components/ libgklayout. so te::UseComputed Height () mozilla/ components/ libgklayout. so te::CalcLineHei ght () mozilla/ components/ libgklayout. so ate::nsBlockRef lowState () mozilla/ components/ libgklayout. so :IsContainingBl ock () mozilla/ components/ libgklayout. so ntext:: ReflowBlock () mozilla/ components/ libgklayout. so :ReflowBlockFra me () from mozilla/ components/ libgklayout. so :ReflowLine () from mozilla/ components/ libgklayout. so :ReflowDirtyLin es () from mozilla/ components/ libgklayout. so :IsContainingBl ock () mozilla/ components/ libgklayout. so e::ReflowChild () from mozilla/ components/ libgklayout. so mozilla/ components/ libgklayout. so ptor::Reflow () from mozilla/ components/ libgklayout. so ptor::RefreshSi zeCache () mozilla/ components/ libgklayout. so UnCollapseChild () from mozilla/ components/ libgklayout. so e::CreateScroll ingView () mozilla/ components/ libgklayout. so UnCollapseChild () from mozilla/ components/ libgklayout. so :LayoutChildAt () from mozilla/ components/ libgklayout. so eInner: :LayoutBox () mozilla/ components/ libgklayout. so eInner: :Layout () from mozilla/ components/ libgklayout. so eInner: :LayoutBox () mozilla/ components/ libgklayout. so UnCollapseChild () from mozilla/ components/ libgklayout. so :IsInitialReflo wForPrintPrevie w () mozilla/ components/ libgklayout. so e::GetScrollbar Styles () mozilla/ components/ libgklayout. so e::ReflowChild () from mozilla/ components/ libgklayout. so :AdjustReflowSt ateForScrollbar s () mozilla/ components/ libgklayout. so ow::Dispatch () from mozilla/ components/ libgklayout. so :ProcessReflowC ommands () mozilla/ components/ libgklayout. so
from /usr/lib/
#1 0x40f39022 in nsHTMLReflowSta
from /usr/lib/
#2 0x40f39101 in nsHTMLReflowSta
from /usr/lib/
#3 0x40f1d7f8 in nsBlockReflowSt
from /usr/lib/
#4 0x40f135cf in nsBlockFrame:
from /usr/lib/
#5 0x40f1ca20 in nsBlockReflowCo
from /usr/lib/
#6 0x40f16944 in nsBlockFrame:
/usr/lib/
#7 0x40f159c2 in nsBlockFrame:
/usr/lib/
#8 0x40f154a3 in nsBlockFrame:
/usr/lib/
#9 0x40f13676 in nsBlockFrame:
from /usr/lib/
#10 0x40f23638 in nsContainerFram
/usr/lib/
#11 0x40f353c2 in NS_NewCanvasFrame () from
/usr/lib/
#12 0x41006f99 in nsBoxToBlockAda
/usr/lib/
#13 0x41006b1a in nsBoxToBlockAda
from /usr/lib/
#14 0x40ffe120 in nsBox::
/usr/lib/
---Type <return> to continue, or q <return> to quit---
#15 0x40ffa65b in nsScrollBoxFram
from /usr/lib/
#16 0x40ffe120 in nsBox::
/usr/lib/
#17 0x41008b08 in nsContainerBox:
/usr/lib/
#18 0x40f326dd in nsGfxScrollFram
from /usr/lib/
#19 0x40f329ae in nsGfxScrollFram
/usr/lib/
#20 0x40f32741 in nsGfxScrollFram
from /usr/lib/
#21 0x40ffe120 in nsBox::
/usr/lib/
#22 0x41001d20 in nsBoxFrame:
from /usr/lib/
#23 0x40f31998 in nsGfxScrollFram
from /usr/lib/
#24 0x40f23638 in nsContainerFram
/usr/lib/
#25 0x40f79488 in ViewportFrame:
from /usr/lib/
#26 0x40f58607 in IncrementalRefl
/usr/lib/
#27 0x40f64b94 in PresShell:
from /usr/lib/
#28 0x40f65ef1...