mate-screenshot crashed with SIGSEGV in gdk_property_get()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mate-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Vlad Orlov | ||
Artful |
Fix Released
|
Medium
|
Vlad Orlov | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Making screenshot of the current window might result in mate-screenshot crashing.
The fix for this issue is provided in the debdiffs attached to the report.
Would be nice to have the fix backported to Zesty and Artful, as the issue breaks one of the common features that users expect to work always.
[Test Case]
Use Alt-PrintScreen (or "mate-screenshot -w" from the terminal) to grab the current window.
As stated in the original description, this should be tried on PowerPC machines to reproduce the bug reliably. In this case, mate-screenshot should crash. Intel/AMD machines may or may not be affected.
[Regression Potential]
The fix is achieved by removing some unneeded code from mate-screenshot. The code was obtaining window title from the current window, but that title wasn't used by any other parts of code afterwards. The only effect of removing that code is fixing the crash, as it happened exactly in that part. Therefore, there's no place for regressions here.
[Original Description]
mate-screenshot always crashes when doing a 'grab the current window'-screenshot. Doing a screenshot of the whole desktop works. Tested on Zestys daily iso on a PowerBook G4 5,6.
ProblemType: Crash
DistroRelease: Ubuntu 17.04
Package: mate-utils 1.16.0-1
ProcVersionSign
Uname: Linux 4.8.0-26-
ApportVersion: 2.20.3-0ubuntu8
Architecture: powerpc
CurrentDesktop: MATE
Date: Thu Nov 3 09:45:07 2016
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2016-11-03 (0 days ago)
InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha powerpc (20161103)
ProcCmdline: mate-screenshot --interactive
ProcEnviron:
LANGUAGE=de_AT:de
PATH=(custom, user)
XDG_RUNTIME_
LANG=de_AT.UTF-8
SHELL=/bin/bash
Signal: 11
SourcePackage: mate-utils
StacktraceTop:
gdk_property_get () from /usr/lib/
screenshot_
?? ()
?? ()
?? () from /lib/powerpc-
Title: mate-screenshot crashed with SIGSEGV in gdk_property_get()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Changed in mate-desktop: | |
status: | Unknown → New |
tags: | added: artful |
Changed in mate-utils (Ubuntu Artful): | |
status: | New → In Progress |
Changed in mate-utils (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in mate-utils (Ubuntu Zesty): | |
status: | New → In Progress |
Changed in mate-utils (Ubuntu Artful): | |
importance: | Undecided → Medium |
Changed in mate-utils (Ubuntu Zesty): | |
importance: | Undecided → Medium |
assignee: | nobody → Vlad Orlov (monsta) |
Changed in mate-utils (Ubuntu Artful): | |
assignee: | nobody → Vlad Orlov (monsta) |
Changed in mate-utils (Ubuntu Bionic): | |
assignee: | nobody → Vlad Orlov (monsta) |
description: | updated |
Filed as new bug, as suggested in #1615848. Hopefully with a complete stacktrace now.