Taking a screenshot during a game may lead to crash

Bug #1908187 reported by Marco Trevisan (Treviño)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
gnome-shell (Ubuntu)
Fix Released
Low
Marco Trevisan (Treviño)
Bionic
Won't Fix
Low
Marco Trevisan (Treviño)
Focal
Fix Released
Low
Unassigned

Bug Description

[ Impact ]

A screenshot of the Left 4 Dead 2 or Garry's Mod window causes the gnome-shell to terminate the user's session.

[ Test case ]

- Launch a game (Left 4 Dead 2 or Garry's Mod)
- Open GNOME Screenshot app
- Set "Window" in Capture Area menu and "Delay in Seconds" to 2-3 seconds
- Alt-tab (or switch by Super key) to an open game
- GNOME Screenshot app terminates the user session with an error "something went wrong".

[ Regression potential ]

No screenshot may be taken when requested

CVE References

Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Released
Changed in gnome-shell (Ubuntu Bionic):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Marco, or anyone else affected,

Accepted gnome-shell into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.36.7-0ubuntu0.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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 https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . 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 Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Mathew Hodson (mhodson)
Changed in gnome-shell (Ubuntu Focal):
importance: Undecided → Low
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Please verify the fix in focal-proposed.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Tested gnome-shell 3.36.7-0ubuntu0.20.04.1, no crash happened.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
tags: added: fixed-in-3.36.8 fixed-in-3.38.2 fixed-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.36.7-0ubuntu0.20.04.1

---------------
gnome-shell (3.36.7-0ubuntu0.20.04.1) focal; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * New upstream release (LP: #1903764)
    - Fix potential stack overflow in libcroco
    - Fix system action search regressions
    - Fix week number alignment when using font-scaling
    - Misc. bug fixes and cleanups
  * debian/patches:
    - Refresh
    - Handle screenshot failures gracefully (LP: #1908187)

  [ Matthew Ruffell ]
  * authPrompt-Properly-get-oVirt-service-name.patch,
    authPrompt-set-value-of-beginRequestType-to-DONT_PROVIDE_.patch,
    gdm-Introduce-vmware-credential-manager-for-pre-authentic.patch,
    gdm-Refactor-oVirt-to-a-generic-CredentialManager-interfa.patch:
    - Enable support for VMware Horizon SSO to ensure compatibility
      with the Horizon Agent (LP: #1886592)

gnome-shell (3.36.6-1ubuntu0.20.04.1) focal; urgency=medium

  * Merge with debian, containing new stable release (LP: #1896334)
  * debian/patches: Refresh, drop merged CVE-2020-17489.patch

gnome-shell (3.36.6-1) unstable; urgency=medium

  * Team upload

  * New upstream release

gnome-shell (3.36.5-1) unstable; urgency=medium

  * Team upload
  * New upstream release
    - Fix password briefly showing on login dialog during logout if it
      was previously made visible (CVE-2020-17489, Closes: #968311)
  * Drop most patches, applied upstream

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 15 Dec 2020 05:54:44 +0100

Changed in gnome-shell (Ubuntu Focal):
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.

Changed in gnome-shell (Ubuntu Bionic):
status: In Progress → Won't Fix
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.