Supreeeme / xwayland-satellite

Xwayland outside your Wayland
Mozilla Public License 2.0
166 stars 8 forks source link

crash wen launching Discord #4

Closed cptn-cosmo closed 5 months ago

cptn-cosmo commented 5 months ago

When I try to launch Discord I am getting this error message:

~ $ Discord 0.0.51
Starting app.
Starting updater.
2024-04-29T17:00:41.928Z [Modules] Modules initializing
2024-04-29T17:00:41.929Z [Modules] Distribution: remote
2024-04-29T17:00:41.929Z [Modules] Host updates: enabled
2024-04-29T17:00:41.929Z [Modules] Module updates: enabled
2024-04-29T17:00:41.929Z [Modules] Module install path: /home/cosmo/.config/discord/0.0.51/modules
2024-04-29T17:00:41.929Z [Modules] Module installed file path: /home/cosmo/.config/discord/0.0.51/modules/installed.json
2024-04-29T17:00:41.929Z [Modules] Module download path: /home/cosmo/.config/discord/0.0.51/modules/pending
splashScreen.initSplash(false)
CDM component API found
blackbox: 2024-04-29T17:00:41.973Z 0

----------------------------------------------
blackbox: 2024-04-29T17:00:41.992Z 1 Discord starting: {"releaseChannel":"stable","version":"0.0.51"}, modulepath: /home/cosmo/.config/discord/0.0.51/modules
blackbox: 2024-04-29T17:00:41.996Z 2 ✅ webContents.created web1 ""
blackbox: 2024-04-29T17:00:42.000Z 3 ✅ window.created win1 "discord"
splashScreen: SPLASH_SCREEN_READY
splashScreen.webContentsSend: SPLASH_SCREEN_QUOTE SPLASH_SCREEN_QUOTE [ 'Hold Tight — Loading Discord' ]
2024-04-29T17:00:42.098Z [Modules] No updates to install
splashScreen: no-pending-updates
2024-04-29T17:00:42.098Z [Modules] Checking for host updates.
splashScreen: checking-for-updates
splashScreen.updateSplashState checking-for-updates checking-for-updates {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'checking-for-updates' } ]
blackbox: 2024-04-29T17:00:42.153Z 4 ✅ webContents.did-finish-load web1
2024-04-29T17:00:42.426Z [Modules] Host is up to date.
2024-04-29T17:00:42.427Z [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
2024-04-29T17:00:42.458Z [Modules] No module updates available.
splashScreen: update-check-finished true 0 false
CDM completed with status (old updater): [{"id":"oimompecagnajdejgnnjijobebaeigek","status":"new","title":"Widevine Content Decryption Module","version":"4.10.2710.0"}]
splashScreen.launchMainWindow: false
Optional module ./ElectronTestRpc was not included.
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
blackbox: 2024-04-29T17:00:42.552Z 5 ✅ webContents.created web2 ""
blackbox: 2024-04-29T17:00:42.557Z 6 ✅ window.created win2 "Discord"
[WebContents] crashed (reason: crashed, exitCode: 139)... reloading
Optional module ./ElectronTestRpc was not included.
blackbox: 2024-04-29T17:00:45.150Z 7 ❌ render-process-gone { reason: 'crashed', exitCode: 139 }
blackbox: 2024-04-29T17:00:45.162Z 8 window.closed win2
blackbox: 2024-04-29T17:00:45.166Z 9 ✅ webContents.created web3 ""
blackbox: 2024-04-29T17:00:45.170Z 10 ✅ window.created win3 "Discord"
blackbox: 2024-04-29T17:00:45.174Z 11 webContents.destroyed web2
[WebContents] double crashed (reason: crashed, exitCode: 139)... RIP =(
notificationScreen.webContentsSend: win is invalid undefined.
blackbox: 2024-04-29T17:00:47.352Z 12 ❌ render-process-gone { reason: 'crashed', exitCode: 139 }
blackbox: 2024-04-29T17:00:47.359Z 13 before-quit
Supreeeme commented 5 months ago

Hmm, I can't reproduce this. Did xwayland-satellite crash? Can you get a log by running satellite with RUST_LOG=debug?

cptn-cosmo commented 5 months ago

solved by settingElectron to use wayland mode :thinking: