Shutter crashes when either dimension of the captured region is over 650px

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

Bug Description

Every capture I make crashes, almost immediately after Shutter displays the captured image, if either dimension is larger than roughly 650px.

I have just upgraded to Ubuntu 18.04.

I am running LxQt.

arran@arran-yoga 20651% shutter -s
Gtk-Message **: Failed to load module "overlay-scrollbar" at /usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2.pm line 126.
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

WARNING: Goo::Canvas/libgoo-canvas-perl is missing --> drawing tool 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 arran-yoga 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 18.04 LTS \n \l

Glib 1.326
Gtk2 1.24992

Glib built for 2.53.4, running with 2.56.1
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.
Barrel Distortion - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
Negate - /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
Polaroid - /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
Resize - /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
Sepia - /usr/share/shutter/resources/system/plugins/perl/spsepia/spsepia
Hard Shadow - /usr/share/shutter/resources/system/plugins/perl/spshadow/spshadow
Watermark - /usr/share/shutter/resources/system/plugins/perl/spwatermark/spwatermark
Grayscale - /usr/share/shutter/resources/system/plugins/shell/spgrayscale/spgrayscale
Offset - /usr/share/shutter/resources/system/plugins/shell/spoffset/spoffset
Raise Border - /usr/share/shutter/resources/system/plugins/shell/spraise/spraise
Soft Edges - /usr/share/shutter/resources/system/plugins/shell/spsoftedges/spsoftedges
Sunk Border - /usr/share/shutter/resources/system/plugins/shell/spsunk/spsunk
Torned Paper - /usr/share/shutter/resources/system/plugins/shell/sptornedpaper/sptornedpaper
Autocrop - /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: KWin

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

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

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

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

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

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

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

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

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

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

ns_changed was emitted by widget Gtk2::ComboBox=HASH(0x5562542e1ea8)
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(0x556253d13658)

select was emitted by widget global_keybinding
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 Selection_002.png
002 is currently greatest value...
Comparing Selection_019.png
019 is currently greatest value...
Comparing Selection_010.png
Comparing Selection_017.png
Comparing Selection_011.png
Comparing Selection_012.png
Comparing .directory
Comparing Selection_004.png
Comparing Selection_003.png
Comparing Selection_007.png
Comparing Selection_009.png
Comparing Selection_015.png
Comparing Selection_014.png
Comparing Selection_005.png
Comparing Selection_006.png
Comparing Selection_008.png
Comparing Selection_016.png
Comparing Selection_013.png
Comparing Selection_001.png
Comparing Selection_018.png
Using monitor: 0 - 0 - 2560 - 1600
Parsing wildcards for /home/arran/Pictures/$name_020.png
Parsed $width and $height: /home/arran/Pictures/$name_020.png
Parsed $profile: /home/arran/Pictures/$name_020.png
Parsed $name: /home/arran/Pictures/Selection_020.png
New uri after exists check: file:///home/arran/Pictures/Selection_020.png
Trying to save file to /home/arran/Pictures/Selection_020.png
Saving file /home/arran/Pictures/Selection_020.png, png, 9
Updating fileinfos for key: [1] - Selection_020.png
file:///home/arran/Pictures/Selection_020.png thumbnail created
file:///home/arran/Pictures/Selection_020.png thumbnail already exists
screenshot successfully saved to /home/arran/Pictures/Selection_020.png!
GLib-CRITICAL **: Source ID 35 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(0x556253d13658)
The program 'shutter' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 21441 error_code 3 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Revision history for this message
Arran4 (arran4) wrote :

Actually. Issue was resolved by removing old configuration.

