GNOME Bugzilla – Bug 748023
GDM crashes if a bluetooth mouse is connected
Last modified: 2016-01-11 18:24:49 UTC
Since I have upgraded to GDM 3.16 the following bug started showing (I can always reproduce) on my Arch Linux machine: 1) Have a bluetooth mouse coupled with the computer (in my case is the Apple Magic Mouse) 2) Restart the computer 3) As soon as the GDM login screen comes up, connect the mouse (with Apple I need to click to connect the device) 4) GDM crashes and is automatically restarted 5) In the restarted GDM login screen, now that the mouse is connected, just move it and GDM will crash and restart again In order to prevent any crashes, I must not touch the mouse while in the GDM login screen. After logged in (just after typing the password and hitting enter, while GNOME is still loading) I can safely start moving the mouse without any other crashes. Then everything works fine. The bug started showing right after upgrading from GNOME 3.14.x to GNOME 3.16.0 and continues showing after receiving updates to gnome 3.16.1. Packages have been installed from official Arch Linux repository $ pacman -Ss gdm extra/gdm 3.16.1.1-1 (gnome) [installato] Gnome Display Manager extra/libgdm 3.16.1.1-1 [installato] GDM support library
This is my journalctl log from when I log out to when gdm crashes and restarts (in reverse order) I think the interesting part is here apr 17 08:45:00 dell-xps13-luca kernel: gnome-shell[3482]: segfault at 8 ip 00007f56240cc364 sp 00007fff0b1d7550 error 4 in libinput.so.10.0.1[7f56240bc000+18000] apr 17 08:45:01 dell-xps13-luca gnome-session[3476]: (EE) failed to dispatch Wayland events: Broken pipe apr 17 08:45:01 dell-xps13-luca /usr/lib/gdm/gdm-wayland-session[3473]: Activating service name='ca.desrt.dconf' apr 17 08:45:01 dell-xps13-luca gnome-session[3476]: Unrecoverable failure in required component gnome-shell-wayland.desktop apr 17 08:45:01 dell-xps13-luca gnome-session[3476]: Fatal server error: apr 17 08:45:01 dell-xps13-luca gnome-session[3476]: (EE) apr 17 08:45:01 dell-xps13-luca systemd-coredump[4448]: Process 3482 (gnome-shell) of user 120 dumped core. apr 17 08:45:01 dell-xps13-luca polkitd[1892]: Unregistered Authentication Agent for unix-session:c4 (system bus name :1.68, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected from bus) apr 17 08:45:00 dell-xps13-luca kernel: gnome-shell[3482]: segfault at 8 ip 00007f56240cc364 sp 00007fff0b1d7550 error 4 in libinput.so.10.0.1[7f56240bc000+18000] apr 17 08:44:57 dell-xps13-luca bluetoothd[940]: Endpoint unregistered: sender=:1.90 path=/MediaEndpoint/A2DPSink apr 17 08:44:57 dell-xps13-luca bluetoothd[940]: Endpoint unregistered: sender=:1.90 path=/MediaEndpoint/A2DPSource apr 17 08:44:57 dell-xps13-luca gdm-password][3574]: pam_unix(gdm-password:session): session closed for user luca
That might also be related: https://bugs.archlinux.org/task/44616
Is this issue still occurring? If so, please post a stack trace using coredumpctl and gdb. We cannot debug crashes without a stack trace.
It was a kernel bug that was fixed in Linux 4.1.7 or something