flathub/com.discordapp.Discord

crash at splash screen since update to version 0.0.44

Opened this issue · 5 comments

System:
ryzen 5 3600
rtx 3060 (proprietary driver)
linux 6.7.9 arch linux
plasma 6

Discord crashes when starting since the update to 0.0.44.

The output:

➜ ~ flatpak run com.discordapp.Discord
Disabling updates already done
Discord 0.0.44
[5:0310/004101.973195:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[5:0310/004101.973262:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Starting app.
Starting updater.
2024-03-09T23:41:02.003Z [Modules] Modules initializing
2024-03-09T23:41:02.003Z [Modules] Distribution: remote
2024-03-09T23:41:02.003Z [Modules] Host updates: disabled
2024-03-09T23:41:02.003Z [Modules] Module updates: enabled
2024-03-09T23:41:02.003Z [Modules] Module install path: /home/niha/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules
2024-03-09T23:41:02.003Z [Modules] Module installed file path: /home/niha/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules/installed.json
2024-03-09T23:41:02.004Z [Modules] Module download path: /home/niha/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules/pending
splashScreen.initSplash(false)
blackbox: 2024-03-09T23:41:02.025Z 0


blackbox: 2024-03-09T23:41:02.041Z 1 Discord starting: {"releaseChannel":"stable","version":"0.0.44"}, modulepath: /home/niha/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules
blackbox: 2024-03-09T23:41:02.047Z 2 ✅ webContents.created web1 ""
blackbox: 2024-03-09T23:41:02.052Z 3 ✅ window.created win1 "discord"
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/nvidia-drm_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/kms_swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/swrast_dri.so: Kann die Shared-Object-Datei nicht öffnen: Keine Berechtigung (search paths /usr/lib/x86_64-linux-gnu/GL/default/lib/dri, suffix _dri)
splashScreen: SPLASH_SCREEN_READY
splashScreen.webContentsSend: SPLASH_SCREEN_QUOTE SPLASH_SCREEN_QUOTE [ 'Hold Tight — Loading Discord' ]
2024-03-09T23:41:02.283Z [Modules] No updates to install
splashScreen: no-pending-updates
2024-03-09T23:41:02.284Z [Modules] Host is up to date.
2024-03-09T23:41:02.284Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
splashScreen: checking-for-updates
splashScreen.updateSplashState checking-for-updates checking-for-updates {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'checking-for-updates' } ]
2024-03-09T23:41:02.341Z [Modules] No module updates available.
splashScreen: update-check-finished true 0 false
splashScreen.launchMainWindow: false
Optional module ./ElectronTestRpc was not included.
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
[5:0310/004102.417542:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[5:0310/004102.417579:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
blackbox: 2024-03-09T23:41:02.417Z 4 ✅ webContents.created web2 ""
[5:0310/004102.417600:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[54:0310/004102.419995:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglMakeCurrent: Failed to make the GLX context current
[54:0310/004102.420089:ERROR:gl_context_egl.cc(473)] eglMakeCurrent failed with error EGL_CONTEXT_LOST
blackbox: 2024-03-09T23:41:02.420Z 5 ✅ window.created win2 "Discord"
[5:0310/004103.071103:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=139
(electron) 'gpu-process-crashed event' is deprecated and will be removed. Please use 'child-process-gone event' instead.
notificationScreen.webContentsSend: win is invalid undefined.
child-process-gone! child: GPU (undefined) exitCode: 139
blackbox: 2024-03-09T23:41:03.077Z 6 before-quit
blackbox: 2024-03-09T23:41:03.086Z 7 window.close win1
2024/03/10 00:41:03 socat[3] W exiting on signal 15

seems to be different output than here: #372
so I made a new issue

I seem to hit a very similar issue on manjaro

System Info

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 5.15.150-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 AORUS M
Disabling updates already done
Discord 0.0.44
Gtk-Message: 12:22:37.520: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:22:37.520: Failed to load module "canberra-gtk-module"
[5:0311/122237.551618: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
[5:0311/122237.551664: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
Starting app.
Starting updater.
2024-03-11T06:52:37.573Z [Modules] Modules initializing
2024-03-11T06:52:37.573Z [Modules] Distribution: remote
2024-03-11T06:52:37.573Z [Modules] Host updates: disabled
2024-03-11T06:52:37.574Z [Modules] Module updates: enabled
2024-03-11T06:52:37.574Z [Modules] Module install path: /home/prashanth/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules
2024-03-11T06:52:37.574Z [Modules] Module installed file path: /home/prashanth/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules/installed.json
2024-03-11T06:52:37.574Z [Modules] Module download path: /home/prashanth/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules/pending
splashScreen.initSplash(false)
blackbox: 2024-03-11T06:52:37.588Z 0 

----------------------------------------------
blackbox: 2024-03-11T06:52:37.638Z 1 Discord starting: {"releaseChannel":"stable","version":"0.0.44"}, modulepath: /home/prashanth/.var/app/com.discordapp.Discord/config/discord/0.0.44/modules
blackbox: 2024-03-11T06:52:37.642Z 2 ✅ webContents.created web1 ""
blackbox: 2024-03-11T06:52:37.644Z 3 ✅ window.created win1 "discord"
splashScreen: SPLASH_SCREEN_READY
splashScreen.webContentsSend: SPLASH_SCREEN_QUOTE SPLASH_SCREEN_QUOTE [ 'Hold Tight — Loading Discord' ]
2024-03-11T06:52:37.716Z [Modules] No updates to install
splashScreen: no-pending-updates
2024-03-11T06:52:37.716Z [Modules] Host is up to date.
2024-03-11T06:52:37.717Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
splashScreen: checking-for-updates
splashScreen.updateSplashState checking-for-updates checking-for-updates {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'checking-for-updates' } ]
2024-03-11T06:52:37.725Z [Modules] No module updates available.
splashScreen: update-check-finished true 0 false
splashScreen.launchMainWindow: false
Optional module ./ElectronTestRpc was not included.
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
[5:0311/122237.790185: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
[5:0311/122237.790230: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
blackbox: 2024-03-11T06:52:37.790Z 4 ✅ webContents.created web2 ""
[5:0311/122237.790264: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
blackbox: 2024-03-11T06:52:37.792Z 5 ✅ window.created win2 "Discord"
[54:0311/122237.794241:ERROR:skia_output_surface_impl.cc(948)] 
  surface_size=1280x65508
  format=4
  color_type=4
  backend_format.isValid()=1
  backend_format.backend()=0
  backend_format.asGLFormat()=1
  backend_format.asVkFormat()=0
  backend_format.asVkFormat() vk_format=0
  sample_count=1
  surface_origin=1
  willGlFBO0=1
[54:0311/122237.795660:ERROR:skia_output_device_gl.cc(275)] Couldn't create surface:
  abandoned()=0
  color_type=0
  framebuffer_info.fFBOID=0
  framebuffer_info.fFormat=0
  color_space={primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL}
  size=0x0
[54:0311/122237.795762:ERROR:gpu_service_impl.cc(988)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[5:0311/122237.802620:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=8704
(electron) 'gpu-process-crashed event' is deprecated and will be removed. Please use 'child-process-gone event' instead.
notificationScreen.webContentsSend: win is invalid undefined.
child-process-gone! child: GPU (undefined) exitCode: 8704
blackbox: 2024-03-11T06:52:37.805Z 6 before-quit
blackbox: 2024-03-11T06:52:37.838Z 7 window.close win1
2024/03/11 12:22:37 socat[3] W exiting on signal 15

xapp-gtk3-module and canberra-gtk-module are available, looks like a system_bus_socket issue

Same issue here on EndeavourOS

This PR might help you: #377

guihkx commented

Can someone please retest this with latest Discord (0.0.70)?