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 772413 - Crash with Wayland and KVM
Crash with Wayland and KVM
Status: RESOLVED DUPLICATE of bug 771646
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2016-10-04 16:04 UTC by Steve Fosdick
Modified: 2016-10-06 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve Fosdick 2016-10-04 16:04:18 UTC
I have a system with a USB-based KVM switch enabling me to switch the mouse and keyboard between two different PCs.  If I log in via GDM and allow the default session which now runs GNOME on Wayland the session is fine until I:

Switch to the other PC.
Switch back again
Move the mouse.

Upon moving the mouse the session instantly crashes.  Here are what I think are the pertinent lines from the systemd journal:

Oct 04 16:47:47 ecrins kernel: usb 2-1.6.4: USB disconnect, device number 8
Oct 04 16:47:52 ecrins kernel: usb 2-1.6.4: new full-speed USB device number 9 using ehci-pci
Oct 04 16:47:52 ecrins kernel: logitech-djreceiver 0003:046D:C52B.000D: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.6.4/input2
Oct 04 16:47:52 ecrins kernel: input: Logitech M570 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.4/2-1.6.4:1.2/0003:046D:C52B.000D/0003:046D:1028.000E/input/input18
Oct 04 16:47:52 ecrins kernel: logitech-hidpp-device 0003:046D:1028.000E: input,hidraw1: USB HID v1.11 Mouse [Logitech M570] on usb-0000:00:1d.0-1.6.4:1
Oct 04 16:47:52 ecrins mtp-probe[4670]: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6.4"
Oct 04 16:47:52 ecrins mtp-probe[4670]: bus: 2, device: 9 was not an MTP device
Oct 04 16:47:56 ecrins kernel: traps: gnome-shell[3235] general protection ip:7f83bccb1370 sp:7ffde70ae610 error:0 in libwayland-server.so.0.1.0[7f83bccaa000+10000]
Oct 04 16:47:56 ecrins systemd[1]: Started Process Core Dump (PID 4695/UID 0).
Oct 04 16:47:56 ecrins gnome-terminal-[3567]: Error reading events from display: Broken pipe
Oct 04 16:47:56 ecrins evolution-alarm[3428]: Error reading events from display: Broken pipe
Oct 04 16:47:56 ecrins org.gnome.Shell.desktop[3235]: (EE)
Oct 04 16:47:56 ecrins org.gnome.Shell.desktop[3235]: Fatal server error:
Oct 04 16:47:56 ecrins org.gnome.Shell.desktop[3235]: (EE) failed to dispatch Wayland events: Broken pipe
Oct 04 16:47:56 ecrins org.gnome.Shell.desktop[3235]: (EE)
Oct 04 16:47:56 ecrins gnome-session-binary[3219]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11

This is running Gnone 3.22 on Arch Linux.  The version of gnome-shell is 3.22.0+4+g717c0ea-1 according to the Arch package management system but I could not select that above.
Comment 1 Steve Fosdick 2016-10-04 21:04:27 UTC
And here is a backtrace:

Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
  • #0 wl_resource_post_event
    from /usr/lib/libwayland-server.so.0
  • #0 wl_resource_post_event
  • #1 meta_wayland_pointer_send_motion
  • #2 meta_wayland_pointer_handle_event
  • #3 0x00007f83c6c0529f in
  • #4 0x00007f83c5fa12cd in
  • #5 0x00007f83c5fb3ba3 in
  • #6 0x00007f83c5fca029 in
  • #7 0x00007f83c5fb5d29 in
  • #8 g_main_context_dispatch
  • #9 0x00007f83c54647f0 in
  • #10 g_main_loop_run
  • #11 meta_run
  • #12 main

Comment 2 Rui Matos 2016-10-06 13:32:38 UTC
Fairly sure this should be fixed by the patches in bug 771646

*** This bug has been marked as a duplicate of bug 771646 ***