afrog icon indicating copy to clipboard operation
afrog copied to clipboard

nohup $atom_path etc...etc..

Open Reaper176 opened this issue 2 years ago • 5 comments

Prerequisites

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: 

Reaper176 avatar Mar 22 '22 00:03 Reaper176

Is atom just having a problem with my theme?

Reaper176 avatar Mar 22 '22 00:03 Reaper176

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

Reaper176 avatar Mar 22 '22 00:03 Reaper176

maybe uninstall one of your themes. you can try opening atom in safe mode

icecream17 avatar Mar 23 '22 14:03 icecream17

have you tried running atom in safe mode? atom --safe ?

darangi avatar Mar 23 '22 14:03 darangi

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)

rlafuente avatar Sep 07 '22 14:09 rlafuente