Applications are closed when killing the Shell (like on a hang)

Bug #1853112 reported by Didier Roche-Tolomelli
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Iain Lane
Fix Released
Fix Released
Iain Lane

Bug Description

[ Impact ]

Applications under X11 are closed if the shell is killed (crashed).

[ Test case ]

- Open some non dbus activated apps (so, not terminal for instance) like firefox
- Kill the shell with SIGKILL (killall -SIGKILL gnome-shell)
- The shell restarts and the ran applications are still running.

[ Regression Potential ]

GNOME shell not properly killed when the session is stopped


This wasn't the case before 19.10 on X11. (caused by dbus user session?)

ProblemType: BugDistroRelease: Ubuntu 19.10
Package: gnome-shell 3.34.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
Uname: Linux 5.3.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov 19 09:42:11 2019
DisplayManager: gdm3
InstallationDate: Installed on 2018-05-24 (543 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
RelatedPackageVersions: mutter-common 3.34.1-1ubuntu1SourcePackage: gnome-shell
UpgradeStatus: Upgraded to eoan on 2019-01-08 (314 days ago)

Related branches

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
description: updated
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Rationale: this is a regression on X11 in eoan (maybe not worth fixing for it right now), but at least, should be fixed in focal IMHO

tags: added: rls-ff-incoming
Changed in gnome-shell (Ubuntu):
assignee: nobody → Iain Lane (laney)
Changed in gnome-shell (Ubuntu Focal):
importance: Undecided → High
Revision history for this message
Iain Lane (laney) wrote :
Changed in gnome-shell (Ubuntu Focal):
status: New → Triaged
tags: removed: rls-ff-incoming
tags: added: fixed-in-3.34.2 fixed-upstream
Changed in gnome-shell (Ubuntu Eoan):
status: New → In Progress
importance: Undecided → Medium
importance: Medium → High
Changed in gnome-shell (Ubuntu Focal):
status: Triaged → In Progress
description: updated
Changed in gnome-shell (Ubuntu Focal):
status: In Progress → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Didier, or anyone else affected,

Accepted gnome-shell into eoan-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-shell (Ubuntu Eoan):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-eoan
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

As per the SRU exception marking this as verified, given the fix is part of upstream 3.34.3 release.

tags: added: verification-done verification-done-eoan
removed: verification-needed verification-needed-eoan
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.4 KiB)

This bug was fixed in the package gnome-shell - 3.34.3-1ubuntu1~19.10.1

gnome-shell (3.34.3-1ubuntu1~19.10.1) eoan; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * Backport to eoan (LP: #1857037, LP: #1858683):
    - Include shadows in window screenshots
    - Use correct timezone for events
    - Fix windows stuck on screen if closed during animation
    - Key navigation fixes
    - Place launched applications into a systemd scope to prevent killing
      applications if the shell crashes in X11 (LP: #1853112)

  [ Iain Lane ]
  * control: Bump yaru-theme Breaks to 19.10.5. This version has some updates
    for gnome-shell 3.34.2 compatibility

gnome-shell (3.34.3-1ubuntu1) focal; urgency=medium

  * Merge with Debian. Remaining changes:
    + Replace gnome-backgrounds dep with ubuntu-wallpapers and Suggests
      gnome-themes-standard-data, gnome-backgrounds
    + Add some Recommends:
      - ubuntu-session (| gnome-session) to have the ubuntu session available
      - xserver-xorg-legacy
      - yaru-theme-gnome-shell for the default ubuntu theming
    + Update debian/gbp.conf with Ubuntu settings
    + gnome-shell-common.install: Install Ubuntu mode
    + gnome-shell-common.prerm: Remove deprecated ubuntu theme alternative
    + ubuntu/desktop_detect.patch:
      - add caching for desktop detection to avoid querying the current
        desktop env variable as iterate through the list each time. For the
        time of the Shell process, we can expect this env variable to stay
    + ubuntu/smarter_alt_tab.patch:
      - quick alt-tab (without showing up the switcher) switch only between
        the last window of the last 2 applications to be focused instead of
        raising all windows of those apps.
    + ubuntu/lightdm-user-switching.patch:
      - Allow user switching when using LightDM.
    + ubuntu/lock_on_suspend.patch
      - Respect Ubuntu's lock-on-suspend setting.
    + ubuntu/gdm.patch
      - as gdm is system-wide and not session-wide, ensure gdm has an ubuntu
        styling by default, not impacting the gnome user session though.
    + ubuntu/background_login.patch
      - Change default background color as we modified the default GDM color
        for our ubuntu session. Change it as well here, still applying the
        background noise loading.
    + ubuntu/gdm_alternatives.patch
      - Add support for GDM3 theme alternatives
    + optional-hot-corner.patch
      - enable patch proposed by upstream developer already in package (but
        not in series) to add a settings for optional hot corner activation.
    + volume-Add-back-sound-feedback-on-scroll.patch
      - Fix regression causing missing feedback on volume slider scroll
    + main-show-an-error-message-on-gnome-shell-crash.patch,
      - Improve debug JS tracing for crash reports
    + st-scroll-view-Handle-the-case-where-scrollbars-are-NULL.patch,


Changed in gnome-shell (Ubuntu Eoan):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-shell has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.