App Version: 2.7.0 (latest version available as a snap as default when installing through Ubuntu at time of testing).
[x ] I have tested with the latest version
To reproduce, I just need to open the app on my system.
The entire Gnome 3 shell (Wayland) session instantly crashes (which obviously closes all running desktop applications and throws back to the login).
Note, this is an issue specific to the rocketchat-desktop SNAP package. Installing via the .deb package works fine (although I note the .deb is version 2.10.2).
The app should run without crashing the session.
This happens to me, too. Both the spotify snap and a snapped electron app that I made locally crash Gnome shell. I see a segfault in the system logs when it happens:
Feb 15 09:33:38 raven spotify_spotify.desktop[26607]: Gtk-Message: Failed to load module "canberra-gtk-module"
Feb 15 09:33:39 raven PackageKit: resolve transaction /112_bebcacce from uid 1000 finished with success after 403ms
Feb 15 09:33:39 raven gnome-software[26326]: running search with refine-flags=require-icon with timeout=60 with max-results=20 with search=spo on plugin=snap on a
pps system/package/ubuntu-artful-universe/desktop/blocks-of-the-undead.desktop/*,system/package/ubuntu-artful-universe/desktop/tuxfootball.desktop/*,system/packag
e/ubuntu-artful-universe/desktop/etw.desktop/*,system/package/ubuntu-artful-universe/desktop/Xdx.desktop/*,system/package/ubuntu-artful-universe/desktop/gtranscri
be.desktop/*,system/snap/Snap Store/desktop/vsslagent/*,system/snap/Snap Store/desktop/tizonia/*,system/snap/Snap Store/desktop/rockscissorspaperlizardspock-snap/
*,system/snap/Snap Store/desktop/spotify/* took 2958ms
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE)
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) Backtrace:
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 0: /usr/bin/Xwayland (xorg_backtrace+0x4d) [0x561556b0843d]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 1: /usr/bin/Xwayland (0x561556960000+0x1ac1d9) [0x561556b0c1d9]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f6a896f1000+0x13150) [0x7f6a89704150]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 3: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x22fcb6) [0x7f6a81978cb6]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 4: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x19a829) [0x7f6a818e3829]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 5: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x12e272) [0x7f6a81877272]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 6: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x12e2ae) [0x7f6a818772ae]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 7: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x12e311) [0x7f6a81877311]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 8: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x98152) [0x7f6a817e1152]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 9: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x23c63b) [0x7f6a8198563b]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 10: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x3b3afd) [0x7f6a81afcafd]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 11: /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so (0x7f6a81749000+0x3b2bd3) [0x7f6a81afbbd3]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 12: /usr/bin/Xwayland (0x561556960000+0xc88f9) [0x561556a288f9]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 13: /usr/bin/Xwayland (0x561556960000+0xc78e5) [0x561556a278e5]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 14: /usr/bin/Xwayland (0x561556960000+0x196772) [0x561556af6772]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 15: /usr/bin/Xwayland (0x561556960000+0xcc307) [0x561556a2c307]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 16: /usr/bin/Xwayland (0x561556960000+0xc7bac) [0x561556a27bac]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 17: /usr/bin/Xwayland (0x561556960000+0x171c48) [0x561556ad1c48]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 18: /usr/bin/Xwayland (0x561556960000+0x175c90) [0x561556ad5c90]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 19: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf1) [0x7f6a893321c1]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) 20: /usr/bin/Xwayland (_start+0x2a) [0x56155699aa9a]
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE)
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) Segmentation fault at address 0x70
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE)
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: Fatal server error:
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Feb 15 09:33:40 raven org.gnome.Shell.desktop[26025]: (EE)
Most helpful comment
This happens to me, too. Both the spotify snap and a snapped electron app that I made locally crash Gnome shell. I see a segfault in the system logs when it happens: