afrog icon indicating copy to clipboard operation
afrog copied to clipboard

Atom and atom-nightly crashing on Fedora 35

Open sambo57u opened this issue 3 years ago • 7 comments

Prerequisites

Description

Atom core dumps at start

Steps to Reproduce

  1. try to start atom from desktop icon or termial directly
  2. n/a
  3. n/a

Expected behavior:

atom to start

Actual behavior:

core dumps

Reproduces how often:

every time

Versions

Atom : 1.61.0-nightly1 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1

Fedora 35 with daily updates

Additional Information

SAME ERROR WITH ATOM RELEASE VERSION AND NIGHT:Y

$ /usr/bin/atom-nightly: line 195: 11050 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1 [11050:1213/150145.299022:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye. (node:11103) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom-nightly/resources/app.asar.unpacked/node_modules/superstring/build/Release/superstring.node'. This is deprecated, see https://github.com/electron/electron/issues/18397. (node:11103) Electron: Loading non-context-aware native module in renderer: '/usr/share/atom-nightly/resources/app.asar.unpacked/node_modules/pathwatcher/build/Release/pathwatcher.node'. This is deprecated, see https://github.com/electron/electron/issues/18397. --2021-12-13 15:01:45-- https://atom.io/crash_reports Resolving atom.io (atom.io)... 18.205.222.128, 54.237.133.81, 54.161.241.46, ... Connecting to atom.io (atom.io)|18.205.222.128|:443... connected. HTTP request sent, awaiting response... 204 No Content 2021-12-13 15:01:46 (0.00 B/s) - ‘/dev/fd/4’ saved [0]

Unexpected crash report id length Failed to get crash dump id. Report Id: --2021-12-13 15:01:46-- https://atom.io/crash_reports Resolving atom.io (atom.io)... 18.205.222.128, 52.202.168.65, 54.237.133.81, ... Connecting to atom.io (atom.io)|18.205.222.128|:443... connected. HTTP request sent, awaiting response... 204 No Content 2021-12-13 15:01:46 (0.00 B/s) - ‘/dev/fd/4’ saved [0]

sambo57u avatar Dec 13 '21 21:12 sambo57u

I just realized that it is not core dumping on my Lenovo laptop with intel HD graphics with the identical packages Fedora 35 installed! Other machines have Nvidia cards.

sambo57u avatar Dec 13 '21 22:12 sambo57u

I think this might be a duplicate of #23167 Somehow this issue #22872 also says 204 No content but it's in a different os

icecream17 avatar Dec 14 '21 16:12 icecream17

I think this might be a duplicate of #23167

It definitely is, they're the exact same GPU-based crash.

Somehow this issue #22872 also says 204 No content but it's in a different os

That's harder to say, as they didn't provide the complete output from the crash (I don't think.) The actual error message we're getting on Fedora would have been output right above the first line they quoted in their report. So there's no way to know (unless they provide more details) whether the user omitted the useful line, or if it wasn't there because their crash was caused by something else.

ferdnyc avatar Jan 01 '22 01:01 ferdnyc

FWIW, this is affecting both Sublime Merge and Atom, for me. (So, obviously I'm getting a ton of coding done lately. :roll_eyes: ) The only difference is, while Sublime Merge merely pops up an annoying dialog box every time I start it, but still runs, Atom is crashing on startup and is therefore completely unusable.

(ETA:) This issue may unfortunately be the final nail in the coffin, for my Atom usage.

I'd already been feeling like its usefulness was starting to fall off (it seems to be hemorrhaging users, most plugins haven't been updated since 2017-2018, a lot of them are starting to come apart at the seams, issues like the Find/Replace panel's crazy behavior when the streams get crossed between find-in-selection and find-all are starting to feel like they're never going to get addressed, etc...), but if I can't even run it then that makes that choice easy.

And really, any editor where I can set up the same Ctrl+[ and Ctrl+] bindings to outdent/indent the selection (because yes, I do write a lot of Python) can work for me.

ferdnyc avatar Jan 01 '22 01:01 ferdnyc

Using atom --no-sandbox as mentioned in #23167 caused Atom to no longer crash for me. Actually, booting Atom with that flag once and clicking around seems to have fixed the issue permanently, I can now launch Atom without specifying the --no-sandbox flag.

J3RN avatar Jan 05 '22 19:01 J3RN

I have been doing that with Discord and GitKraken, but doesn't work for Atom, even with --safe and my own ATOM_HOME too.. https://github.com/atom/atom/issues/23167#issuecomment-999113262

Pysis868 avatar Jan 13 '22 21:01 Pysis868

Workaround: atom --no-sandbox

Be advised: using --no-sandbox disables the electron sandbox, and could leave you vulnerable to attacks when installing outdated/unverified packages.

https://github.com/electron/electron/issues/15760

Read more above to find info about the electron sandbox.


https://github.com/atom/atom/issues/23036#issuecomment-1139239233

This is a duplicate of #23036 and the issue should be closed. Please follow the link above for more information on this issue.

ghost avatar May 27 '22 03:05 ghost