afrog
afrog copied to clipboard
nohup $atom_path etc...etc..
Prerequisites
- [X ] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Crash on launch with error
/usr/bin/atom: line 86: 1983389 Trace/breakpoint trap (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[1983389:0321/185955.067741:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Steps to Reproduce
run atom
Expected behavior:
It would launch with no errors such as.
/usr/bin/atom: line 86: 1983389 Trace/breakpoint trap (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[1983389:0321/185955.067741:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Actual behavior: it does not launch and produces the error.
/usr/bin/atom: line 86: 1983389 Trace/breakpoint trap (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[1983389:0321/185955.067741:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Reproduces how often:
Every time.
Versions
apm 2.6.4 atom 1.58.0 os Garuda Linux aka arch. Kernel 5.16.14-zen1-1-zen python 3.10.2 npm 6.14.9
Additional Information
Have run shotgunned fixes from about 15 different 'similar' issues. Reinstalled, removed, rebooted, cleared and cleaned, installed on an entirely blank version of the same os. No joy. also of note: I am not running it as root. Running it like
sudo atom --no-sandbox
works.
also of note running in safe gives me the error.
/usr/bin/atom: line 86: 2005894 Illegal instruction (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
(electron9:2006168): Gtk-WARNING **: 19:30:28.295: Theme parsing error: gtk-dark.css:5822:26: '-shadow' is not a valid color name
(electron9:2006168): Gtk-WARNING **: 19:30:28.295: Theme parsing error: gtk-dark.css:5825:14: not a number
(electron9:2006168): Gtk-WARNING **: 19:30:28.295: Theme parsing error: gtk-dark.css:5826:13: not a number
(electron9:2006168): Gtk-WARNING **: 19:30:28.295: Theme parsing error: gtk-dark.css:5827:11: Expected a length
204 No Content
2022-03-21 19:30:27 (0.00 B/s) - ‘/dev/fd/4’ saved [0]
Unexpected crash report id length
Failed to get crash dump id.
Report Id:
Is atom just having a problem with my theme?
Have tried changing themes to several different ones including default and nothing. No idea if that is the problem, but I see the words to I might as well try right? XD
maybe uninstall one of your themes. you can try opening atom in safe mode
have you tried running atom in safe mode? atom --safe
?
For anyone else with the same issue, running atom with the --no-sandbox
flag works (workaround found here, and there's other fix suggestions in that thread)