gnome-shell crashed with SIGABRT: assertion failed "window->display->focus_window != window" in meta_window_unmanage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
gnome-shell (Ubuntu) |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
mutter (Ubuntu) |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Bionic |
Fix Released
|
High
|
Marco Trevisan (Treviño) | ||
Disco |
Fix Released
|
High
|
Marco Trevisan (Treviño) |
Bug Description
[ Description ]
GNOME Shell crashes when interacting with some "take-input" windows such as the jetbrains products (you can snap install the 2008 versions which are affected), see https:/
[ Test case ]
Run this script:
$ wget -O - https:/
- The shell should not crash when the windows are closed.
[ Regression potential ]
The patch introduces changes to the window focus handling, so a window might not be properly focused in some cases.
[ Notes to the SRU team ]
This fix is still in process of being released to eoan / disco too.
====
https:/
Upstream issue: https:/
Originally reported as bug 1422253 and fixed in 18.04, but that crash (fixed) was due to a different condition.
Test case: https:/
---
gnome-shell crashed and restarted while I was using it.
ProblemType: CrashDistroRelease: Ubuntu 18.10
Package: gnome-shell 3.30.0-1ubuntu1
Uname: Linux 4.19.0-
ApportVersion: 2.20.10-0ubuntu9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Sep 10 12:39:16 2018
DisplayManager: gdm3
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/
ExecutableTimes
InstallationDate: Installed on 2017-08-16 (389 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
ProcCmdline: /usr/bin/
ProcCwd: /home/rocko
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_AU.UTF-8
SHELL=
StacktraceTop:
() at /usr/lib/
g_assertion_
meta_window_
() at /usr/lib/
() at /usr/lib/
Title: gnome-shell crashed with SIGABRT
UpgradeStatus: Upgraded to cosmic on 2018-08-15 (25 days ago)
UserGroups: adm bumblebee cdrom dip kvm lpadmin plugdev sambashare sudo
Related branches
- Ubuntu Desktop: Pending requested
-
Diff: 1948 lines (+1815/-0)19 files modifieddebian/changelog (+27/-0)
debian/libmutter-2-0.symbols (+2/-0)
debian/patches/screen-Destroy-window-actors-after-windows-while-unmanagi.patch (+106/-0)
debian/patches/screen-Unset-the-active-workspace-and-remove-workspaces-o.patch (+43/-0)
debian/patches/series (+16/-0)
debian/patches/stack-Add-a-function-to-get-a-sorted-list-of-focus-candid.patch (+134/-0)
debian/patches/test-runner-Add-assert_focused-command.patch (+76/-0)
debian/patches/test-runner-Add-dispatch-command.patch (+84/-0)
debian/patches/test-runner-Add-sleep-command.patch (+82/-0)
debian/patches/tests-Add-accept_focus-command-to-runner-and-client.patch (+78/-0)
debian/patches/tests-Add-can_take_focus-command-to-runner-and-client.patch (+116/-0)
debian/patches/tests-Verify-focused-window-in-closed-transient-tests.patch (+64/-0)
debian/patches/tests-stacking-Add-tests-with-no-input-and-no-take-focus-.patch (+125/-0)
debian/patches/window-Emit-an-error-and-return-when-trying-to-activate-a.patch (+43/-0)
debian/patches/window-x11-Accept-any-focusable-window-as-fallback-focus.patch (+109/-0)
debian/patches/window-x11-Don-t-double-check-for-unmanaging-windows.patch (+39/-0)
debian/patches/window-x11-Focus-the-default-window-with-delay-while-wait.patch (+247/-0)
debian/patches/window-x11-Use-any-focusable-window-as-fallback-delayed-f.patch (+339/-0)
debian/patches/workspace-Focus-only-ancestors-that-are-focusable.patch (+85/-0)
description: | updated |
description: | updated |
Changed in gnome-shell (Ubuntu): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | Confirmed → In Progress |
tags: | added: rls-cc-incoming |
description: | updated |
description: | updated |
Changed in gnome-shell (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in mutter (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in mutter (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
description: | updated |
tags: |
added: fixed-in-3.33.3 fixed-upstream removed: rls-cc-notfixing |
Changed in mutter: | |
status: | Unknown → Fix Released |
description: | updated |
Changed in mutter (Ubuntu Disco): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in gnome-shell (Ubuntu Bionic): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
Changed in gnome-shell (Ubuntu Disco): | |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
tags: |
added: bionic disco removed: cosmic |
no longer affects: | gnome-shell (Ubuntu Bionic) |
no longer affects: | gnome-shell (Ubuntu Disco) |
Changed in gnome-shell (Ubuntu): | |
status: | Fix Committed → Fix Released |
tags: | added: focal |
StacktraceTop: unix/sysv/ linux/raise. c:50 message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7f3f72b4b050 <__func__.114921> "meta_window_ unmanage" , message=<optimized out>) at ../../. ./../glib/ gtestutils. c:2596 message_ expr (domain= domain@ entry=0x7f3f72b 3fb30 "mutter", file=file@ entry=0x7f3f72b 48dbd "core/window.c", line=line@ entry=1498, func=func@ entry=0x7f3f72b 4b050 <__func__.114921> "meta_window_ unmanage" , expr=expr@ entry=0x7f3f72b 49de8 "window- >display- >focus_ window != window") at ../../. ./../glib/ gtestutils. c:2619 unmanage (window= window@ entry=0x5631b32 0e140, timestamp= timestamp@ entry=92923) at core/window.c:1498
__GI_raise (sig=sig@entry=6) at ../sysdeps/
__GI_abort () at abort.c:79
g_assertion_
g_assertion_
meta_window_