shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
520 stars 34 forks source link

shutter segfaults on right click on preview with Glib-Object-Introspection-0.050 #583

Closed christian-heusel closed 1 year ago

christian-heusel commented 1 year ago

Brief summary of issue

Shutter crashes with SIGSEGV when one right-clicks on a image preview. This was first reported in the archlinux bugtracker (https://bugs.archlinux.org/task/78377) where one can also find a backtrace.

Steps to reproduce the issue

  1. open shutter
  2. create a screenshot
  3. right-click on the preview image
  4. see shutter segfault

Error output

https://gist.github.com/christian-heusel/fdeda83827c6608f6fce6f94003b4e5a

Extra information, such as Shutter version, display server in use (Xorg or Wayland), operating system and ideas for how to solve:

muflone commented 1 year ago

for the records, both issues seem related https://rt.cpan.org/Public/Bug/Display.html?id=147409 https://rt.cpan.org/Public/Bug/Display.html?id=148280

Photon89 commented 1 year ago

Thanks for looking into it! Looks like, we can only wait for an upstream fix!

Photon89 commented 1 year ago

@christian-heusel The bug is fixed upstream at https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/commit/eef3b1f8662bf76095987eeef41308094693cf3e but there is no new release yet. I asked upstream when a new release is expected.

muflone commented 1 year ago

fixed in perl-glib-object-introspection 0.050-2 by backporting the patch from master

Photon89 commented 1 year ago

Great, thanks for backporting the patch!