You are not logged in.

#1 2021-06-24 02:21:53

X04D
Member
Registered: 2008-01-20
Posts: 22

[Wayland] Every Electron app fails to start/crashes

Sorry for what will be a complete lack of useful information, but I'm at a loss.

I've been using Discord without issues for several months. I must have updated or uninstalled something, because now Discord won't open at all. I get this output when I try to run it:

Discord 0.0.15 The futex facility returned an unexpected error code.
    Failed to get crash dump id.
    Report Id: 9923ab45-703f-4b
    fish: Job 1, 'discord' terminated by signal SIGABRT (Abort)

It doesn't matter which discord I use, they all crash with the I've tried:

  • discord

  • discord-canary

  • discord_arch_electron

Out of curiosity I installed another electron app, Atom, and it crashes with a similar error:

/usr/bin/atom: line 86: 22994 Aborted (core dumped) nohup
    "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" >
    "$ATOM_HOME/nohup.out" 2>&1
    The futex facility returned an unexpected error code.

I've uninstalled everything related to electron, I've cleared my pacman and paru caches, I've rebooted several times, and I still have the same problem.

I can't find any other recent examples of people having similar issues, so I don't really know what to try next.

Any help would be appreciated.

UPDATE: I make a little progress with:

discord --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-memory-buffer-video-frames --enable-gpu20:33:02
Discord 0.0.15
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/whiskeyjack/.config/discord/0.0.15/modules
[Modules] Module installed file path: /home/whiskeyjack/.config/discord/0.0.15/modules/installed.json
[Modules] Module download path: /home/whiskeyjack/.config/discord/0.0.15/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.

Failed to get crash dump id.
Report Id: 640d0a69-da43-42
[WebContents] crashed... reloading

Failed to get crash dump id.
Report Id: 3bd30a2d-8874-44
[WebContents] double crashed... RIP =(

It runs, shows the splash screen, then crashes again.

Last edited by X04D (2021-06-24 02:37:35)

Offline

#2 2021-06-25 17:12:59

Durden
Member
Registered: 2011-06-19
Posts: 261

Re: [Wayland] Every Electron app fails to start/crashes

Not sure this helps but my understanding is Discord may be using an old version of Electron:
https://www.reddit.com/r/linux/comments … land_soon/

Offline

Board footer

Powered by FluxBB