GNOME Bugzilla – Bug 649539
A crash in the gnome-settings-daemon prevents login after logging out once
Last modified: 2011-05-06 17:42:05 UTC
This crash happens always after logging out of Gnome 3 once and trying to log back in. Subsequent login attempts are unsuccessful and end up in an "Oops"-dialog with only a chance to "Log out". STEPS TO REPRODUCE: 1. Log out of Gnome 3 2. Try to log back in Here are the messages in var/log/messages: May 4 08:01:26 straylight kernel: [ 1458.662371] gnome-settings-[3823]: segfault at 0 ip 0062a181 sp bfb785d0 error 4 in libmouse.so[626000+c000] May 4 08:01:27 straylight abrt[3857]: saved core dump of pid 3823 (/usr/libexec/gnome-settings-daemon) to /var/spool/abrt/ccpp-2011-05-04-08:01:26-3823.new/coredump (37326848 bytes) May 4 08:01:27 straylight abrtd: Directory 'ccpp-2011-05-04-08:01:26-3823' creation detected May 4 08:01:27 straylight gnome-session[3682]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal May 4 08:01:27 straylight abrtd: Dump directory is a duplicate of /var/spool/abrt/ccpp-2011-05-04-07:40:06-1630 May 4 08:01:27 straylight abrtd: Deleting dump directory ccpp-2011-05-04-08:01:26-3823 (dup of ccpp-2011-05-04-07:40:06-1630), sending dbus signal May 4 08:01:28 straylight kernel: [ 1460.041406] gnome-settings-[3908]: segfault at 0 ip 001a2181 sp bfda3230 error 4 in libmouse.so[19e000+c000] May 4 08:01:28 straylight abrt[3960]: not dumping repeating crash in '/usr/libexec/gnome-settings-daemon' May 4 08:01:28 straylight gnome-session[3682]: WARNING: App 'gnome-settings-daemon.desktop' respawning too quickly May 4 08:01:28 straylight gnome-session[3682]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal The libmouse.so -part looked interesting, so I tried removing the usb dongle (I have a wireless Logitech Mouse Anywhere MX) and putting it back in. That worked around the problem and I was able to log in again. Stack trace here: https://bugzilla.redhat.com/show_bug.cgi?id=701863
What's the output of "xinput list --long" on your machine? Do you get errors in ~/.xsession-errors as well?
Created attachment 187369 [details] Output of xinput list --long
Created attachment 187370 [details] Output of .xsession-errors when a crash occurs
+ Trace 227023
num_feedbacks is garbage, and the states list is NULL. Fixed in gnome-3-0 and master. commit f06775d9b415dd6bd7ae2efcc7e4164e0b355c4a Author: Bastien Nocera <hadess@hadess.net> Date: Fri May 6 18:38:55 2011 +0100 mouse: Don't crash if mouse has no FeedbackStates When XGetFeedbackControl fails, it returns NULL, and num_feedbacks might not have been set to a decent value. We should check the return value instead of thinking that num_feedbacks will always have a valid value. https://bugzilla.gnome.org/show_bug.cgi?id=649539