Package Details: shutter 0.94-2

Git Clone URL: (read-only)
Package Base: shutter
Description: A featureful screenshot tool (formerly gscrot)
Upstream URL:
Licenses: GPL3
Submitter: City-busz
Maintainer: PhotonX
Last Packager: PhotonX
Votes: 62
Popularity: 5.170564
First Submitted: 2017-01-24 12:16
Last Updated: 2017-08-17 13:58

Pinned Comments

Ralf_Mardorf commented on 2017-09-03 13:25

Follow the announcement to "get a list of affected packages":

[rocketmouse@archlinux ~]$ pacman -Qqo '/usr/lib/perl5/vendor_perl'

Check dependencies:

[rocketmouse@archlinux ~]$ pacman -Qi gnome-perl | grep Depends\ On
Depends On : gnomecanvas-perl gnome-vfs-perl libgnomeui perl

Proper would be to check build dependencies.

Build after increasing the pkgrel of the PKGBUILDs:

[rocketmouse@archlinux ~]$ yaourt -S gnomecanvas-perl gnome-vfs-perl
[rocketmouse@archlinux ~]$ yaourt -S gnome-perl perl-gnome2-wnck perl-goo-canvas perl-gtk2-imageview perl-gtk2-unique

Then launch shutter:

[rocketmouse@archlinux ~]$ shutter >/dev/null 2>&1

Take a screenshot and edit the screenshot.

PhotonX commented on 2017-01-28 15:32

A note for shutter-bzr users: Shutter's latest release (0.93.1) exactly corresponds its latest bzr revision (1278), and since the development is dead for over two years the shutter-bzr package is obsolete. I requested its deletion, please switch to this package.

Current status concerning Shutter bugs:

FS#41357 - [shutter] 0.91-2 Launching a second instance causes first instance to crash
-> Fixed!

FS#47237 - [shutter] segfault when trying make screenshot
-> Not reproducible, please give more details in the comments!

FS#50419 - [shutter] 0.93.1-2 Cannot take screenshot of a window, when shutter is already started
-> Not reproducible, please give more details in the comments!

FS#50735 - [shutter] Please apply patches fixing CVE 2015-0854 and other bugs
-> Fixed!

FS#51936 - [shutter] wrong encode
-> Not looked at yet, might be fixed...

Latest Comments

PhotonX commented on 2018-02-12 12:50

@Pastafarianist: Is it possibly this issue: If so, I will ask bidulock to include this patch into his perl-gtk2-unique package!

I tested it myself and the patch actually fixes the issue!

PhotonX commented on 2017-12-26 14:31

@Pastafarianist: Thanks a lot for trying to track it down! Unfortunately, I'm not experienced enough in this level of debugging to be of any help, but if you can pin it down to something which can be reported against libunique or perl-gtk2-unique, it would be great!

Pastafarianist commented on 2017-12-25 18:25

I've taken a look at the segfault that manifests when a second instance is launched. This is most likely a problem somewhere in C code, either in perl-gtk2-unique or in libunique itself. Here is the backtrace of the crash:

#0  0x00007ffff7773461 in __strlen_avx2 () at /usr/lib/
#1  0x00007ffff7acbcce in Perl_newSVpv () at /usr/lib/perl5/5.26/core_perl/CORE/
#2  0x00007fffe46db064 in perl_unique_app_marshall_message_received ()
    at /usr/lib/perl5/5.26/vendor_perl/auto/Gtk2/Unique/
#3  0x00007ffff630c6f5 in g_closure_invoke () at /usr/lib/
#4  0x00007ffff63200b0 in  () at /usr/lib/
#5  0x00007ffff6323efe in g_signal_emit_valist () at /usr/lib/
#6  0x00007ffff6325920 in g_signal_emit () at /usr/lib/
#7  0x00007fffe44d0e55 in unique_app_emit_message_received () at /usr/lib/
#8  0x00007fffe44d3f8e in  () at /usr/lib/
#9  0x00007ffff081a17a in  () at /usr/lib/
#10 0x00007ffff603c0be in g_main_context_dispatch () at /usr/lib/
#11 0x00007ffff603df69 in  () at /usr/lib/
#12 0x00007ffff603ef42 in g_main_loop_run () at /usr/lib/
#13 0x00007ffff17153a7 in gtk_main () at /usr/lib/
#14 0x00007ffff1cc3059 in XS_Gtk2_main () at /usr/lib/perl5/5.26/vendor_perl/auto/Gtk2/
#15 0x00007ffff7ab4289 in Perl_pp_entersub () at /usr/lib/perl5/5.26/core_perl/CORE/
#16 0x00007ffff7aabef6 in Perl_runops_standard () at /usr/lib/perl5/5.26/core_perl/CORE/
#17 0x00007ffff7a2d0cf in perl_run () at /usr/lib/perl5/5.26/core_perl/CORE/
#18 0x0000555555554de7 in main ()

The source of perl_unique_app_marshall_message_received can be found here. If you set a breakpoint right before the line I linked to is executed, you will see that command_name contains an invalid pointer. That pointer comes from unique_command_to_string, whose source is here. I haven't figured out what exactly goes wrong there though.

nepda commented on 2017-11-14 11:51

Maybe this helps after a shutter update:

yaourt -S --noconfirm gnomecanvas-perl && \
yaourt -S --noconfirm gnome-vfs-perl && \
yaourt -S --noconfirm gnome-perl && \
yaourt -S --noconfirm perl-gnome2-wnck && \
yaourt -S --noconfirm perl-gtk2-imageview && \
yaourt -S --noconfirm perl-gtk2-unique && \
yaourt -S --noconfirm goocanvas1 && \
yaourt -S --noconfirm perl-goo-canvas

PhotonX commented on 2017-10-27 04:38

@topher1kenobe: Could you please describe what exactly you did and what errors you got? The order of packages is important when rebuilding the dependencies, you need to install them from the bottom of the dependency tree.

topher1kenobe commented on 2017-10-27 00:41

I've followed the instructions in the pinned tweet by Ralf_Mardorf to no avail. Any other suggestions?

PhotonX commented on 2017-09-30 07:24

@blueyed: Sorry for the late reply. Please follow the directions in the pinned comment by Ralf_Mardorf, you need to rebuild some of the Perl dependencies (in particular perl-gtk2-imageview).

blueyed commented on 2017-09-28 20:31

I've just installed it again, and it fails to run:

% shutter --help
Can't locate Gtk2/ in @INC (you may need to install the Gtk2::ImageView module) (@INC contains: /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at /usr/bin/shutter line 47.
BEGIN failed--compilation aborted at /usr/bin/shutter line 47.

PhotonX commented on 2017-09-12 18:08

Turned out, it is a different bug which seems to appear after the perl update to 5.26. I tried to revert all the patches which have been applied to 0.94 but no luck, the crashes remain. People also report crashes in Ubuntu/Mint (perl 5.24) which, however, only appear with one of the patches in 0.94... I couldn't figure out how to get rid of any of the crashes so far, unfortunately I don't even know perl. Patches dealing with these issues are always welcomed! :)

PhotonX commented on 2017-09-11 06:21

@meekreau: Thanks for the report, I can reproduce it. Probably one of those: or Might be that we need to revert a patch which has been applied to actually solve such second instance issues which appeared earlier...

All comments