flathub / com.slack.Slack

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

Crash On Wayland When Open Again While Running In The Background #189

Closed czhang03 closed 1 year ago

czhang03 commented 1 year ago

Step to reproduce

  1. Run flatpak run com.slack.Slack --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto
  2. Close the main window, at this point slack should be running in the background.
  3. reopen slack by clicking on the slack icon or the app indicator
  4. Slack crashes

Log

Initializing local storage instance
maybeDisableGPU: Disabled hardware acceleration due to setting
(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.
[2:0220/103610.515766:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0220/103610.515820:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gkr-Message: 10:36:10.540: secret service operation failed: org.freedesktop.DBus.Error.ServiceUnknown
LaunchProcess: failed to execvp:
xdg-settings
[2:0220/103610.609658:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0220/103610.609715:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0220/103610.609744:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:0220/103625.659832:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@31: error 0: gtk_shell::get_gtk_surface already requested

System Information

Ubuntu 22.10, GNOME version 43.1, GNOME Desktop on Wayland, NVIDIA 1060 GPU

czhang03 commented 1 year ago

Turns out to be a upstream issue https://github.com/electron/electron/issues/35657