flathub / com.slack.Slack

https://flathub.org/apps/details/com.slack.Slack
35 stars 36 forks source link

Ubuntu 20.04 Flatpak not usable since updating it today #168

Closed joergdw closed 9 months ago

joergdw commented 2 years ago

After updating slack today, it is not usable anymore. Removing all config-files in ~/.var/app/com.slack.Slack does not help.

% flatpak run --verbose 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: 08:45:29.071: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:45:29.071: Failed to load module "canberra-gtk-module"
[2:0517/084529.091496:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[2:0517/084529.091582:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Gkr-Message: 08:45:29.139: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
LaunchProcess: failed to execvp:
xdg-settings
[2:0517/084529.261608:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[2:0517/084529.261688:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[2:0517/084529.261716:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[2:0517/084529.274317:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/084529.274444:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[0517/084529.429688:FATAL:logging.cc(144)] Failed to init logging: Datei oder Verzeichnis nicht gefunden (2)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
[42:0517/084529.432223:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432340:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432434:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432522:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432611:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432699:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432835:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.432956:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433077:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433176:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433354:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433448:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433534:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433612:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433688:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433766:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433852:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.433918:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.434106:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.434183:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
[42:0517/084529.434271:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (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)
[0517/084529.630465:FATAL:logging.cc(144)] Failed to init logging: Datei oder Verzeichnis nicht gefunden (2)
Renderer process clean-exit - 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)
[0517/084530.012568:FATAL:logging.cc(144)] Failed to init logging: Datei oder Verzeichnis nicht gefunden (2)
Renderer process killed - 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)
[0517/084531.292181:FATAL:logging.cc(144)] Failed to init logging: Datei oder Verzeichnis nicht gefunden (2)
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)
# […]
joergdw commented 2 years ago

Just for others having the same problem and urgently needing a working version: Downgrade via flatpak update --commit='e42dd12ad288509cb4c7f94c7a370f9c72f7ddf03b202fbe3c2a7c9f6979b249' com.slack.Slack (requires root-privileges) and everything runs fine again.

Thanks to @TingPing in: https://github.com/flatpak/flatpak/issues/3097#issuecomment-530583469

FakeShemp commented 2 years ago

It works like it should on X11, so maybe Wayland launch script needs updating.

AJCxZ0 commented 2 years ago

Reproduced on 20.04.4 Desktop using Wayland with amdgpu driver. Not (yet) tested in any other environment.

$ flatpak info com.slack.Slack

Slack - Chat with your team

          ID: com.slack.Slack
         Ref: app/com.slack.Slack/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 4.26.1
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 5.4 MB
     Runtime: org.freedesktop.Platform/x86_64/21.08
$ flatpak run --verbose com.slack.Slack
         Sdk: org.freedesktop.Sdk/x86_64/21.08

      Commit: 63973d420456891338db466d7040b404f1f86b3719b9a23745c7701c6e3a925b
      Parent: e42dd12ad288509cb4c7f94c7a370f9c72f7ddf03b202fbe3c2a7c9f6979b249
     Subject: Update slack.deb to 4.26.1 (bef325d4)
        Date: 2022-05-16 16:55:58 +0000
$ flatpak run --verbose com.slack.Slack
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 2341310797
F: Cleaning up unused container id 482162824
F: Allocated instance id 4028528103
F: Add defaults in dir /com/slack/Slack/
F: Add locks in dir /com/slack/Slack/
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/username/.config/pulse/client.conf': Error opening file /home/username/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 32 xdg-dbus-proxy --args=34'
F: Running 'bwrap --args 32 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: 15:17:58.980: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:17:58.980: Failed to load module "canberra-gtk-module"
[2:0517/151759.022312:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/151759.022397:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gkr-Message: 15:17:59.149: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[42:0517/151759.319128:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
LaunchProcess: failed to execvp:
xdg-settings
[2:0517/151759.493927:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/151759.493990:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/151759.494015:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/151759.516399:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/151759.516535:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[0517/151759.842016:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)
Renderer process killed - 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)
[0517/151800.344086:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)
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)
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
[0517/151801.815550:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)

Reverted to 4.25.0 as @joergdw did. Comparing flatpak run --verbose com.slack.Slack output included below, it seems that the fatal error is logged as [0517/151759.842016:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2).

$ flatpak info com.slack.Slack

Slack - Chat with your team

          ID: com.slack.Slack
         Ref: app/com.slack.Slack/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 4.25.0
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 5.2 MB
     Runtime: org.freedesktop.Platform/x86_64/21.08
         Sdk: org.freedesktop.Sdk/x86_64/21.08

      Commit: e42dd12ad288509cb4c7f94c7a370f9c72f7ddf03b202fbe3c2a7c9f6979b249
      Parent: f2f3e7830bd08637dfc9a011a773aeabf5ee31b8623c16c6e7374f08b42d7bf6
     Subject: Update slack.deb to 4.25.0 (7bb2314b)
        Date: 2022-04-04 21:09:23 +0000
$ flatpak run --verbose com.slack.Slack
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 632486471
F: Cleaning up unused container id 994931093
F: Allocated instance id 3374599167
F: Add defaults in dir /com/slack/Slack/
F: Add locks in dir /com/slack/Slack/
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/username/.config/pulse/client.conf': Error opening file /home/username/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 33 xdg-dbus-proxy --args=35'
F: Running 'bwrap --args 31 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: 15:25:35.027: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:25:35.027: Failed to load module "canberra-gtk-module"
[2:0517/152535.084456:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/152535.084512:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[41:0517/152535.395758:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
LaunchProcess: failed to execvp:
xdg-settings
[2:0517/152535.542859:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/152535.542903:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/152535.542926:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0517/152535.557110:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152535.557193:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152539.761275:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152539.817807:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152539.817892:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[41:0517/152539.880605:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[41:0517/152542.029098:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[2:0517/152543.899255:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152543.899345:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152545.054388:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0517/152545.054476:ERROR:browser_main_loop.cc(267)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[41:0517/152545.189989:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Gkr-Message: 15:26:15.136: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
[10 zypak-sandbox] Dropping 0x564c6861e310 (3) because of connection closed
[10 zypak-sandbox] Host is gone, preparing to exit...
[10 zypak-sandbox] Quitting Zygote...
joergdw commented 2 years ago

@AJCxZ0 I have the same "No such file" error.

zinga666 commented 2 years ago

Hi,

I can confirm this on Linux Mint 19.3 (based on ubuntu 18.04):

[0518/090850.249972:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (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)
[2:0518/090850.535319:ERROR:browser_main_loop.cc(269)] Gdk: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
[0518/090850.764529:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (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)
ludat commented 2 years ago

I'm experiencing the same error:

$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=slack --file-forwarding com.slack.Slack @@u @@
[3 zypak-helper] Portal does not support expose-pids
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: 13:53:36.145: Failed to load module "xapp-gtk3-module"
Gtk-Message: 13:53:36.146: Failed to load module "xapp-gtk3-module"
Gtk-Message: 13:53:36.146: Failed to load module "canberra-gtk-module"
Gtk-Message: 13:53:36.146: Failed to load module "canberra-gtk-module"
[3:0518/135336.225761:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0518/135336.225829:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gkr-Message: 13:53:36.301: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
[43:0518/135336.335848:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
LaunchProcess: failed to execvp:
xdg-settings
[3:0518/135336.435456:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0518/135336.435529:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0518/135336.435575:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0518/135336.447631:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[3:0518/135336.447725:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[0518/135336.641917:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (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)
[0518/135337.413882:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (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)
[0518/135339.259999:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)

My system is archlinux, updated up to today (2022-05-18), I'm using pipewire and Xorg, linux kernel 5.17.8-arch1-1, flatpak 1.12.7

WhyNotHugo commented 2 years ago

Is this 4.26.1? It works for me both with Wayland and with XWayland.

matusf commented 2 years ago

yes, it is 4.26.1. But it is still broken for me on both X11 and Wayland (on Ubuntu 20.04).

Knusper commented 2 years ago

Same error here on debian 10 with X.

Rhxydos commented 2 years ago

Same issue on Linux Mint 20.2 Cinnamon. Was able to fix by reverting to a previous commit as per https://github.com/flathub/com.slack.Slack/issues/168#issuecomment-1128486344

bitbytebit1 commented 2 years ago

This is still an issue!

AJCxZ0 commented 2 years ago

Subsequent Slack releases 4.27.154 and 4.27.156 successfully built three and two weeks ago respectively - see #173 and #176 - with 4.27.156 reportedly fixing a problem in 4.27.154 in a package based install in an unspecified environment.

AJCxZ0 commented 2 years ago

My excitement at the update of the flatpack to 4.27.156 (#176) was short-lived.

$ flatpak info com.slack.Slack 

Slack - Chat with your team

          ID: com.slack.Slack
         Ref: app/com.slack.Slack/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 4.27.156
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 5.4 MB
     Runtime: org.freedesktop.Platform/x86_64/21.08
         Sdk: org.freedesktop.Sdk/x86_64/21.08

      Commit: 4ce1f7ea41b925a36ec6ffe0243f35b45d8d2592df3f83bfc3cf383b96e138a3
      Parent: 63973d420456891338db466d7040b404f1f86b3719b9a23745c7701c6e3a925b
     Subject: Update slack.deb to 4.27.156 (fe578202)
        Date: 2022-08-05 11:46:25 +0000
$ flatpak run --verbose com.slack.Slack 
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening system flatpak installation at path /var/username/flatpak
F: Opening user flatpak installation at path /home/username/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 2688160420
F: Cleaning up unused container id 521215378
F: Cleaning up unused container id 2741962978
F: Cleaning up unused container id 1735787487
F: Allocated instance id 1524171820
F: Add defaults in dir /com/slack/Slack/
F: Add locks in dir /com/slack/Slack/
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/username/.config/pulse/client.conf': Error opening file /home/username/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 30 xdg-dbus-proxy --args=34'
F: Running 'bwrap --args 31 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: 15:50:59.301: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:50:59.301: Failed to load module "canberra-gtk-module"
[2:0806/155059.333081:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0806/155059.333178:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gkr-Message: 15:50:59.422: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
LaunchProcess: failed to execvp:
xdg-settings
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2:0806/155059.790966:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0806/155059.791022:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0806/155059.791061:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0806/155059.832419:ERROR:browser_main_loop.cc(271)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:0806/155059.833252:ERROR:browser_main_loop.cc(271)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[0806/155100.169266:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)
Renderer process killed - 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 n.send (node:electron/js2c/browser_init:165:417)
    at 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:125:7146
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:21573
    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:112:18475)
    at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86970)
[0806/155100.640713:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at n.send (node:electron/js2c/browser_init:165:417)
    at 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:125:7146
    at /app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:112:21573
    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:112:18475)
    at Object.next (/app/extra/lib/slack/resources/app.asar/dist/main.bundle.js:342:86970)
Renderer process killed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
[0806/155102.110196:FATAL:logging.cc(144)] Failed to init logging: No such file or directory (2)

@WhyNotHugo et al., is there something we can do to help resolve this?

evan-a-a commented 9 months ago

Closing due to age.