[Bug 1638835] Re: mate-screenshot crashed with SIGSEGV in gdk_property_get()
Vlad Orlov
1638835 at bugs.launchpad.net
Sun Oct 29 10:37:01 UTC 2017
[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.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1638835
Title:
mate-screenshot crashed with SIGSEGV in gdk_property_get()
Status in mate-utils package in Ubuntu:
Confirmed
Bug 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
ProcVersionSignature: Ubuntu 4.8.0-26.28-powerpc-smp 4.8.0
Uname: Linux 4.8.0-26-powerpc-smp ppc
ApportVersion: 2.20.3-0ubuntu8
Architecture: powerpc
CurrentDesktop: MATE
Date: Thu Nov 3 09:45:07 2016
ExecutablePath: /usr/bin/mate-screenshot
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_DIR=<set>
LANG=de_AT.UTF-8
SHELL=/bin/bash
Signal: 11
SourcePackage: mate-utils
StacktraceTop:
gdk_property_get () from /usr/lib/powerpc-linux-gnu/libgdk-3.so.0
screenshot_get_window_title ()
?? ()
?? ()
?? () from /lib/powerpc-linux-gnu/libglib-2.0.so.0
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-utils/+bug/1638835/+subscriptions
More information about the Ubuntu-sponsors
mailing list