Come to think of it, fixing bug 1724185 might also stop this and bug 1556601 from happening (most of the time, not all the time).
At the moment when gnome-shell/mutter shuts down, Xwayland doesn't cope well and may silently crash, which in turn is caught by gnome-shell and gnome-shell crashes with "Connection to xwayland lost". So the act of trying to debug the situation here and fixing bug 1724185 first might actually avoid most instances of this one too. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1505409 Title: gnome-shell crashed with SIGTRAP in x_io_error() from _XIOError() from _XEventsQueued() from XPending() from gdk_check_xpending() ["Connection to xwayland lost"] Status in GNOME Shell: Confirmed Status in Ubuntu GNOME: Confirmed Status in gdm3 package in Ubuntu: Confirmed Status in gnome-shell package in Ubuntu: Confirmed Status in mutter package in Ubuntu: Confirmed Status in gdm3 source package in Artful: Confirmed Status in gnome-shell source package in Artful: Confirmed Status in mutter source package in Artful: Confirmed Bug description: https://errors.ubuntu.com/problem/d0252e2b465152efea2511e72f1e31681e2b2742 --- Occurred during start-up, before I did anything special... 1 Ubuntu Wily Werewolf (development branch) 15.10 2 3.16.3-1ubuntu6 3&4 not applicable ProblemType: Crash DistroRelease: Ubuntu 15.10 Package: gnome-shell 3.16.3-1ubuntu6 ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3 Uname: Linux 4.2.0-16-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.19.1-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Oct 12 19:22:07 2015 DisplayManager: gdm ExecutablePath: /usr/bin/gnome-shell GsettingsChanges: InstallationDate: Installed on 2015-10-08 (4 days ago) InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Alpha amd64 (20150924) ProcCmdline: gnome-shell --mode=gdm --wayland --display-server ProcEnviron: SHELL=/bin/false PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=nl_NL.UTF-8 Signal: 5 SourcePackage: gnome-shell StacktraceTop: ?? () from /usr/lib/libmutter.so.0 _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6 XPending () from /usr/lib/x86_64-linux-gnu/libX11.so.6 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 Title: gnome-shell crashed with signal 5 in _XIOError() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1505409/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

