Bug#899181: [gnome-shell] Crashes when certain mouse buttons pressed with focus in X-application

2018-05-20 Thread Simon McVittie
Control: reassign 899181 libmutter-2-0 3.28.2-1
Control: forwarded 899181 https://gitlab.gnome.org/GNOME/mutter/issues/160

On Sun, 20 May 2018 at 13:49:54 +0200, Bruno Kleinert wrote:
> this version of the gnome-shell package seems to introduce a
> reproducible crash of gnome-shell in a Wayland session, when pressing
> the "forward" or "backward" buttons on a mouse when a window of an X-
> based application is focused.

This seems to be a regression in upstream commit
47131b1dadc1a9b7afe9a22740ab69ce97fb02d6 "frames: Handle touch events",
which I cherry-picked from the 3.28 branch while updating Mutter. I'll
revert that change for now.

smcv



Bug#899181: [gnome-shell] Crashes when certain mouse buttons pressed with focus in X-application

2018-05-20 Thread Bruno Kleinert
Package: gnome-shell
Version: 3.28.2-1
Severity: important

--- Please enter the report below this line. ---
Hi,

this version of the gnome-shell package seems to introduce a
reproducible crash of gnome-shell in a Wayland session, when pressing
the "forward" or "backward" buttons on a mouse when a window of an X-
based application is focused.

I can reproduce the crash with the following steps and a Logitech G403
mouse connected:
   1. Login at GDM to a GNOME Wayland session
   2. Press Alt+F2 to open a dialoge to enter a command to execute
   3. Enter xev (It works also with xclock and Firefox)
   4. Press either forward or backward button on mouse
   5. Session crashes and GDM reappears

This message appears in the journal when gnome-shell crashes:
[…]
mutter:ERROR:ui/frames.c:986:get_action: code should not be reached
== Stack trace for context 0x55d0d7ccb320 ==
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
Error reading events from display: Datenübergabe unterbrochen (broken pipe)
gnome-terminal-server.service: Main process exited, code=exited, 
status=1/FAILURE
gnome-terminal-server.service: Failed with result 'exit-code'.
(EE)
Fatal server error:
(EE) failed to read Wayland events: Connection reset by peer
(EE)
Unrecoverable failure in required component org.gnome.Shell.desktop
gnome-session-binary[21712]: WARNING: Application 'org.gnome.Shell.desktop' 
killed by signal 6
WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
[…]

Cheers - Bruno

--- System information. ---
Architecture: 
Kernel:   Linux 4.16.0-1-amd64

Debian Release: buster/sid
  500 unstable-debug  deb.debian.org 
  500 unstabledeb.debian.org 
1 experimental-debug deb.debian.org 
1 experimentaldeb.debian.org 

--- Package information. ---
Depends   (Version) | Installed
===-+-=
dconf-gsettings-backend | 0.28.0-2
 OR gsettings-backend   | 
libatk-bridge2.0-0   (>= 2.5.3) | 2.26.2-1
libatk1.0-0 (>= 1.12.4) | 2.28.1-1
libc6 (>= 2.14) | 2.27-3
libcairo2   (>= 1.14.0) | 1.15.10-3
libcanberra-gtk3-0(>= 0.25) | 0.30-6
libcanberra0   (>= 0.2) | 0.30-6
libcroco3(>= 0.6.2) | 0.6.12-2
libecal-1.2-19(>= 3.17) | 3.28.2-1+b1
libedataserver-1.2-23   (>= 3.17.2) | 3.28.2-1+b1
libgcr-base-3-1  (>= 3.8.0) | 3.28.0-1
libgdk-pixbuf2.0-0  (>= 2.22.0) | 2.36.11-2
libgirepository-1.0-1   (>= 1.35.9) | 1.56.1-1
libgjs0-libmozjs-52-0   | 
libgjs0g(>= 1.52.3) | 1.52.3-2
libglib2.0-0(>= 2.56.0) | 2.56.1-2
libgstreamer1.0-0(>= 1.4.0) | 1.14.1-1
libgtk-3-0  (>= 3.21.6) | 3.22.30-1
libical3 (>= 3.0.0) | 3.0.1-5+b1
libjson-glib-1.0-0  (>= 0.13.2) | 1.4.2-4
libmutter-2-0  (>= 3.27.91) | 3.28.2-1
libnm0   (>= 1.0.0) | 1.10.8-1
libpango-1.0-0  (>= 1.14.0) | 1.42.1-1
libpangocairo-1.0-0 (>= 1.14.0) | 1.42.1-1
libpolkit-agent-1-0   (>= 0.99) | 0.105-20
libpolkit-gobject-1-0 (>= 0.94) | 0.105-20
libpulse-mainloop-glib0 (>= 0.99.1) | 11.1-5
libpulse0   (>= 0.99.1) | 11.1-5
libsecret-1-0  (>= 0.7) | 0.18.6-2
libstartup-notification0  (>= 0.11) | 0.12-5
libsystemd0 | 238-4
libx11-6| 2:1.6.5-1
libxfixes3  | 1:5.0.3-1
evolution-data-server   (>= 3.17.2) | 3.28.2-1+b1
gir1.2-gdm-1.0  (>= 3.18.2) | 3.28.1-1
gir1.2-accountsservice-1.0  | 0.6.45-1
gir1.2-atspi-2.0(>= 2.9.91) | 2.28.0-3
gir1.2-freedesktop  | 1.56.1-1
gir1.2-gdesktopenums-3.0  (>= 3.12) | 3.28.0-1
gir1.2-geoclue-2.0  | 2.4.7-1
gir1.2-gcr-3 (>= 3.7.5) | 3.28.0-1
gir1.2-glib-2.0 (>= 1.56.0) | 1.56.1-1
gir1.2-gnomebluetooth-1.0   (>= 3.12.0) | 3.28.0-2
gir1.2-gnomedesktop-3.0(>= 3.27.90) | 3.28.2-1
gir1.2-gtk-3.0(>= 3.16) | 3.22.30-1
gir1.2-gweather-3.0