Slack not starting any more

Hi,
Upon the latest Slack update it’s not starting any more. Console output below. It appears Electron has trouble writing to a log file. Any clues?

OS: Ubuntu 20.04.

$ flatpak run com.slack.Slack
[2 zypak-helper] Portal v4 is not available
Initializing local storage instance
(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
Gtk-Message: 09:39:25.745: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:39:25.745: Failed to load module "canberra-gtk-module"
[2:0520/093925.761642:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Bestand of map bestaat niet
[2:0520/093925.761737:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Bestand of map bestaat niet
Gkr-Message: 09:39:25.811: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
LaunchProcess: failed to execvp:
xdg-settings
[2:0520/093925.944398:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Bestand of map bestaat niet
[2:0520/093925.944496:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Bestand of map bestaat niet
[2:0520/093925.944595:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Bestand of map bestaat niet
[2:0520/093927.441631:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0520/093927.441715:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[40:0520/093927.531680:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[0520/093927.654523:FATAL:logging.cc(144)] Failed to init logging: Bestand of map bestaat niet (2)
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6544
    at Array.forEach (<anonymous>)
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6522
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:123:7146
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:110:21553
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:287:922
    at dispatch (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:110:18457)
    at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86816)
[0520/093930.320468:FATAL:logging.cc(144)] Failed to init logging: Bestand of map bestaat niet (2)
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6544
    at Array.forEach (<anonymous>)
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:286:6522
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:123:7146
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:110:21553
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:287:922
    at dispatch (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:110:18457)
    at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86816)
[0520/093931.820333:FATAL:logging.cc(144)] Failed to init logging: Bestand of map bestaat niet (2)


2 Likes

I have the same exact issue. Linux Mint:

$ cat /etc/os-release                                                                                                                                                                                                                      
NAME="Linux Mint"
VERSION="20.2 (Uma)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.2"

Are there any fixes/workarounds?

OK, the issue seems to be with the latest Slack flatpak version: 4.26.1. After downgrading to 4.25.0 Slack starts again:

sudo flatpak update --commit=e42dd12ad288509cb4c7f94c7a370f9c72f7ddf03b202fbe3c2a7c9f6979b249 com.slack.Slack
1 Like

Thanks for the workaround, can confirm downgrading to 4.25.0 also works for me.

1 Like