Diff:
arran@arran-yoga 20666% for e in *.xml; do echo $e; diff "$e" "../.shutter/$e"; done
accounts.xml
drawingtool.xml
diff: ../.shutter/drawingtool.xml: No such file or directory
session.xml
settings.xml
2c2
< <general app_version="0.94Rev.1290" as_help_active="1" asel_h="0" asel_w="0" asel_x="0" asel_y="0" ask_on_delete="1" ask_on_fs_delete="" autofs="1" autofs_min="1" autofs_not="" autohide="1" autohide_time="400" autoshape_active="" border="1" bordereffect="2" bordereffect_active="" bordereffect_col="#000000" close_at_close="1" current_monitor_active="" cursor="" delay="0" delete_on_close="" filename="$name_%NNN" filetype="2" fname_autocopy="" folder="/home/arran/Pictures" ftp_mode="0" ftp_password="" ftp_uri="ftp://host:port/path" ftp_username="" ftp_wurl="http://example.com/screenshots" im_colors="2" im_colors_active="" image_autocopy="1" last_profile="-1" last_profile_name="" menu_delay="10" menu_waround="1" no_autocopy="" notify_after="1" notify_agent="1" notify_ptimeout="1" notify_timeout="1" present_after="1" prog="Image Viewer" prog_active="" quality="9" save_ask="" save_auto="1" save_no="" session_asc="" session_asc_combo="1" session_desc="1" session_desc_combo="1" thumbnail="50" thumbnail_active="" trans_backg="" trans_check="1" trans_custom="" trans_custom_col="#000000" visible_windows="" web_width="2" winresize_active="" winresize_h="500" winresize_w="500" zoom_active="1" />
---
> <general app_version="0.94Rev.1290" as_help_active="1" asel_h="0" asel_w="0" asel_x="0" asel_y="0" ask_on_delete="" ask_on_fs_delete="" autofs="" autofs_min="" autofs_not="" autohide="1" autohide_time="400" autoshape_active="" border="1" bordereffect="2" bordereffect_active="" bordereffect_col="#000000" close_at_close="1" current_monitor_active="" cursor="" delay="0" delete_on_close="" filename="$name_%NNN" filetype="2" fname_autocopy="" folder="/home/arran/Pictures" ftp_mode="0" ftp_password="" ftp_uri="ftp://host:port/path" ftp_username="" ftp_wurl="http://example.com/screenshots" im_colors="2" im_colors_active="" image_autocopy="1" last_profile="-1" last_profile_name="" menu_delay="10" menu_waround="1" no_autocopy="" notify_after="1" notify_agent="1" notify_ptimeout="1" notify_timeout="1" present_after="1" prog="Image Viewer" prog_active="" quality="9" save_ask="" save_auto="1" save_no="" session_asc="" session_asc_combo="1" session_desc="1" session_desc_combo="1" thumbnail="50" thumbnail_active="" trans_backg="" trans_check="1" trans_custom="" trans_custom_col="#000000" visible_windows="" web_width="2" winresize_active="" winresize_h="500" winresize_w="500" zoom_active="1" />

Revision history for this message
Michael Kogan (michael-kogan) wrote :

The only different option in your diff output is "autofs_min" which corresponds to the checkbox "Hide window on first launch", looks like it is unrelated to the problem...

Revision history for this message
Arran4 (arran4) wrote : Re: [Bug 1775313] Re: Shutter crashes when either dimension of the captured region is over 650px
Download full text (8.8 KiB)

The issue did re-emerge after a couple screenshots. So yes.

On Wed, 20 Jun 2018 at 20:51 Photon <email address hidden> wrote:

> The only different option in your diff output is "autofs_min" which
> corresponds to the checkbox "Hide window on first launch", looks like it
> is unrelated to the problem...
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1775313
>
> Title:
> Shutter crashes when either dimension of the captured region is over
> 650px
>
> Status in Shutter:
> New
>
> Bug description:
> Every capture I make crashes, almost immediately after Shutter
> displays the captured image, if either dimension is larger than
> roughly 650px.
>
> I have just upgraded to Ubuntu 18.04.
>
> I am running LxQt.
>
> arran@arran-yoga 20651% shutter -s
> Gtk-Message **: Failed to load module "overlay-scrollbar" at
> /usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2.pm line 126.
> WARNING: gnome-web-photo is missing --> screenshots of websites will be
> disabled!
>
> WARNING: Goo::Canvas/libgoo-canvas-perl is missing --> drawing tool
> 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 arran-yoga 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17
> UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> Ubuntu 18.04 LTS \n \l
>
>
> Glib 1.326
> Gtk2 1.24992
>
> Glib built for 2.53.4, running with 2.56.1
> 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.
> Barrel Distortion -
> /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion
> Negate -
> /usr/share/shutter/resources/system/plugins/perl/spnegate/spnegate
> Polaroid -
> /usr/share/shutter/resources/system/plugins/perl/sppolaroid/sppolaroid
> Resize -
> /usr/share/shutter/resources/system/plugins/perl/spresize/spresize
> Sepia - /usr/share/shutte...

Read more...

Revision history for this message
Michael Kogan (michael-kogan) wrote :

I suspect that it is some Xorg problem on your machine, please ask for support in Ubuntu's community (forums etc.).

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.