popey / shutter-snap

7 stars 3 forks source link

Shutter crashes with "*** stack smashing detected ***: /usr/bin/perl terminated" when the second instance is launched #12

Open AlexanderBartash opened 3 years ago

AlexanderBartash commented 3 years ago

The fix https://github.com/shutter-project/shutter/wiki

This is already fixed in the PPA but not in snap package https://www.linuxuprising.com/2018/10/shutter-removed-from-ubuntu-1810-and.html

Steps to reproduce:

  1. Run shutter --debug
  2. Run shutter --debug --select in another terminal

Actual Behavior:

  1. Shutter crashes with *** stack smashing detected ***: /usr/bin/perl terminated Aborted (core dumped)

Expected Behavior:

  1. Shutter starts screenshot capture tool

Logs:

sasha@sasha-kubuntu:~ $ shutter --debug
ln: failed to create symbolic link '/home/sasha/snap/shutter/27/.config/gtk-2.0/gtkfilechooser.ini': File exists
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

INFO: gathering system information...

Linux sasha-kubuntu 5.8.0-43-generic #49-Ubuntu SMP Fri Feb 5 03:01:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 20.10 \n \l

Glib 1.320 
Gtk2 1.2498 

Glib built for 2.47.3, running with 2.48.2
Gtk2 built for 2.24.29, running with 2.24.30

Barrel Distortion - /snap/shutter/27/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Negate - /snap/shutter/27/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /snap/shutter/27/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Resize - /snap/shutter/27/share/shutter/resources/system/plugins/perl/spresize/spresize
Sepia - /snap/shutter/27/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Hard Shadow - /snap/shutter/27/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Watermark - /snap/shutter/27/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Grayscale - /snap/shutter/27/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Offset - /snap/shutter/27/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Raise Border - /snap/shutter/27/share/shutter/resources/system/plugins/shell/spraise/spraise
Soft Edges - /snap/shutter/27/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges
Sunk Border - /snap/shutter/27/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Torned Paper - /snap/shutter/27/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Autocrop - /snap/shutter/27/share/shutter/resources/system/plugins/shell/sptrim/sptrim
Current window manager: KWin
Current window manager: KWin

type_changed was emitted by widget Gtk2::ComboBox=HASH(0x15e2578)

qvalue_changed was emitted by widget Gtk2::HScale=HASH(0x15cab50)

qvalue_changed was emitted by widget Gtk2::HScale=HASH(0x15cab50)

progname_toggled was emitted by widget Gtk2::CheckButton=HASH(0x15d5ea8)

im_colors_changed was emitted by widget Gtk2::ComboBox=HASH(0x4e92870)

im_colors_toggled was emitted by widget Gtk2::CheckButton=HASH(0x4e928a0)

thumbnail_changed was emitted by widget Gtk2::HScale=HASH(0x4e92978)

thumbnail_toggled was emitted by widget Gtk2::CheckButton=HASH(0x4e929c0)

bordereffect_toggled was emitted by widget Gtk2::CheckButton=HASH(0x4e92bb8)

bordereffect_changed was emitted by widget Gtk2::SpinButton=HASH(0x4e92c30)

menu_delay_changed was emitted by widget Gtk2::SpinButton=HASH(0x15be450)

hide_time_changed was emitted by widget Gtk2::SpinButton=HASH(0x4ecc7d0)

ns_changed was emitted by widget Gtk2::ComboBox=HASH(0x4ecc848)

fct_update_tray_menu was called by Gnome2::Wnck::Screen=HASH(0x47e2e00)
----------------------------------------------------------------------------------------------------------------------

*** stack smashing detected ***: /usr/bin/perl terminated
Aborted (core dumped)
sasha@sasha-kubuntu:~ $ shutter --debug --select
ln: failed to create symbolic link '/home/sasha/snap/shutter/27/.config/gtk-2.0/gtkfilechooser.ini': File exists
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

(shutter:27548): Unique-DBus-WARNING **: Error while sending message: Message recipient disconnected from message bus without replying

See also https://github.com/shutter-project/shutter/issues/272

Photon89 commented 3 years ago

This should be fixed in 0.96 as the libunique dependency has been dropped.