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 (Yesterday 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 Yesterday 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 Yesterday 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 (Yesterday 09:43:02)

Offline

#5 Yesterday 10:12:38

macromal
Member
Registered: 2024-08-03
Posts: 39
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

Board footer

Powered by FluxBB