Bug 85884 - Crashes with hotplugging Logitech Unifying Receiver.
Summary: Crashes with hotplugging Logitech Unifying Receiver.
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 01:42 UTC by Steve Fosdick
Modified: 2018-12-17 17:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Steve Fosdick 2014-11-05 01:42:53 UTC
Description:

Gnome Desktop crashes with hotplugging Logitech Unifying Receiver.  Log suggests this is due to segmentation fault in Xwayland .

Additional info:
* package version(s)

xorg-server-wayland 1.16

* config and/or log files etc.

From journalctl -b
Nov 05 01:02:15 ecrins kernel: usb 4-1.6.4: USB disconnect, device number 5
Nov 05 01:02:15 ecrins gdm-Xorg-:0[387]: (II) config/udev: removing device Logitech Unifying Device. Wireless PID:1028
Nov 05 01:02:16 ecrins gdm-Xorg-:0[387]: (II) evdev: Logitech Unifying Device. Wireless PID:1028: Close
Nov 05 01:02:16 ecrins gdm-Xorg-:0[387]: (II) UnloadModule: "evdev"
Nov 05 01:02:16 ecrins systemd-udevd[190]: error opening USB device 'descriptors' file
Nov 05 01:02:16 ecrins gnome-session[661]: (gnome-shell:671): mutter-WARNING **: Could not release device 13,75: GDBus.Error:org.freedesktop.login1.DeviceNotTaken: Device not taken
Nov 05 01:02:19 ecrins dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Nov 05 01:02:19 ecrins dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
Nov 05 01:02:20 ecrins dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Nov 05 01:02:20 ecrins dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
Nov 05 01:02:38 ecrins kernel: usb 4-1.6.4: new full-speed USB device number 7 using ehci-pci
Nov 05 01:02:39 ecrins kernel: logitech-djreceiver 0003:046D:C52B.0009: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.6.4/input2
Nov 05 01:02:39 ecrins kernel: input: Logitech Unifying Device. Wireless PID:1028 as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6.4/4-1.6.4:1.2/0003:046D:C52B.0009/0003:046D:C52B.000A/input/input17
Nov 05 01:02:39 ecrins kernel: logitech-djdevice 0003:046D:C52B.000A: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:1028] on usb-0000:00:1d.0-1.6.4:1
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:1028 (/dev/input/event11)
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Logitech Unifying Device. Wireless PID:1028: Applying InputClass "evdev pointer catchall"
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) Using input driver 'evdev' for 'Logitech Unifying Device. Wireless PID:1028'
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Logitech Unifying Device. Wireless PID:1028: always reports core events
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) evdev: Logitech Unifying Device. Wireless PID:1028: Device: "/dev/input/event11"
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (--) evdev: Logitech Unifying Device. Wireless PID:1028: Vendor 0x46d Product 0xc52b
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (--) evdev: Logitech Unifying Device. Wireless PID:1028: Found 20 mouse buttons
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (--) evdev: Logitech Unifying Device. Wireless PID:1028: Found scroll wheel(s)
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (--) evdev: Logitech Unifying Device. Wireless PID:1028: Found relative axes
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (--) evdev: Logitech Unifying Device. Wireless PID:1028: Found x and y relative axes
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) evdev: Logitech Unifying Device. Wireless PID:1028: Configuring as mouse
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) evdev: Logitech Unifying Device. Wireless PID:1028: Adding scrollwheel support
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) evdev: Logitech Unifying Device. Wireless PID:1028: YAxisMapping: buttons 4 and 5
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) evdev: Logitech Unifying Device. Wireless PID:1028: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6.4/4-1.6.4:1.2/0003:046D:C52B.0009/0003:046D:C52B.000A/input/input17/event11"
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:1028" (type: MOUSE, id 9)
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) evdev: Logitech Unifying Device. Wireless PID:1028: initialized for relative axes.
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Logitech Unifying Device. Wireless PID:1028: (accel) keeping acceleration scheme 1
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Logitech Unifying Device. Wireless PID:1028: (accel) acceleration profile 0
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Logitech Unifying Device. Wireless PID:1028: (accel) acceleration factor: 2.000
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (**) Logitech Unifying Device. Wireless PID:1028: (accel) acceleration threshold: 4
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:1028 (/dev/input/mouse0)
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) No input driver specified, ignoring this device.
Nov 05 01:02:39 ecrins gdm-Xorg-:0[387]: (II) This device may have been added with another device file.
Nov 05 01:02:42 ecrins dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Nov 05 01:02:42 ecrins dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
Nov 05 01:02:43 ecrins dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Nov 05 01:02:43 ecrins dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
Nov 05 01:02:50 ecrins gnome-session[661]: (EE)
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) Backtrace:
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 0: /usr/bin/Xwayland (xorg_backtrace+0x56) [0x58a926]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 1: /usr/bin/Xwayland (0x400000+0x18ea79) [0x58ea79]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 2: /usr/lib/libpthread.so.0 (0x7f06d1a71000+0x10200) [0x7f06d1a81200]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 3: /usr/bin/Xwayland (0x400000+0x82439) [0x482439]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 4: /usr/bin/Xwayland (0x400000+0xf3603) [0x4f3603]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 5: /usr/bin/Xwayland (0x400000+0x27a53) [0x427a53]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 6: /usr/lib/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f06cfd31f90]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 7: /usr/lib/libffi.so.6 (ffi_call+0x2e1) [0x7f06cfd31a01]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 8: /usr/lib/libwayland-client.so.0 (0x7f06d1e9a000+0x866d) [0x7f06d1ea266d]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 9: /usr/lib/libwayland-client.so.0 (0x7f06d1e9a000+0x59cb) [0x7f06d1e9f9cb]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 10: /usr/lib/libwayland-client.so.0 (0x7f06d1e9a000+0x5a4c) [0x7f06d1e9fa4c]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 11: /usr/lib/libwayland-client.so.0 (wl_display_dispatch_queue_pending+0x24) [0x7f06d1ea0754]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 12: /usr/bin/Xwayland (0x400000+0x25ee7) [0x425ee7]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 13: /usr/bin/Xwayland (WakeupHandler+0x6b) [0x55c10b]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 14: /usr/bin/Xwayland (WaitForSomething+0x1c7) [0x587d57]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 15: /usr/bin/Xwayland (0x400000+0x157251) [0x557251]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 16: /usr/bin/Xwayland (0x400000+0x15b5c6) [0x55b5c6]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 17: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f06d0167040]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) 18: /usr/bin/Xwayland (0x400000+0x25a1e) [0x425a1e]
Nov 05 01:02:50 ecrins gnome-session[661]: (EE)
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) Segmentation fault at address 0x3c
Nov 05 01:02:50 ecrins gnome-session[661]: (EE)
Nov 05 01:02:50 ecrins gnome-session[661]: Fatal server error:
Nov 05 01:02:50 ecrins gnome-session[661]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Nov 05 01:02:50 ecrins gnome-session[661]: (EE)
Nov 05 01:02:51 ecrins gnome-session[661]: (gnome-shell:671): mutter-ERROR **: Connection to xwayland lost
Nov 05 01:02:51 ecrins org.gnome.Terminal[666]: (gnome-terminal-server:979): Gdk-WARNING **: gnome-terminal-server: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Nov 05 01:02:51 ecrins kernel: traps: gnome-shell[671] trap int3 ip:7f75812bea80 sp:7ffffac63b70 error:0
Nov 05 01:02:51 ecrins chromium.desktop[1422]: [1422:1422:1105/010251:ERROR:chrome_browser_main_extra_parts_x11.cc(56)] X IO error received (X server probably went away)
Nov 05 01:02:51 ecrins org.gnome.Caribou.Daemon[666]: (caribou:743): Gdk-WARNING **: caribou: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Nov 05 01:02:51 ecrins org.a11y.atspi.Registry[700]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
Nov 05 01:02:51 ecrins org.a11y.atspi.Registry[700]: after 14437 requests (14437 known processed) with 0 events remaining.
Nov 05 01:02:51 ecrins gnome-session[661]: (gnome-settings-daemon:753): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Nov 05 01:02:51 ecrins colord[571]: Automatic remove of icc-d03c5fa2f5ea2b1eb9b686caed9a1a97 from xrandr-Goldstar Company Ltd-E2411-310NDTCCQ145
Nov 05 01:02:51 ecrins colord[571]: Profile removed: icc-d03c5fa2f5ea2b1eb9b686caed9a1a97
Nov 05 01:02:51 ecrins gnome-session[661]: (nm-applet:825): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Nov 05 01:02:51 ecrins gnome-session[661]: dropbox: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Nov 05 01:02:51 ecrins gnome-session[661]: gnome-session[661]: WARNING: App 'gnome-settings-daemon.desktop' exited with code 1
Nov 05 01:02:51 ecrins su[1054]: pam_unix(su:session): session closed for user root
Nov 05 01:02:51 ecrins gnome-session[661]: (evolution-alarm-notify:782): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Nov 05 01:02:51 ecrins polkitd[431]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.37, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected fr
Nov 05 01:02:51 ecrins gnome-session[661]: ** (gnome-settings-daemon:7676): WARNING **: Could not open X display
Nov 05 01:02:51 ecrins gnome-session[661]: gnome-session[661]: WARNING: Application 'gnome-shell-wayland.desktop' killed by signal 5
Nov 05 01:02:51 ecrins gnome-session[661]: WARNING: Application 'gnome-shell-wayland.desktop' killed by signal 5
Nov 05 01:02:51 ecrins org.a11y.Bus[666]: Activating service name='org.a11y.atspi.Registry'
Nov 05 01:02:51 ecrins systemd-coredump[7674]: Process 671 (gnome-shell) of user 1000 dumped core.
Nov 05 01:02:51 ecrins gnome-session[661]: Unrecoverable failure in required component gnome-shell-wayland.desktop

Steps to reproduce:

I have Logitech M570 trackball with the unifying receiver attached to a USB KVM switch. Upon switching away from my Linux PC and then back again, immediately I use the trackball to move the mouse pointer or click any button the GNOME desktop crashes.
Comment 1 GitLab Migration User 2018-12-17 17:28:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/596.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.