After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 631168 - g-s-d crashes when ~/.gtkrc-2.0 contains a gtk-font-name=... line
g-s-d crashes when ~/.gtkrc-2.0 contains a gtk-font-name=... line
Status: RESOLVED DUPLICATE of bug 618727
Product: gnome-settings-daemon
Classification: Core
Component: general
2.30.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2010-10-02 12:53 UTC by M. Vefa Bicakci
Modified: 2010-10-04 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace from the crash (5.26 KB, text/plain)
2010-10-02 12:53 UTC, M. Vefa Bicakci
Details

Description M. Vefa Bicakci 2010-10-02 12:53:26 UTC
Created attachment 171567 [details]
Backtrace from the crash

Hello,

I have noticed that if I change the theme of GNOME using
the lxappearance program and afterwards change the theme
again using Preferences -> Appearance, gnome-settings-daemon
crashes. Please note that I believe this is a bug in g-s-d,
and not lxappearance.

Since this crash only occurs after I have changed the theme
using lxappearance, I suspected that lxappearance does
something that confuses g-s-d.

I got a backtrace from g-s-d, which I am attaching.

I have found that the problem can be reproduced with a ~/.gtkrc-2.0
similar to the following:

=== 8< ===
# The following line by itself causes g-s-d to crash
# if no other font related lines or stanzas exist
gtk-font-name="Sans 10"
=== >8 ===

If the only font related line in gtkrc is the "gtk-font-name" line,
then changing the theme using Preferences -> Appearance causes g-s-d
to crash.

While it is true that lxappearance may not be generating optimal
gtkrc-2.0 files, this shouldn't cause g-s-d to crash.

Regards,

M. Vefa Bicakci
Comment 1 Fabio Durán Verdugo 2010-10-04 01:05:01 UTC
paste here the backtrace:



  • #0 gkbd_indicator_config_load_font
    at gkbd-indicator-config.c line 119
  • #1 gkbd_indicator_config_refresh_style
    at gkbd-indicator-config.c line 188
  • #2 gkbd_status_theme_changed
    at gkbd-status.c line 632
  • #3 IA__g_cclosure_marshal_VOID__PARAM
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gmarshal.c line 531
  • #4 IA__g_closure_invoke
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gclosure.c line 767
  • #5 signal_emit_unlocked_R
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c line 3318
  • #6 IA__g_signal_emit_valist
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c line 2981
  • #7 IA__g_signal_emit
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c line 3038
  • #8 g_object_dispatch_properties_changed
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gobject.c line 801
  • #9 g_object_notify_dispatcher
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gobject.c line 328
  • #10 g_object_notify_queue_thaw
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gobjectnotifyqueue.c line 120
  • #11 IA__g_object_thaw_notify
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gobject.c line 918
  • #12 _gtk_settings_reset_rc_values
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtksettings.c line 2018
  • #13 IA__gtk_rc_reparse_all_for_settings
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtkrc.c line 1832
  • #14 gtk_window_client_event
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtkwindow.c line 5387
  • #15 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtkmarshalers.c line 84
  • #16 g_type_class_meta_marshal
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gclosure.c line 878
  • #17 IA__g_closure_invoke
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gclosure.c line 767
  • #18 signal_emit_unlocked_R
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c line 3286
  • #19 IA__g_signal_emit_valist
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c line 2991
  • #20 IA__g_signal_emit
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c line 3038
  • #21 gtk_widget_event_internal
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtkwidget.c line 4943
  • #22 IA__gtk_main_do_event
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtkmain.c line 1601
  • #23 gdk_event_dispatch
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gdk/x11/gdkevents-x11.c line 2372
  • #24 g_main_dispatch
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c line 1960
  • #25 IA__g_main_context_dispatch
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c line 2513
  • #26 g_main_context_iterate
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c line 2591
  • #27 IA__g_main_loop_run
    at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c line 2799
  • #28 IA__gtk_main
    at /build/buildd-gtk+2.0_2.20.1-1+b1-i386-jmql5R/gtk+2.0-2.20.1/gtk/gtkmain.c line 1219
  • #29 main

Comment 2 Fabio Durán Verdugo 2010-10-04 01:06:36 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 618727 ***