Skip to content

gc 8.2.10-1 causes core dumps in some gtk-applications

Description:

  • gc-8.2.10-1 crashes inkscape 1.4.2-10 or gnucash 5.13-1 (with boost-libs-1.88.0-3) or gnucash 5.13-2 (with boost-libs 1.89.0-1) on startup.
  • Downgrading just gc to 8.2.8-2 lets the applications start up regularly.
  • I tried some of the usual mitigations I found in context with these kind of errors (rebuilding pixbuf-caches with sudo gdk-pixbuf-query-loaders --update-cache, remove user-caches, etc.) but only downgrading fixed my error for now.

Additional info:

Log-Output of inkscape with gc-8.2.10-1 installed:

[see@s1 ~]$ inkscape

(org.inkscape.Inkscape:79633): Gtk-WARNING **: 02:01:25.457: Could not load image '../screens/start-welcome.png': Failed to load image “/usr/share/inkscape/ui/../screens/start-welcome.png”: Loader process exited early with status '0'Command:
 "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--seccomp" "17" "/usr/lib/glycin-loaders/2+/glycin-image-rs" "--dbus-fd" "16"

(org.inkscape.Inkscape:79633): Gtk-WARNING **: 02:01:25.566: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

(org.inkscape.Inkscape:79633): Gtk-WARNING **: 02:01:25.660: Could not load image '../screens/start-support.png': Failed to load image “/usr/share/inkscape/ui/../screens/start-support.png”: Loader process exited early with status '0'Command:
 "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--seccomp" "19" "/usr/lib/glycin-loaders/2+/glycin-image-rs" "--dbus-fd" "18"

(org.inkscape.Inkscape:79633): Gtk-WARNING **: 02:01:25.840: Could not load image '../screens/start-splash.png': Failed to load image “/usr/share/inkscape/ui/../screens/start-splash.png”: Loader process exited early with status '0'Command:
 "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--seccomp" "22" "/usr/lib/glycin-loaders/2+/glycin-image-rs" "--dbus-fd" "18"
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '0'Command:
 "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/home/see/.cache/fontconfig" "/home/see/.cache/fontconfig" "--ro-bind-try" "/home/see/.config/fontconfig/fonts.conf" "/home/see/.config/fontconfig/fonts.conf" "--ro-bind-try" "/home/see/.local/share/fonts" "/home/see/.local/share/fonts" "--ro-bind-try" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "19" "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "18" (gdk-pixbuf-error-quark, 0)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '0'Command:  "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/home/see/.cache/fontconfig" "/home/see/.cache/fontconfig" "--ro-bind-try" "/home/see/.config/fontconfig/fonts.conf" "/home/see/.config/fontconfig/fonts.conf" "--ro-bind-try" "/home/see/.local/share/fonts" "/home/see/.local/share/fonts" "--ro-bind-try" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "19" "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "18" (gdk-pixbuf-error-quark, 0)
Aborted                    (core dumped) inkscape

Log-Output of gnucash with gc-8.2.10-1 (failing to start)

[see@s1 ~]$ gnucash

(gnucash:81222): Gtk-WARNING **: 02:09:39.139: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '0'Command:
 "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/home/see/.cache/fontconfig" "/home/see/.cache/fontconfig" "--ro-bind-try" "/home/see/.config/fontconfig/fonts.conf" "/home/see/.config/fontconfig/fonts.conf" "--ro-bind-try" "/home/see/.local/share/fonts" "/home/see/.local/share/fonts" "--ro-bind-try" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "27" "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "26" (gdk-pixbuf-error-quark, 0)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '0'Command:  "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/home/see/.cache/fontconfig" "/home/see/.cache/fontconfig" "--ro-bind-try" "/home/see/.config/fontconfig/fonts.conf" "/home/see/.config/fontconfig/fonts.conf" "--ro-bind-try" "/home/see/.local/share/fonts" "/home/see/.local/share/fonts" "--ro-bind-try" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/home/see/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "27" "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "26" (gdk-pixbuf-error-quark, 0)
Aborted                    (core dumped) gnucash

Log-Output of inkscape with gc-8.2.8-2 installed (starting up regularly):

[see@s1 ~]$ inkscape
CMSSystem::load_profiles: /usr/share/color/icc/colord/Crayons.icc is not an ICC file!
CMSSystem::load_profiles: /usr/share/color/icc/colord/x11-colors.icc is not an ICC file!

(org.inkscape.Inkscape:66193): Gtk-CRITICAL **: 02:00:50.191: invalid accelerator string ''

(org.inkscape.Inkscape:66193): Gtk-CRITICAL **: 02:00:50.191: gtk_application_accels_get_actions_for_accel: assertion 'accel_key.key != 0' failed

(org.inkscape.Inkscape:66193): Gtk-WARNING **: 02:00:50.195: Unable to parse accelerator '': ignored request to install 1 accelerators
[see@s1 ~]$

Log-Output of gnucash with gc-8.2.8-2 (starting up regularly):

[see@s1 ~]$ gnucash
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
[see@s1 ~]$
  • package version(s):
    • gc 8.2.10-1
    • gnucash 5.13-2 (version does not matter)
    • inkscape 1.4.2-10 (version does not matter)

Steps to reproduce:

  1. Upgrade gc
  2. Start applications (-> core-dumps)
  3. Downgrade gc
  4. Start applications (-> starting up regularly)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information