Shutter crashes upon startup 'shutter' terminated by signal SIGSEGV (Address boundary error)

Bug #2046313 reported by David D Lowe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm running Ubuntu 23.10 with GNOME 45 using Wayland, and I've installed Shutter using APT. When I try to run shutter, I get this error:

$ shutter
[... some warnings cut for brevity, see attachment ...]
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

 at /usr/bin/shutter line 9038.
 Shutter::App::fct_init_depend() called at /usr/bin/shutter line 195
Useless use of hash element in void context at /usr/share/perl5/Shutter/App/Common.pm line 77.
 require Shutter/App/Common.pm called at /usr/bin/shutter line 206
Useless use of hash element in void context at /usr/share/perl5/Shutter/App/Common.pm line 80.
 require Shutter/App/Common.pm called at /usr/bin/shutter line 206
Subroutine lookup redefined at /usr/share/perl5/Shutter/Draw/DrawingTool.pm line 28.
 require Shutter/Draw/DrawingTool.pm called at /usr/bin/shutter line 228
Variable "$self" will not stay shared at /usr/share/perl5/Shutter/Draw/DrawingTool.pm line 671.
 require Shutter/Draw/DrawingTool.pm called at /usr/bin/shutter line 228
Variable "$self" will not stay shared at /usr/share/perl5/Shutter/Screenshot/SelectorAdvanced.pm line 840.
 require Shutter/Screenshot/SelectorAdvanced.pm called at /usr/bin/shutter line 233
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 314, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 314, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 334, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 334, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 341, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 341, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 348, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 348, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 378, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 378, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 391, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 391, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 404, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 404, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 410, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 410, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 423, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 423, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_checked_: assertion 'g_variant_type_string_is_valid (type_string)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 429, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943
GLib-CRITICAL **: g_variant_type_copy: assertion 'g_variant_type_check (type)' failed at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67, <DATA> line 19.
 at /usr/bin/shutter line 429, <DATA> line 19.
 Shutter::App::STARTUP(Shutter::App=HASH(0x55754f4f7278)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Object/Introspection.pm line 67
 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x55754f4f7278)) called at /usr/bin/shutter line 10943

INFO: gathering system information...

Linux computer-name 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 23.10 \n \l

Glib 1.3293
Gtk3 0.038

Glib built for 2.77.1, running with 2.78.0

(shutter:15929): Wnck-WARNING **: 04:48:29.571: libwnck is designed to work in X11 only, no valid display found

fish: Job 1, 'shutter' terminated by signal SIGSEGV (Address boundary error)

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: shutter 0.99.2-4
ProcVersionSignature: Ubuntu 6.5.0-14.14-generic 6.5.3
Uname: Linux 6.5.0-14-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Dec 13 04:52:39 2023
InstallationDate: Installed on 2021-06-24 (902 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
SourcePackage: shutter
UpgradeStatus: Upgraded to mantic on 2023-10-13 (61 days ago)

Revision history for this message
David D Lowe (flimm) wrote :
Revision history for this message
David D Lowe (flimm) wrote :
Revision history for this message
Michael Kogan (michael-kogan) wrote :

Could you please test with https://codeload.github.com/shutter-project/shutter/zip/refs/heads/fix_wayland_crash_on_launch please?

Just unpack it somewhere and run from the ./bin subdirectory.

Revision history for this message
David D Lowe (flimm) wrote :

That worked! Thank you, and thank you for all your work on Shutter!

I had to run `sudo apt install shutter libmoo-perl` to install the dependencies that it needs, but that is expected.

It would be nice if applications like Shutter displayed an error dialog to the user, rather than just crashing silently. For users who aren't used to the terminal, it can be baffling when launching an application does nothing, not even an error dialog.

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

You are completely right, but this was an error, which nobody expected, thus no error handling was available. :)

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.