FS#73957 - [atom] Crashes with Illegal instruction, even in --safe
Attached to Project:
Community Packages
Opened by Octavia Togami (octylFractal) - Friday, 25 February 2022, 19:27 GMT
Last edited by Caleb Maclennan (alerque) - Thursday, 07 April 2022, 14:15 GMT
Opened by Octavia Togami (octylFractal) - Friday, 25 February 2022, 19:27 GMT
Last edited by Caleb Maclennan (alerque) - Thursday, 07 April 2022, 14:15 GMT
|
Details
Description: Atom crashes upon launch, even if launched with
--safe.
Additional info: * local/atom 1.58.0-1 * uname -a: Linux Draconnet 5.16.11-zen1-1-zen #1 ZEN SMP PREEMPT Thu, 24 Feb 2022 02:18:22 +0000 x86_64 GNU/Linux * log from terminal: https://gist.github.com/octylFractal/91ae953d6a6f3fe757277c31ae495aed * I couldn't find any upstream bug info. Steps to reproduce: 1. Run `atom --safe .` 2. Wait until it crashes, takes about 10 seconds. I could reproduce this on two of my Arch Linux computers. Unsure if it's a distro issue or not. |
This task depends upon
Closed by Caleb Maclennan (alerque)
Thursday, 07 April 2022, 14:15 GMT
Reason for closing: Fixed
Additional comments about closing: atom-1.61.0beta0-1
Thursday, 07 April 2022, 14:15 GMT
Reason for closing: Fixed
Additional comments about closing: atom-1.61.0beta0-1
I've attached a log showing the errors that get printed to console during the crash.
See relevant forum post https://bbs.archlinux.org/viewtopic.php?pid=2025510#p2025510.
[1] https://lists.archlinux.org/pipermail/arch-dev-public/2022-March/030761.html
PKGBUILD.electron11.diff (20.6 KiB)
PKGBUILD.apm.diff (9.7 KiB)
_electron_version was being set before electron11 was installed so I moved that to prepare and duplicated it in build.
I kept package-lock.json as the build worked with it and would then be reproducible.
I moved apm install back into build as it is building native modules and Arch's build flags are not set in prepare. Something disliked fexceptions so remove that from CXXFLAGS.
GYP_DEFINES="openssl_fips=" until config.gpyi is fixed for https://github.com/nodejs/node-gyp/pull/2497 or you find where to add --force-process-config
Edit:
It is https://github.com/atom/watcher that breaks with fexceptions src/worker/linux/cookie_jar.h
Cookie(ChannelID channel_id, std::string &&from_path, EntryKind kind);
missing noexcept while the implementation has noexcept.