** Also affects: mate-utils (Ubuntu Bionic)
   Importance: Medium
       Status: Confirmed

** Also affects: mate-utils (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: mate-utils (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** 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

** Changed in: mate-utils (Ubuntu Zesty)
     Assignee: (unassigned) => Vlad Orlov (monsta)

** Changed in: mate-utils (Ubuntu Artful)
     Assignee: (unassigned) => Vlad Orlov (monsta)

** Changed in: mate-utils (Ubuntu Bionic)
     Assignee: (unassigned) => Vlad Orlov (monsta)

** Description changed:

+ [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
  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
+  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
+  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1638835

Title:
  mate-screenshot crashed with SIGSEGV in gdk_property_get()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-utils/+bug/1638835/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to