Gnome shell exits with an assertion failure "randomly". Research leads me to believe the error originates in mutter. Excerpt from journalctl: Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: ** Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: Clutter:ERROR:../mutter-42.0/clutter/clutter/clutter-actor.c:1275:clutter_actor_set_mapped: assertion failed: (!CLUTTER_ACTOR_IS_MAPPED (self)) Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: Bail out! Clutter:ERROR:../mutter-42.0/clutter/clutter/clutter-actor.c:1275:clutter_actor_set_mapped: assertion failed: (!CLUTTER_ACTOR_IS_MAPPED (self)) Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: == Stack trace for context 0x55f341073170 == Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: #0 55f3478c2118 i resource:///org/gnome/shell/ui/windowPreview.js:369 (22e025b071f0 @ 12) Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: #1 7ffe9f5c3400 b resource:///org/gnome/shell/ui/environment.js:134 (1730c8dcc4c0 @ 98) Mar 29 21:08:00 saga.alfsgard.dk gnome-shell[1538]: #2 7ffe9f5c34c0 b resource:///org/gnome/shell/ui/environment.js:221 (1730c8dcc830 @ 14) Reproducible: Always Upstream bugs that are believed to have the same root cause: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5197 https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5137 https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3165 This merge request may contain a fix (not tested): https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2299
I've tested the fix in: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2299 for a while now and have seen no more crashes. @verdre has stated that this fix should be in 42.1: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3165#note_1426515
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce378c5ab7cc8577d2e4c10955a1fbb8e68bb166 commit ce378c5ab7cc8577d2e4c10955a1fbb8e68bb166 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-05-07 02:28:28 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-05-07 03:01:09 +0000 x11-wm/mutter: Version bump to 42.1 Closes: https://bugs.gentoo.org/836379 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-wm/mutter/Manifest | 1 + x11-wm/mutter/mutter-42.1.ebuild | 184 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 185 insertions(+)