You are not logged in.

#1 2025-09-25 09:33:01

Xiang Ye
Member
Registered: 2025-09-25
Posts: 2

bwrap failed to load image-missing.svg

After upgrading my system with `yay -Syu`, Chromium crashes when I try to use the "Save As" feature by `Ctrl S`. This issue has occurred on both of my computers following the system update. Is there any one can help? Thank you!

The error reports:

(chromium:3242): Gtk-WARNING **: 17:12:24.081: 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): Faile
d to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with sta
tus '1'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-r
un" "--setenv" "XDG_RUNTIME_DIR" "/run/user/1000" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/l
ib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/et
c/fonts/fonts.conf" "--ro-bind-try" "/home/Eric/.cache/fontconfig" "/home/Eric/.cache/fontconfig" "--ro-bi
nd-try" "/home/Eric/.local/share/fonts" "/home/Eric/.local/share/fonts" "--ro-bind-try" "/home/Eric/dotfil
es/conf_files/nerd_font/nerd-fonts" "/home/Eric/.local/share/fonts/nerd-fonts" "--ro-bind-try" "/var/cache
/fontconfig" "/var/cache/fontconfig" "--bind-try" "/home/Eric/.cache/glycin/usr/lib/glycin-loaders/2+/glyc
in-svg" "/home/Eric/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/home
/Eric/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "188" "/usr/lib/glycin-loaders/2+/gl

Last edited by Xiang Ye (2025-09-26 07:38:08)

Offline

#2 2025-09-25 10:39:36

0xjmz
Member
Registered: 2018-09-08
Posts: 9

Re: bwrap failed to load image-missing.svg

I had a similar issue in Firefox. Downgrading `gdk-pixbuf` seems to have fixed it for me.

sudo pacman -U https://archive.archlinux.org/packages/g/gdk-pixbuf2/gdk-pixbuf2-2.42.12-2-x86_64.pkg.tar.zst

https://bbs.archlinux.org/viewtopic.php?id=302145

Last edited by 0xjmz (2025-09-25 10:50:58)

Offline

#3 2025-09-26 05:48:56

Xiang Ye
Member
Registered: 2025-09-25
Posts: 2

Re: bwrap failed to load image-missing.svg

0xjmz wrote:

I had a similar issue in Firefox. Downgrading `gdk-pixbuf` seems to have fixed it for me.

sudo pacman -U https://archive.archlinux.org/packages/g/gdk-pixbuf2/gdk-pixbuf2-2.42.12-2-x86_64.pkg.tar.zst

https://bbs.archlinux.org/viewtopic.php?id=302145



Thank you!! It works for me too.

Offline

#4 2025-09-26 09:33:17

0xjmz
Member
Registered: 2018-09-08
Posts: 9

Re: bwrap failed to load image-missing.svg

It looks like the better solution is to just remove symlinks from ~/.local/share/fonts that point outside this directory, since these can cause problems inside the bwrap container.

find ~/.local/share/fonts -type l -ok rm {} \;

Once the problematic symlinks are removed, gdk-pixbuf2 works correctly in newer versions (at least for me).

Of course, you can have the same problem in other directories shown in your log

...
"--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/l
ib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/et
c/fonts/fonts.conf" "--ro-bind-try" "/home/Eric/.cache/fontconfig" "/home/Eric/.cache/fontconfig" "--ro-bi
nd-try" "/home/Eric/.local/share/fonts" "/home/Eric/.local/share/fonts" "--ro-bind-try" "/home/Eric/dotfil
es/conf_files/nerd_font/nerd-fonts" "/home/Eric/.local/share/fonts/nerd-fonts" "--ro-bind-try" "/var/cache
/fontconfig" "/var/cache/fontconfig"
...

Last edited by 0xjmz (2025-09-26 09:43:02)

Offline

#5 2025-09-26 10:12:38

macromal
Member
Registered: 2024-08-03
Posts: 40
Website

Re: bwrap failed to load image-missing.svg

I experienced the same issue, and it seems to be related to the AppArmor profile. You have two options: you can either disable the AppArmor profile or you can modify the profile by adding the following lines to grant the necessary permissions.

  # glycin-loaders sandboxed
  /usr/bin/bwrap ixr,
  @{PROC}/sys/kernel/overflowuid r,
  @{PROC}/sys/kernel/overflowgid r,
  /usr/lib/glycin-loaders/[0-9]*+/glycin-* ixr,
  owner @{HOME}/.cache/glycin/** rw,

Offline

#6 2026-01-07 06:21:51

phota
Member
Registered: 2026-01-07
Posts: 1

Re: bwrap failed to load image-missing.svg

Just had the same issue when trying to use `gparted` in Arch with dot's hyperland. Very similar errors.

    gpartedbin:15100): Gtk-WARNING **: 16:08:02.558: Error loading theme icon 'image-missing' for stock: 
Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '1'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" "/lib64" "--symlink" "/usr/lib" "/lib" "--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" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try"
"/home/matt/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/home/matt/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg"
 "--setenv" "XDG_CACHE_HOME" "/home/matt/.cache/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "16"
 "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "15"
/usr/bin/gparted: line 231: 15100 Segmentation fault         (core dumped) $BASE_CMD

I was using `gdk-pixbuf2 2.44.4-1` and downgraded to `2.42.12-2` as shown above; gparted then worked with

sudo -E gparted

from terminal. I upgraded back to 2.44.4-1, and it still seems that GParted is operating correctly but will try upon reboot shortly.

Offline

Board footer

Powered by FluxBB