Disconnecting monitor crashes shell (wayland, gnome)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell-extension-ubuntu-dock (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
This bug has been persisting since I've bought an external monitor for my laptop and started using Wayland (first on Ubuntu 20.04) until today (Ubuntu 21.10).
It isn't consistent, but it occurs about 90% of the time when I'm on Wayland. On Xorg, this has never occurred.
When I unplug my USB-C monitor from my laptop, the laptop screen freezes for a while before presenting me with the login screen. When I log back in, all my open applications have been shut down.
I assume Mutter crashes, taking the entire session with it.
Dmesg doesn't seem to contain anything useful.
A lot of other people seem to have this problem (see https:/
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2020-04-01 (613 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Package: gnome-shell 40.5-1ubuntu2
PackageArchitec
ProcVersionSign
RelatedPackageV
Tags: wayland-session impish third-party-
Uname: Linux 5.13.0-22-generic x86_64
UpgradeStatus: Upgraded to impish on 2021-10-05 (61 days ago)
UserGroups: adm cdrom dip docker libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
modified.
mtime.conffile.
tags: | removed: impish |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:
1. Look in /var/crash for crash files and if found run:
ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.
2. If step 1 failed then look at https:/ /errors. ubuntu. com/user/ ID where ID is the content of file /var/lib/ whoopsie/ whoopsie- id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.
3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.
Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.