Holding the "X" window button in the overview crashes gnome-shell

Bug #1965557 reported by grofaty
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
mutter (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I have updated Ubuntu 22.04 today and now when I press <Super> key and then "X" on any program and Ubuntu crashes and then login window appears. I can reproduce this problem any time on any program.

I don't know if I collected info correctly. I did:
ubuntu-bug gnome-shell

----

[ 40.489188] u22 gnome-shell[3770]: **
[ 40.489188] u22 gnome-shell[3770]: Clutter:ERROR:../clutter/clutter/clutter-actor.c:1275:clutter_actor_set_mapped: assertion failed: (!CLUTTER_ACTOR_IS_MAPPED (self))
[ 40.489188] u22 gnome-shell[3770]: Bail out! Clutter:ERROR:../clutter/clutter/clutter-actor.c:1275:clutter_actor_set_mapped: assertion failed: (!CLUTTER_ACTOR_IS_MAPPED (self))
[ 40.489188] u22 gnome-shell[3770]: GNOME Shell crashed with signal 6
[ 40.489188] u22 gnome-shell[3770]: == Stack trace for context 0x5646b3729180 ==
[ 40.489743] u22 gnome-shell[3770]: #0 5646b5c09468 i resource:///org/gnome/shell/ui/windowPreview.js:370 (353e696062e0 @ 12)
[ 40.489743] u22 gnome-shell[3770]: #1 7fff3283f9a0 b resource:///org/gnome/shell/ui/environment.js:132 (995e4ecc4c0 @ 98)
[ 40.489743] u22 gnome-shell[3770]: #2 7fff3283fa60 b resource:///org/gnome/shell/ui/environment.js:219 (995e4ecc830 @ 14)

----

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42~beta-1ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
Uname: Linux 5.15.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 18 16:40:32 2022
DisplayManager: gdm3
InstallationDate: Installed on 2022-02-16 (29 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220202)
RelatedPackageVersions: mutter-common 42~beta-1ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
grofaty (grofaty) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think this crash might land in bug 1867578 in most cases but since that one is autogenerated and will never have all the data, we can track it here instead.

Related upstream bugs are:

  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

and the fix hasn't landed yet:

  https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2299

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in gnome-shell (Ubuntu):
status: Confirmed → Fix Committed
status: Fix Committed → In Progress
importance: Undecided → Medium
summary: - Closing any window crashes and gets into login window
+ Holding the "X" window button in the overview crashes gnome-shell
Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-42.1 fixed-upstream
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Revision history for this message
Jeremy Bícha (jbicha) wrote :

The clutter-Bail-out-and-warn-on-reentry-into-mapping-unmappi.patch from merge request 2299 was included in https://launchpad.net/ubuntu/+source/mutter/42.0-3ubuntu1

I wasn't able to reproduce this crash on current Ubuntu 22.04 LTS (but I didn't try on an old version of mutter either).

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-shell:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.