Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Crash after update snap to 4.10.0

Open mcwnuq opened this issue 3 weeks ago • 6 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Operating System

  • [ ] macOS
  • [ ] Windows
  • [x] Linux

Operating System Version

Ubuntu 25.10

It happens on the web browser too?

No, it just happens on the Desktop app

Rocket.Chat Desktop App Version

4.10.0

Rocket.Chat Server Version

7.12

Describe the bug

After my snap update to 4.10.0 i got this error

MESA-LOADER: failed to open nouveau (search paths /snap/rocketchat-desktop/894/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /snap/rocketchat-desktop/894/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/rocketchat-desktop/894/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
MESA-LOADER: failed to open radeonsi (search paths /snap/rocketchat-desktop/894/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open kms_swrast (search paths /snap/rocketchat-desktop/894/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/rocketchat-desktop/894/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
dbus-send: /snap/rocketchat-desktop/894/lib/x86_64-linux-gnu/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.12.16' not found (required by dbus-send)
[11867:1206/011723.763831:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
[11867:1206/011723.763861:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:282] Failed to initialize Wayland platform
[11867:1206/011723.763865:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.
[1]    11867 segmentation fault (core dumped)  rocketchat-desktop

How to Reproduce

Install newest Ubuntu 25.10, install Rocket.Chat via snap (version 4.10.0) and launch

Describe your Expected behavior

No response

Anything else

No response

Are you willing to submit a code contribution?

  • [ ] Yes, I am willing to submit a Pull Request!

mcwnuq avatar Dec 06 '25 00:12 mcwnuq

Seeing this too.

perdue avatar Dec 06 '25 01:12 perdue

Caught the same error right now after upgrading to 4.10.0 on Ubuntu 25.10 via Snap:

kostya@Notebook-ThinkPad-T14:~$ rocketchat-desktop 
dbus-send: /snap/rocketchat-desktop/894/lib/x86_64-linux-gnu/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.12.16' not found (required by dbus-send)
[251907:1206/124936.484164:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
[251907:1206/124936.484211:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:282] Failed to initialize Wayland platform
[251907:1206/124936.484248:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.
Segmentation fault (core dumped)

Reverted to 4.9.1 successfully.

KenFromNN avatar Dec 06 '25 09:12 KenFromNN

We've this issue too.

System Details
        `:+ssssssssssssssssss+:`           ----------------------------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 24.04.3 LTS x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: 21AB001VGE ThinkPad L13 Gen 2a 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.8.0-88-generic 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 1 hour, 16 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2807 (dpkg), 12 (brew), 67 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.2.21 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1200 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 46.0 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-purple-dark [GTK2/3] 
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru-purple-dark [GTK2/3] 
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal 
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: AMD Ryzen 7 PRO 5850U with Rade 
    .ossssssssssssssssssdMMMNysssso.       GPU: AMD ATI Radeon Vega Series / Ra 
      -+sssssssssssssssssyyyssss+-         Memory: 6790MiB / 14803MiB 
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.                                       
                                                                   
Temporary Workaround

As a workaround I've downloaded the version 4.9.2 (*amd64.snap)

And installed it using:

snap install ./rocketchat-4.9.2-linux-amd64.snap --dangerous

No old versions are available using default snap store:

$ snap info rocketchat-desktop
name:      rocketchat-desktop
summary:   Rocket.Chat
publisher: Rocket.Chat (rocketchat✓)
store-url: https://snapcraft.io/rocketchat-desktop
contact:   https://open.rocket.chat/channel/ubuntu-snap
license:   unset
description: |
  Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
commands:
  - rocketchat-desktop
snap-id:      G4dFdVrFArll5teSvqpgWfRXIMGjME0l
tracking:     latest/stable
refresh-date: 2025-10-01
channels:
  latest/stable:    4.10.0         2025-12-05 (894) 109MB -
  latest/candidate: 3.3.0-snapshot 2021-06-12 (451)  70MB -
  latest/beta:      3.0.0-develop  2020-09-30 (191)  69MB -
  latest/edge:      4.10.0         2025-12-05 (894) 109MB -

LvckyAPI avatar Dec 08 '25 08:12 LvckyAPI

You can just execute snap revert rocketchat-desktop, that's how I did it.

mcwnuq avatar Dec 08 '25 08:12 mcwnuq

Reverted the latest/stable to 4.9.2 until we find what happened. Thanks for the reports.

jeanfbrito avatar Dec 08 '25 13:12 jeanfbrito

You can just execute snap revert rocketchat-desktop, that's how I did it.

But not if you removed it completely before

LvckyAPI avatar Dec 08 '25 17:12 LvckyAPI

I sent the fixed version to the Snap Store.

jeanfbrito avatar Dec 11 '25 19:12 jeanfbrito