Installed application through snap crash after initiating any action

Any app that I install through snap open but fails right away as soon as I try to perform some operation.
For example the most recent one was VS Code.
I installed
sudo snap install code --classic

Then opened app and clicked on check for updates --> app just closed (crashed).
And it always crashes. Same happened to all other apps.

What can I do?

System: Host: map Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 Desktop: GNOME 3.36.6 Distro: Manjaro Linux


running
code --verbose
then checking for updates…
last lines

[main 2020-10-03T21:04:12.297Z] update#checkForUpdates, state = idle
[main 2020-10-03T21:04:12.297Z] update#setState checking for updates
[778633:1003/170412.299013:WARNING:x11_util.cc(1520)] X error received: serial 2875, error_code 3 (BadWindow (invalid Window parameter)), request_code 3, minor_code 0 (X_GetWindowAttributes)
[main 2020-10-03T21:04:12.300Z] update#setState idle
[main 2020-10-03T21:04:12.300Z] telemetry/update:notAvailable { explicit: true }
[778633:1003/170412.301341:INFO:CONSOLE(1705)] “%cTRACE color: #888 DialogService#show There are currently no updates available.”, source: file:///var/lib/snapd/snap/code/46/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (1705)
Fontconfig warning: “/etc/fonts/conf.avail/05-reset-dirs-sample.conf”, line 6: unknown element “reset-dirs”
(code:778633): GdkPixbuf-WARNING **: 17:04:12.339: Cannot open pixbuf loader module file ‘/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache’: No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
(code:778633): Gtk-WARNING **: 17:04:12.339: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
(code:778633): GdkPixbuf-WARNING **: 17:04:12.339: Cannot open pixbuf loader module file ‘/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache’: No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
**
Gtk:ERROR:/build/gtk+3.0-24RAPQ/gtk+3.0-3.22.24/./gtk/gtkiconhelper.c:493:ensure_surface_for_gicon: assertion failed: (destination)
/dev/fd/3: No such file or directory
Server response:


sudo systemctl status snapd
● snapd.service - Snap Daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-09-28 15:41:05 EDT; 5 days ago
TriggeredBy: ● snapd.socket
Main PID: 343215 (snapd)
Tasks: 38 (limit: 77105)
Memory: 292.3M
CGroup: /system.slice/snapd.service
└─343215 /usr/lib/snapd/snapd

Oct 02 15:56:06 map snapd[343215]: autorefresh.go:410: auto-refresh: all snaps are up-to-date
Oct 02 18:26:06 map snapd[343215]: storehelpers.go:438: cannot refresh: snap has no updates available: “core”, “gitkraken”
Oct 02 18:26:06 map snapd[343215]: autorefresh.go:410: auto-refresh: all snaps are up-to-date
Oct 03 04:56:05 map snapd[343215]: storehelpers.go:438: cannot refresh: snap has no updates available: “core”, “gitkraken”
Oct 03 04:56:05 map snapd[343215]: autorefresh.go:410: auto-refresh: all snaps are up-to-date
Oct 03 09:21:05 map snapd[343215]: storehelpers.go:438: cannot refresh: snap has no updates available: “core”, “gitkraken”
Oct 03 09:21:06 map snapd[343215]: autorefresh.go:410: auto-refresh: all snaps are up-to-date
Oct 03 15:51:06 map snapd[343215]: storehelpers.go:438: cannot refresh: snap has no updates available: “core”, “gitkraken”
Oct 03 15:51:06 map snapd[343215]: autorefresh.go:410: auto-refresh: all snaps are up-to-date
Oct 03 16:55:42 map snapd[343215]: api.go:997: Installing snap “code” revision unset

This is a known issue that is being worked on. I think @sergiusens is working on this.