Bug 232209

Summary: gnome-font-properties crashes or hangs firefox
Product: [openSUSE] openSUSE 10.3 Reporter: Mike Fabian <mfabian>
Component: FirefoxAssignee: Michael Wolf <maw>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: clint, federico, wolfgang
Version: unspecified   
Target Milestone: ---   
Hardware: x86-64   
OS: Linux   
Whiteboard: fixed_bs
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch

Description Mike Fabian 2007-01-05 17:54:37 UTC
gnome-font-properties crashes or hangs firefox.
Comment 1 Mike Fabian 2007-01-05 17:57:01 UTC
see also bug #229207 comment #21.
Comment 2 Wolfgang Rosenauer 2007-01-06 09:43:19 UTC
So the problem is that changing font settings during Firefox runtime hangs or crashes Firefox, correct?
Comment 3 Mike Fabian 2007-01-06 11:02:28 UTC
Yes.

But suddenly I have difficulties reproducing this.

I reproduced that many times yesterday while working on the
(unrelated) bug #229207 and it annoyed me so much that I opened this
bug report.

But when I wanted to reproduce it again to add more information to
this bugreport, I couldn't. Very strange.  I'm sure it will happen
again though, I've been suffering from this problem for weeks.

Comment 4 Wolfgang Rosenauer 2007-01-09 06:16:33 UTC
OK, I also see crashes when I start gnome-font-properties (which invokes the gnome-settings-daemon). So I guess all that only happens in a non-Gnome environment (like WindowMaker where no gnome-settings-daemon is running already).
Comment 5 Wolfgang Rosenauer 2007-01-09 08:06:30 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4145043152 (LWP 7367)]
0x0824d514 in nsLookAndFeel::InitColors ()
(gdb) bt
#0  0x0824d514 in nsLookAndFeel::InitColors ()
#1  0x0824d81a in nsLookAndFeel::LookAndFeelChanged ()
#2  0x0828e129 in nsPresContext::ThemeChanged ()
#3  0x082979d3 in PresShell::HandleEvent ()
#4  0x084345d5 in nsViewManager::HandleEvent ()
#5  0x08437bf1 in nsViewManager::DispatchEvent ()
#6  0x08431139 in HandleEvent ()
#7  0x0825ff77 in nsCommonWidget::DispatchEvent ()
#8  0x0825b54a in nsWindow::ThemeChanged ()
#9  0x0825b5a3 in nsWindow::ThemeChanged ()
#10 0xf788b7d9 in g_cclosure_marshal_VOID__PARAM () from /opt/gnome/lib/libgobject-2.0.so.0
#11 0xf787ec0b in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#12 0xf7890021 in g_signal_override_class_closure () from /opt/gnome/lib/libgobject-2.0.so.0
#13 0xf7891247 in g_signal_emit_valist () from /opt/gnome/lib/libgobject-2.0.so.0
#14 0xf7891415 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#15 0xf7883051 in g_object_class_override_property () from /opt/gnome/lib/libgobject-2.0.so.0
#16 0xf787f9df in g_enum_register_static () from /opt/gnome/lib/libgobject-2.0.so.0
#17 0xf7883761 in g_object_thaw_notify () from /opt/gnome/lib/libgobject-2.0.so.0
#18 0xf7b9f13b in gtk_separator_tool_item_new () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#19 0xf7b878e4 in gtk_rc_reparse_all_for_settings () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#20 0xf7b87c23 in gtk_rc_reparse_all () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#21 0xf788b7d9 in g_cclosure_marshal_VOID__PARAM () from /opt/gnome/lib/libgobject-2.0.so.0
#22 0xf787ec0b in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#23 0xf788fd3d in g_signal_override_class_closure () from /opt/gnome/lib/libgobject-2.0.so.0
#24 0xf7891247 in g_signal_emit_valist () from /opt/gnome/lib/libgobject-2.0.so.0
#25 0xf7891415 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#26 0xf7883051 in g_object_class_override_property () from /opt/gnome/lib/libgobject-2.0.so.0
#27 0xf787f9df in g_enum_register_static () from /opt/gnome/lib/libgobject-2.0.so.0
#28 0xf7884c02 in g_object_notify () from /opt/gnome/lib/libgobject-2.0.so.0
#29 0xf7ba12f6 in gtk_settings_get_for_screen () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#30 0xf7b3a7b8 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#31 0xf79cd02a in gdk_add_client_message_filter () from /opt/gnome/lib/libgdk-x11-2.0.so.0
#32 0xf7809de2 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#33 0xf780ce1f in g_main_context_prepare () from /opt/gnome/lib/libglib-2.0.so.0
#34 0xf780d1c9 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#35 0xf7b3acd4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#36 0x0825f696 in nsAppShell::Run ()
#37 0x0867ca3a in nsAppStartup::Run ()
#38 0x08088242 in XRE_main ()
#39 0x080843a4 in main ()
#40 0xf71caf9c in __libc_start_main () from /lib/libc.so.6
#41 0x08084301 in _start ()
Comment 7 Wolfgang Rosenauer 2007-01-10 13:36:13 UTC
Created attachment 112209 [details]
patch
Comment 8 Wolfgang Rosenauer 2007-01-10 13:37:14 UTC
Fixed in buildservice and submitted upstream proposal.
Comment 9 Wolfgang Rosenauer 2007-01-17 06:03:29 UTC
Fix will be in Firefox 2.0.0.2
Comment 10 Wolfgang Rosenauer 2007-04-16 05:46:32 UTC
2.0.0.2 was released as security update