Closed Bug 305905 Opened 19 years ago Closed 19 years ago

Firefox crashes with GTK2.8.

Categories

(Core Graveyard :: GFX: Gtk, defect)

1.8 Branch
x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nococu, Assigned: blizzard)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050825 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050825 Firefox/1.0.6

Firefox crashes (with "Segmentation fault") on closing some dialog or
application windows. I have observed this bug with two Firefox releases - 1.0.4
and 1.0.6, both only with GTK2.8 (with GTK2.6 everything works correctly).



Reproducible: Sometimes

Steps to Reproduce:
1. start firefox.
2. Open some dialog window (for example, preferences), then close it. Repeat
this step until application crashes.
Actual Results:  
Firefox has crashed with 'Segmentation fault'


When I installed GTK2.8 (instead of GTK2.6), Firefox began to report this warning:

(firefox-bin:7988): Gdk-WARNING **: gdk_property_get(): length value has wrapped
in calculation (did you pass G_MAXLONG?)

Removing ~/.mozilla directory causes Firefox 1.0.6 to hang with infinite
reporting this warning.
Looks like bug 305185.
Keywords: crash
Reporter, could you please test this with the latest versions of cario and GTK
(cairo 1.0.0, gtk 2.8.1) to see if this still occurs? 
I don't know how this is connected with the behaviour the original reporter 
sees, but Firefox crashes far too often for me, even with a clean profile. One 
example URL this bug page. The talkback data (TB9018149W) suggests it could have 
something to do with GTK2.8 and their Cairo transition.

