FS#76314 - [discord-canary] posix_spawn: No such file or directory

Attached to Project: Community Packages
Opened by Adrian (Zetabite) - Thursday, 27 October 2022, 14:16 GMT
Last edited by T.J. Townsend (blakkheim) - Monday, 31 October 2022, 02:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To T.J. Townsend (blakkheim)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Discord no longer starts and if run in console presents with this error: [2900:1027/161129.350870:FATAL:fork_and_spawn.cc(196)] posix_spawn: No such file or directory (2)

Issue is critical, because there is no other way of running discord-canary. 0.0.140 no longer works, as it forces you to update discord canary.

System info:
* Arch Testing
* Kernel 6.0.5

Additional info:
* package version: discord-canary 0.0.141-1

Steps to reproduce:
1. Install discord 0.0.141
2. Run
3. Observe the error
4. Discord doesn't run
This task depends upon

Closed by  T.J. Townsend (blakkheim)
Monday, 31 October 2022, 02:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  initial problem was fixed. discord-canary dropped to AUR now.
Comment by Adrian (Zetabite) - Thursday, 27 October 2022, 14:20 GMT
Whoops, forgot to put [discord-canary] in the header, sorry, if someone could change that?
Comment by G (CrazyRocketGuy) - Thursday, 27 October 2022, 19:17 GMT
Reproduced on Kernel 5.15.0. Seems to also affect other distros; my ubuntu box has the same error when installing the latest deb. Something may be screwed up on Discord's end.
Comment by Blake (Brod8362) - Thursday, 27 October 2022, 19:44 GMT
Can reproduce on 6.0.2.
Comment by T.J. Townsend (blakkheim) - Thursday, 27 October 2022, 21:43 GMT
"Alpha - Commonly called Canary on Desktop and on Android it’s called Alpha. This is the most unstable version of Discord, with lots of updates. Bugs usually happen here so use this client at your own risk." https://support.discord.com/hc/en-us/articles/360035675191-Discord-Testing-Clients

This sounds like an upstream bug...
Comment by Angelo (AngeloOnArchBTW) - Thursday, 27 October 2022, 22:34 GMT
Upstream bug. Temporary work around for the crash reporter bug: launch Discord using `ELECTRON_ENABLE_STACK_DUMPING=true`.
Comment by T.J. Townsend (blakkheim) - Friday, 28 October 2022, 00:32 GMT
Pushing 0.0.142 to the repos now. Let me know if that fixed it.
Comment by Blake (Brod8362) - Friday, 28 October 2022, 00:46 GMT
New error for me -
Error: Cannot find module 'discord_desktop_core'
Require stack:
(long stack trace omitted)

Looks like it might be another upstream issue at first glance.
Comment by Angelo (AngeloOnArchBTW) - Friday, 28 October 2022, 19:40 GMT
Can't repro, 0.0.142 fixes the crash reporter bug for me.

> Error: Cannot find module 'discord_desktop_core'
That error sounds like a Javascript / Electron error for me. Try reinstalling the package(?)
Comment by T.J. Townsend (blakkheim) - Friday, 28 October 2022, 19:56 GMT
There's really not much we can do to fix a problem in an alpha version of a closed-source binary that requires you to run the latest version of it at all times.

OP or anyone else affected may want to try submitting the details here: https://support.discord.com/hc/en-us/requests/new?ticket_form_id=360006586013

Loading...