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 649539 - A crash in the gnome-settings-daemon prevents login after logging out once
A crash in the gnome-settings-daemon prevents login after logging out once
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: mouse
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-06 06:55 UTC by druidic
Modified: 2011-05-06 17:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output of xinput list --long (4.48 KB, text/plain)
2011-05-06 17:16 UTC, druidic
Details
Output of .xsession-errors when a crash occurs (1.04 KB, text/plain)
2011-05-06 17:17 UTC, druidic
Details

Description druidic 2011-05-06 06:55:35 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
Comment 1 Bastien Nocera 2011-05-06 14:20:00 UTC
What's the output of "xinput list --long" on your machine?

Do you get errors in ~/.xsession-errors as well?
Comment 2 druidic 2011-05-06 17:16:42 UTC
Created attachment 187369 [details]
Output of xinput list --long
Comment 3 druidic 2011-05-06 17:17:31 UTC
Created attachment 187370 [details]
Output of .xsession-errors when a crash occurs
Comment 4 Bastien Nocera 2011-05-06 17:42:05 UTC


  • #0 set_motion
    at gsd-mouse-manager.c line 452

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