removed and re installed snap store. installed version is 209 instead 308 and now the problem is disappeared
corrado@corrado-p7-ff-0302:~$ echo $DESKTOP_SESSION
ubuntu-wayland
corrado@corrado-p7-ff-0302:~$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.43.3 8689 latest/stable canonical✓ core
core18 20200124 1668 latest/stable canonical✓ base
gnome-3-28-1804 3.28.0-16-g27c9498.27c9498 116 latest/stable canonical✓ -
gnome-3-34-1804 0+git.2c86692 21 latest/stable/… canonical✓ -
gtk-common-themes 0.1-29-g45e78c5 1474 latest/stable/… canonical✓ -
snap-store 20200318.3b39451 308 latest/stable/… canonical✓ -
corrado@corrado-p7-ff-0302:~$ snap-store
Segmentation fault (core dumped)
corrado@corrado-p7-ff-0302:~$ snap refresh snap-store
snap “snap-store” has no updates available
corrado@corrado-p7-ff-0302:~$ snap remove snap-store
snap-store removed
corrado@corrado-p7-ff-0302:~$ snap install snap-store
snap-store 20191114.a9948d5 from Canonical✓ installed
corrado@corrado-p7-ff-0302:~$ snap run snap-store
06:40:36:0657 Gs enabled plugins: odrs, rewrite-resource, snap, icons, key-colors, key-colors-metadata
06:40:36:0657 Gs disabled plugins: appstream, desktop-categories, desktop-menu-path, dpkg, dummy, epiphany, fedora-pkgdb-collections, generic-updates, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, os-release, provenance, provenance-license, repos, shell-extensions
06:40:41:0181 Gs failed to create an app for ////system/*
06:40:41:0184 Gs updates-shell: failed to get updates: no plugin could handle get-updates
06:40:41:0184 Gs failed to create an app for ////system/*
06:40:41:0184 Gs failed to get system app
06:40:41:0185 Gs Only 0 apps for recent list, hiding
06:40:41:0201 GsPluginSnap Failed to load snap icon: local snap has no icon
06:40:41:0328 Gs hiding category games featured applications: found only 0 to show, need at least 9
06:40:41:0351 Gs hiding category productivity featured applications: found only 0 to show, need at least 9
06:40:41:0515 GsPluginSnap Failed to load snap icon: local snap has no icon
corrado@corrado-p7-ff-0302:~$
corrado@corrado-p7-ff-0302:~$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.43.3 8689 latest/stable canonical✓ core
core18 20200124 1668 latest/stable canonical✓ base
gnome-3-28-1804 3.28.0-16-g27c9498.27c9498 116 latest/stable canonical✓ -
gnome-3-34-1804 0+git.2c86692 21 latest/stable/… canonical✓ -
gtk-common-themes 0.1-29-g45e78c5 1474 latest/stable/… canonical✓ -
snap-store 20191114.a9948d5 209 latest/stable canonical✓ -
corrado@corrado-p7-ff-0302:~$
I suspect there is something new in gnome-software/snap-store that is using clutter, which is known to have issues in wayland. Can you try this with the revision of the snap that was crashing?
Make sure you kill any snap-store background processes and run this:
I removed snap-store 209 (was ok in Wayland) and re-installed snap-store 308. now starting snap store i have a lot of messages:
corrado@corrado-x4-ff-0315:~$ snap-store
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/appdata /usr/share/appdata-2 none bind,ro 0 0): permission denied
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/metainfo /usr/share/metainfo-2 none bind,ro 0 0): permission denied
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Segmentation fault (core dumped)
corrado@corrado-x4-ff-0315:~$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.43.3 8689 latest/stable canonical✓ core
core18 20200311 1705 latest/stable canonical✓ base
gnome-3-28-1804 3.28.0-16-g27c9498.27c9498 116 latest/stable canonical✓ -
gnome-3-34-1804 0+git.2c86692 21 latest/stable/… canonical✓ -
gtk-common-themes 0.1-29-g45e78c5 1474 latest/stable/… canonical✓ -
snap-store 20200318.3b39451 308 latest/beta canonical✓ -
corrado@corrado-x4-ff-0315:~$ snap run snap-store
Segmentation fault (core dumped)
corrado@corrado-x4-ff-0315:~$
running the commans You suggest:
corrado@corrado-x4-ff-0315:~$ DISABLE_WAYLAND=1 snap-store
Segmentation fault (core dumped)
corrado@corrado-x4-ff-0315:~$
$ snap-store
Attention : le schéma « org.gnome.system.locale » comporte le chemin « /system/locale/ ». Les chemins commençant par « /apps/ », « /desktop/ » ou « /system/ » sont obsolètes.
Attention : le schéma « org.gnome.system.proxy » comporte le chemin « /system/proxy/ ». Les chemins commençant par « /apps/ », « /desktop/ » ou « /system/ » sont obsolètes.
Attention : le schéma « org.gnome.system.proxy.http » comporte le chemin « /system/proxy/http/ ». Les chemins commençant par « /apps/ », « /desktop/ » ou « /system/ » sont obsolètes.
Attention : le schéma « org.gnome.system.proxy.https » comporte le chemin « /system/proxy/https/ ». Les chemins commençant par « /apps/ », « /desktop/ » ou « /system/ » sont obsolètes.
Attention : le schéma « org.gnome.system.proxy.ftp » comporte le chemin « /system/proxy/ftp/ ». Les chemins commençant par « /apps/ », « /desktop/ » ou « /system/ » sont obsolètes.
Attention : le schéma « org.gnome.system.proxy.socks » comporte le chemin « /system/proxy/socks/ ». Les chemins commençant par « /apps/ », « /desktop/ » ou « /system/ » sont obsolètes.
Erreur de segmentation
I have set DISABLE_WAYLAND: 1 in environment: section of snapcraft file of one of my application https://snapcraft.io/red-app and it crashes similarly on wayland session a user reported this in app rating and gave it 1 star for this behavior.
corrado@corrado-x5-ff-0329:~$ snap install snap-store --edge
snap-store (edge) 20200323.7c09bc5 from Canonical✓ installed
corrado@corrado-x5-ff-0329:~$ snap-store
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/appdata /usr/share/appdata-2 none bind,ro 0 0): permission denied
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/metainfo /usr/share/metainfo-2 none bind,ro 0 0): permission denied
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Segmentation fault (core dumped)
corrado@corrado-x5-ff-0329:~$
I can confirm that this isn’t just you. I’ve now replicated it on my own copy of Ubuntu 20.04 when running Wayland. It does not exhibit the crash in X11. I ran it through strace but can’t see any smoking gun obvious problems. I think it’s gonna need someone from either the snapd or desktop teams to have a poke…