gnome-shell crashed with SIGTRAP in _g_log_abort() from g_log_default_handler() from default_log_handler(message="Connection to xwayland lost") from g_logv() from g_log() from <bug 1505409>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Bionic |
Invalid
|
High
|
Unassigned | ||
mutter (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* Xwayland is failing frequently (not crashing), which triggers a crash in gnome-shell because gnome-shell doesn't know how to survive after Xwayland has reset itself.
* The frequent gnome-shell crashes create frequent problem reports and annoying dialogs for users, after they log in to an apparently working gnome-shell.
* This affects Xorg sessions too, because the gdm login screen itself is a Wayland session. And Xorg users will see the problem dialog after they have logged into a Xorg session.
* The fix simply converts the crash into a silent exit (as decided by Gnome upstream). This avoids the mountain of crash reports and annoying error dialogs at least. It does not fix the root causes that remain in Xwayland, but this is considered acceptable because there really isn't a bug in gnome-shell here other than it doesn't know how to survive without a connection to Xwayland.
* For users of Xorg sessions, like bionic default, this is a full fix as Xorg users will never get an Xwayland instance after logging in. And hence the Xwayland bugs are irrelevant.
[Test Case]
* Just install bionic, use it lightly and reboot a few times.
* Observe crash files are left in /var/crash and problem report dialogs after logging in.
[Regression Potential]
Medium. The fix does not really change the structure of the existing error handling, only changes it from a core dump into a silent exit. For Xorg users this should be invisible as the affected login screen restarts automatically.
[Other Info]
This is a whole class of gnome-shell crash which includes bug 1505409, bug 1748450 and bug 1556601. All three should be considered the same crash for the sake of this SRU. Just don't mark them as duplicates of each other
because they are all still collecting duplicates of their own.
---------
*** This is a duplicate of bug 1505409, but is being kept separate so as to automatically collect duplicate reports since the stacktrace signature has changed recently. Any resolution and discussion should occur in bug 1505409. ***
See also: https:/
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.26.2-0ubuntu2
ProcVersionSign
Uname: Linux 4.13.0-33-generic x86_64
ApportVersion: 2.20.8-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME-Greeter:GNOME
Date: Thu Feb 8 23:50:23 2018
DisplayManager: gdm3
ExecutablePath: /usr/bin/
GsettingsChanges:
InstallationDate: Installed on 2016-03-21 (690 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160307)
ProcCmdline: /usr/bin/
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/false
Signal: 5
SourcePackage: gnome-shell
StacktraceTop:
() at /usr/lib/
_XIOError () at /usr/lib/
_XEventsQueued () at /usr/lib/
XPending () at /usr/lib/
() at /usr/lib/
Title: gnome-shell crashed with signal 5
UpgradeStatus: Upgraded to bionic on 2018-02-08 (0 days ago)
UserGroups:
tags: | added: bugpattern-needed |
tags: | added: artful |
tags: | added: rls-bb-incoming |
tags: | removed: rls-bb-notfixing |
Changed in gnome-shell (Ubuntu Bionic): | |
assignee: | nobody → Jean-Baptiste Lallement (jibel) |
tags: | removed: rls-bb-incoming |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in gnome-shell (Ubuntu Bionic): | |
assignee: | Jean-Baptiste Lallement (jibel) → nobody |
Changed in mutter (Ubuntu Bionic): | |
status: | New → Fix Released |
importance: | Undecided → High |
Changed in gnome-shell (Ubuntu Bionic): | |
status: | Fix Released → Invalid |
tags: | added: cosmic |
StacktraceTop: ./../glib/ gmessages. c:554 default_ handler (log_domain= <optimized out>, log_level= <optimized out>, message=<optimized out>, unused_ data=<optimized out>) at ../../. ./../glib/ gmessages. c:3051 log_handler (log_domain= log_domain@ entry=0x7f8f85a 0db93 "mutter", log_level= log_level@ entry=6, message= message@ entry=0x7f8f600 61600 "Connection to xwayland lost", data=data@ entry=0x0) at ../src/main.c:315 0x7f8f85a0db93 "mutter", log_level= G_LOG_LEVEL_ ERROR, format=<optimized out>, args=args@ entry=0x7ffc6c1 62f90) at ../../. ./../glib/ gmessages. c:1341 log_domain@ entry=0x7f8f85a 0db93 "mutter", log_level= log_level@ entry=G_ LOG_LEVEL_ ERROR, format= format@ entry=0x7f8f85a 1eaf0 "Connection to xwayland lost") at ../../. ./../glib/ gmessages. c:1403
_g_log_abort (breakpoint=1) at ../../.
g_log_
default_
g_logv (log_domain=
g_log (log_domain=