gnome-settings-daemon crashes

Bug #66124 reported by Nick S
4
Affects Status Importance Assigned to Milestone
gtk-qt-engine (Ubuntu)
New
Undecided
Unassigned

Bug Description

On login, gnome-settings-daemon fails to start, with the message "restarted too many times". Trying to run from the terminal turns it, and only it, high-contrast (I assume I accidentally set that theme at some point) until I end it manually, or it segfaults. Due to this, I assume, the volume + and - keys have stopped working and the theme is incorrect.

Running gnome-settings-daemon through gdb gets the following:

xrdb: "*Label.background" on line 243 overrides entry on line 170
xrdb: "*Text.background" on line 249 overrides entry on line 211
xrdb: "*Label.foreground" on line 255 overrides entry on line 171
xrdb: "*Text.foreground" on line 261 overrides entry on line 212
Txrdb: "*Label.background" on line 243 overrides entry on line 170
xrdb: "*Text.background" on line 249 overrides entry on line 211
xrdb: "*Label.foreground" on line 255 overrides entry on line 171
xrdb: "*Text.foreground" on line 261 overrides entry on line 212
S(no debugging symbols found)
[1160840057,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226738000 (LWP 5948)]
0xb6462a70 in ?? ()
(gdb) xrdb: "*Label.background" on line 243 overrides entry on line 170
xrdb: "*Text.background" on line 249 overrides entry on line 211
xrdb: "*Label.foreground" on line 255 overrides entry on line 171
xrdb: "*Text.foreground" on line 261 overrides entry on line 212

(gdb) backtrace
#0 0xb6462a70 in ?? ()
#1 0xb79da021 in gdk_x11_drawable_get_xdisplay ()
   from /usr/lib/libgdk-x11-2.0.so.0
#2 0xb79db78c in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#3 0xb79dd3bb in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#4 0xb79dd7bf in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0
#5 0xb7706802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6 0xb77097df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7 0xb7709b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#8 0xb7b55574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#9 0x08053f6f in main ()

Thanks,
Nick

Revision history for this message
Nick S (pinkcoons) wrote :

Problem report.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Do you have anything to ~/.xsession-errors about that? Does it happen every time? Could you try running "ltrace gnome-settings-daemon" and not functions called before the crash?

Changed in control-center:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Justy (justy) wrote :

I just finallly figured out the reason behind crashing of my gnome-settings-daemon. After I erased ~/.gtkrc-2.0 everything turned back to normal. This file (defining default GTK2 theme) was setup for QT theme for some reason. Maybe in my case, since I also have KDE installed, it was replaced by KDE at some point. Btw. I use Ubuntu 6.10 Edgy.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for the comment Justy, do you still have a copy of that file? That might be useful to debug the theme for people who work on it

Revision history for this message
Justy (justy) wrote :

Sure. Hopefully it helps. Here it goes:

# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"

include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

style "user-font"
{
        font_name="Sans Serif 10"
}
widget_class "*" style "user-font"

gtk-theme-name="Qt"
gtk-font-name="Sans Serif 10"

Revision history for this message
Sebastien Bacher (seb128) wrote :

The QT was used, gtk-qt-engine bug, reassigning

Changed in control-center:
assignee: desktop-bugs → nobody
status: Needs Info → Unconfirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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