On file write, after selection, shutter hangs CPU 100%

Bug #1848464 reported by Wsteven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shutter
New
Undecided
Unassigned

Bug Description

When I do a new selection, Shutter does write file to disk, but hangs letting CPU at 100%. And I'm forced to kill it... Maybe it does at some point unlock itself, but didn't wait long enough then. Here is a full trace :

```
$ shutter
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

WARNING: Image::ExifTool is missing --> writing Exif information will be disabled!

WARNING: Gtk2::AppIndicator is missing --> there will be no icon showing up in the status bar when running Unity!

INFO: gathering system information...

Linux steven-HP-Z400-Workstation 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Linux Mint 19 Tara \n \l

Glib 1.326
Gtk2 1.24992

Glib built for 2.53.4, running with 2.56.4
Gtk2 built for 2.24.31, running with 2.24.32

GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Encoding raw at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Dimensions: 16 x 16 at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Rowstride: 64, Length: 1048 at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Copy pixels == false at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Encoding raw at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Dimensions: 16 x 16 at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Rowstride: 64, Length: 1048 at /usr/bin/shutter line 527, <DATA> line 19.
GdkPixbuf-LOG **: Copy pixels == false at /usr/bin/shutter line 527, <DATA> line 19.
File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /usr/bin/shutter line 8212.
Déformation en tonneau - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Inverser - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Redimensionner - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
Sépia - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Ombre dure - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Filigrane - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Niveaux de gris - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Décalage - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Élever une bordure - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise
Bords doux - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges [73/78658]
Abaisser la bordure - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Papier corné - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Rognage auto - /usr/share/shutter/resources/system/plugins/shell/sptrim/sptrim

INFO: new upload-plugin information detected - /usr/share/shutter/resources/system/upload_plugins/upload/vgyme
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^<.*>\n{ <-- HERE / at /usr/share/shutter/resources/system/upload_plugins/upload/vgyme.pm line 159.

ERROR: upload-plugin exists but does not work properly - /usr/share/shutter/resources/system/upload_plugins/upload/vgyme
Current window manager: Metacity (Marco)
Current window manager: Metacity (Marco)
Current window manager: Metacity (Marco)
Current window manager: Metacity (Marco)

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

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

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

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

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

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

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

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

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

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

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

fct_update_tray_menu was called by Gnome2::Wnck::Screen=HASH(0x564221f6d110)
Updating fileinfos for key: [1] - Sélection_016.png
file:///home/steven/Images/Sélection_016.png thumbnail already exists
file:///home/steven/Images/Sélection_016.png thumbnail already exists
Updating fileinfos for key: [2] - Sélection_018.png
file:///home/steven/Images/Sélection_018.png thumbnail already exists
file:///home/steven/Images/Sélection_018.png thumbnail already exists
Updating fileinfos for key: [3] - Sélection_019.png
file:///home/steven/Images/Sélection_019.png thumbnail already exists
file:///home/steven/Images/Sélection_019.png thumbnail already exists
Updating fileinfos for key: [4] - Sélection_020.png
file:///home/steven/Images/Sélection_020.png thumbnail already exists
file:///home/steven/Images/Sélection_020.png thumbnail already exists
Updating fileinfos for key: [5] - Sélection_021.png
file:///home/steven/Images/Sélection_021.png thumbnail already exists
file:///home/steven/Images/Sélection_021.png thumbnail already exists
Updating fileinfos for key: [6] - Sélection_022.png
file:///home/steven/Images/Sélection_022.png thumbnail already exists
file:///home/steven/Images/Sélection_022.png thumbnail already exists
Updating fileinfos for key: [7] - Sélection_023.png
file:///home/steven/Images/Sélection_023.png thumbnail already exists
file:///home/steven/Images/Sélection_023.png thumbnail already exists
GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Encoding raw at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Dimensions: 16 x 16 at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Rowstride: 64, Length: 1048 at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Copy pixels == false at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Encoding raw at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Dimensions: 16 x 16 at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Rowstride: 64, Length: 1048 at /usr/bin/shutter line 2891.
GdkPixbuf-LOG **: Copy pixels == false at /usr/bin/shutter line 2891.

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

select was emitted by widget Gtk2::ToolButton=HASH(0x56421f1e3828)
3 Ns used in wild-card
Searching for files with pattern: (?^u:\$name_(\d\d\d)\.png)
Searching for files with pattern: (?^u:.{1,}_(\d\d\d)\.png)
Comparing Sélection_006.png
006 is currently greatest value...
Comparing Sélection_018.png
018 is currently greatest value...
Comparing Sélection_012.png
Comparing Sélection_023.png
023 is currently greatest value...
Comparing Sélection_029.png
029 is currently greatest value...
Comparing IMG_20191009_153632.jpg
Comparing IMG_20191009_161938.jpg
Comparing Sélection_003.png
Comparing Sélection_028.png
Comparing Sélection_024.png
Comparing Sélection_008.png
Comparing Sélection_010.png
Comparing Sélection_019.png
Comparing Sélection_021.png
Comparing Sélection_025.png
Comparing Sélection_013.png
Comparing IMG_20191009_153358.jpg
Comparing Sélection_017.png
Comparing Sélection_004.png
Comparing Sélection_016.png
Comparing Sélection_026.png
Comparing Sélection_011.png
Comparing IMG_20191009_162929.jpg
Comparing Sélection_007.png
Comparing Sélection_015.png
Comparing Sélection_020.png
Comparing Sélection_022.png
Comparing Sélection_002.png
Comparing Sélection_014.png
Comparing Sélection_027.png
Comparing Sélection_005.png
Comparing Sélection_001.png
Comparing Sélection_009.png
Using monitor: 0 - 0 - 1680 - 1050
Parsing wildcards for /home/steven/Images/$name_030.png
Parsed $width and $height: /home/steven/Images/$name_030.png
Parsed $profile: /home/steven/Images/$name_030.png
Parsed $name: /home/steven/Images/Sélection_030.png
New uri after exists check: file:///home/steven/Images/Sélection_030.png
Trying to save file to /home/steven/Images/Sélection_030.png
Saving file /home/steven/Images/Sélection_030.png, png, 9
Updating fileinfos for key: [8] - Sélection_030.png
file:///home/steven/Images/Sélection_030.png thumbnail created
file:///home/steven/Images/Sélection_030.png thumbnail already exists
screenshot successfully saved to /home/steven/Images/Sélection_030.png!
GLib-CRITICAL **: Source ID 293 was not found when attempting to remove it at /usr/bin/shutter line 7262.

fct_update_tray_menu was called by Gnome2::Wnck::Screen=HASH(0x564221f6d110)
```

I may be missing some dependencies, anyhow it shouldn't crash.
Bug sounds similar to https://bugs.launchpad.net/shutter/+bug/1237366/comments/8 .

Using version 0.94 Rev.1290

Regards,
Steven

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.