Bugzilla – Bug 115196
Crash in gnome-settings-daemon
Last modified: 2005-09-07 14:04:07 UTC
When logging into GNOME, the gnome-settings-daemon crashes, causing the login procedure to hang. Logging into another WM, and running gnome settings results in the following being outputed at the command line: ogley@dhcp1:~> /opt/gnome/lib/control-center-2.0/gnome-settings-daemon Gdk-ERROR **: unable to find a usable depth aborting... (process:7103): Gdk-CRITICAL (recursed) **: gdk_display_pointer_ungrab: assertion `GDK_IS_DISPLAY (display)' failed aborting... Multiple segmentation faults occurred; can't display error dialogue Here is the backtrace from gdb: #0 0xffffe410 in __kernel_vsyscall () #1 0x41016501 in raise () from /lib/tls/libc.so.6 #2 0x41017d7b in abort () from /lib/tls/libc.so.6 #3 0x40d0a0e6 in g_logv () from /opt/gnome/lib/libglib-2.0.so.0 #4 0x40d0a135 in g_log () from /opt/gnome/lib/libglib-2.0.so.0 #5 0x40b85ffc in gdkx_visual_get () from /opt/gnome/lib/libgdk-x11-2.0.so.0 #6 0x40b838d3 in gdk_x11_screen_get_screen_number () from /opt/gnome/lib/libgdk-x11-2.0.so.0 #7 0x40b6a7b6 in gdk_display_open () from /opt/gnome/lib/libgdk-x11-2.0.so.0 #8 0x40b492cf in gdk_display_open_default_libgtk_only () from /opt/gnome/lib/libgdk-x11-2.0.so.0 #9 0x40844d1f in gtk_init_check () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #10 0x40844d54 in gtk_init () from /opt/gnome/lib/libgtk-x11-2.0.so.0 #11 0x402bb8a4 in bonobo_dock_layout_parse_string () from /opt/gnome/lib/libbonoboui-2.so.0 #12 0x4032dc53 in gnome_program_postinit () from /opt/gnome/lib/libgnome-2.so.0 #13 0x4032e627 in gnome_program_module_load () from /opt/gnome/lib/libgnome-2.so.0 #14 0x4032e979 in gnome_program_init () from /opt/gnome/lib/libgnome-2.so.0 #15 0x08054187 in main ()
Created attachment 48720 [details] Screenshot of the error message when logging into GNOME
What bit depth are you running at for X?
24 bit
The same behaviour seems to occur with various other GTK+ apps too. I've noticed it with evince and gpdf so far. But, by no means all, evolution, firefox and gnome-terminal all work fine for example.
The first error shown comes from _gdk_visual_init, which looks through XgetVisualInfo return for a 32,24,16,15,8,4,1 bit depth to use and throws up the error if it can't find one. Anything we can check in X stefan?
For information: kcmshell xserver shows the bit depths (in full) as: 24, 1, 4, 8, 15, 16, 32
How many virtual desktops do you have?
Just to clarify we're using the same terminology, if you mean what Metacity calls "Workspaces", I have 4, but I don't see how that affects the colour depth. If you mean something else, let me know...
Maybe Egbert can help here.
Just to mention I've also submitted bug #115554 - in case it's related, it may be completely seperate.
For #8 Its possibly related because of gdk_x11_screen_get_screen_number. Attaching gtk 2.8.3 rpms to see if it solves this problem as well.
Created attachment 49037 [details] gtk 2.8.3 rpm
Any chance of the -doc and -devel packages too? dhcp1:/home/install # rpm -Uvh gtk2-2.8.3-3.i586.rpm error: Failed dependencies: gtk2 = 2.8.2 is needed by (installed) gtk2-doc-2.8.2-5 gtk2 = 2.8.2 is needed by (installed) gtk2-devel-2.8.2-5
Created attachment 49054 [details] gtk 2.8.3 devel rpm
Created attachment 49055 [details] gtk 2.8.3 doc rpm
Should be everything you need
Yeah, that has fixed it, nice one.