My system is a daily updated Ubuntu Breezy, libcairo 1.0.0, gtk 2.8.3.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Incident ID: 9018149
Stack Signature	firefox-bin + 0x7d36d0 (0x0881b6d0) ebc38c39
Product ID	Firefox15
Build ID	2005090305
Trigger Time	2005-09-04 02:13:03.0
Platform	LinuxIntel
Operating System	Linux 2.6.12-6-k7
Module	firefox-bin + (007d36d0)
URL visited	
User Comments	
Since Last Crash	0 sec
Total Uptime	1 sec
Trigger Reason	SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No.	N/A
Stack Trace 	
firefox-bin + 0x7d36d0 (0x0881b6d0)
GetConverter() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 2548]
GetFontXftInfo() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 603]
nsFontMetricsXft::DoMatch() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 1184]
nsFontMetricsXft::FindFont() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 972]
nsFontMetricsXft::EnumerateXftGlyphs(unsigned const*, unsigned, unsigned
(nsFontMetricsXft::*)() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 1438]
nsFontMetricsXft::EnumerateGlyphs(unsigned short const*, unsigned, unsigned
(nsFontMetricsXft::*)() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 117]
nsFontMetricsXft::GetTextDimensions() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp,
line 540]
nsRenderingContextGTK::GetTextDimensions() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp,
line 1271]
nsTextFrame::ComputeWordFragmentDimensions() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsTextFrame.cpp,
line 6365]
nsTextFrame::ComputeTotalWordDimensions() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsTextFrame.cpp,
line 842]
nsTextFrame::MeasureText(nsPresContext*, nsHTMLReflowState const&,
nsTextTransformer&, nsILineBreaker*, nsTextFrame::TextStyle&,
nsTextFrame::TextReflowData&)() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsTe]
nsTextFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsTextFrame.cpp,
line 5911]
nsLineLayout::ReflowFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsLineLayout.cpp,
line 995]
nsInlineFrame::ReflowInlineFrame(nsPresContext*, nsHTMLReflowState const&,
nsInlineFrame::InlineReflowState&,() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsInlineFrame.cpp,
line 690]
nsInlineFrame::ReflowFrames(nsPresContext*, nsHTMLReflowState const&,
nsInlineFrame::InlineReflowState&,() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsInlineFrame.cpp,
line 520]
nsInlineFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsInlineFrame.cpp,
line 434]
nsLineLayout::ReflowFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsLineLayout.cpp,
line 995]
nsInlineFrame::ReflowInlineFrame(nsPresContext*, nsHTMLReflowState const&,
nsInlineFrame::InlineReflowState&,() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsInlineFrame.cpp,
line 690]
nsInlineFrame::ReflowFrames(nsPresContext*, nsHTMLReflowState const&,
nsInlineFrame::InlineReflowState&,() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsInlineFrame.cpp,
line 520]
nsInlineFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsInlineFrame.cpp,
line 434]
nsLineLayout::ReflowFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsLineLayout.cpp,
line 995]
nsBlockFrame::ReflowInlineFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 4002]
nsBlockFrame::DoReflowInlineFrames() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 3840]
nsBlockFrame::ReflowInlineFrames() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 3713]
nsBlockFrame::ReflowLine() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2707]
nsBlockFrame::ReflowDirtyLines() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2241]
nsBlockFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 877]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
nsTableCellFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableCellFrame.cpp,
line 440]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
nsTableRowFrame::ReflowChildren() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableRowFrame.cpp,
line 964]
nsTableRowFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableRowFrame.cpp,
line 1405]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
nsTableRowGroupFrame::ReflowChildren() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableRowGroupFrame.cpp,
line 390]
nsTableRowGroupFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableRowGroupFrame.cpp,
line 1238]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
nsTableFrame::ReflowChildren() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableFrame.cpp,
line 3197]
nsTableFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableFrame.cpp,
line 938]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
nsTableOuterFrame::OuterReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableOuterFrame.cpp,
line 1315]
nsTableOuterFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/tables/nsTableOuterFrame.cpp,
line 1968]
nsBlockReflowContext::ReflowBlock() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockReflowContext.cpp,
line 605]
nsBlockFrame::ReflowBlockFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 104]
nsBlockFrame::ReflowLine() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 587]
nsBlockFrame::ReflowDirtyLines() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2241]
nsBlockFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 877]
nsBlockReflowContext::ReflowBlock() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockReflowContext.cpp,
line 605]
nsBlockFrame::ReflowBlockFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 104]
nsBlockFrame::ReflowLine() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 587]
nsBlockFrame::ReflowDirtyLines() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2241]
nsBlockFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 877]
nsBlockReflowContext::ReflowBlock() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockReflowContext.cpp,
line 605]
nsBlockFrame::ReflowBlockFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 104]
nsBlockFrame::ReflowLine() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 587]
nsBlockFrame::ReflowDirtyLines() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2241]
nsBlockFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 877]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
CanvasFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsHTMLFrame.cpp,
line 520]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
nsHTMLScrollFrame::ReflowScrolledFrame() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsGfxScrollFrame.cpp,
line 406]
nsHTMLScrollFrame::ReflowContents() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsGfxScrollFrame.cpp,
line 568]
nsHTMLScrollFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsGfxScrollFrame.cpp,
line 760]
nsContainerFrame::ReflowChild() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 919]
ViewportFrame::Reflow() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/generic/nsViewportFrame.cpp,
line 243]
IncrementalReflow::Dispatch() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp,
line 52]
PresShell::ProcessReflowCommands() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6871]
ReflowEvent::HandleEvent()
PL_HandleEvent() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/threads/plevent.c,
line 689]
PL_ProcessPendingEvents() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/threads/plevent.c,
line 623]
nsEventQueueImpl::ProcessPendingEvents() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/threads/nsEventQueue.cpp,
line 423]
event_processor_callback() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp,
line 67]
libglib-2.0.so.0 + 0x4b29c (0xb79be29c)
libglib-2.0.so.0 + 0x2448e (0xb799748e)
libglib-2.0.so.0 + 0x27496 (0xb799a496)
libglib-2.0.so.0 + 0x27783 (0xb799a783)
libgtk-x11-2.0.so.0 + 0x11e606 (0xb7c42606)
nsAppShell::Run() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp,
line 141]
nsAppStartup::Run() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp,
line 146]
XRE_main() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/toolkit/xre/nsAppRunner.cpp,
line 2324]
main() 
[/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/browser/app/nsBrowserApp.cpp,
line 62]
libc.so.6 + 0x14eb4 (0xb74ceeb4)
Assignee: nobody → blizzard
Component: General → GFX: Gtk
Product: Firefox → Core
QA Contact: general → gtk
Version: unspecified → 1.8 Branch
This bug is likely to be connected with bug in GTK-2.8.0. With GTK-2.8.3 and
Cairo-1.0.0 Firefox works quite stable... The "gdk-WARNING" mentioned above also
has disappeared...
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.