You are not logged in.

#1 2022-03-04 15:58:15

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 145

[SOLVED] Atom failing to start

So, I installed Atom editor with pacman

$ sudo pacman -S atom

and after a couple of times of successful utilisation, the program failed to start:

$ atom
$ /usr/bin/atom: riga 86:   907 Istruzione non consentita (core dump creato) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[907:0304/164648.101468:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
Cannot upload crash dump: cannot exec /usr/bin/wget

Unexpected crash report id length
Failed to get crash dump id.
Report Id: 
Cannot upload crash dump: cannot exec /usr/bin/wget

I rebooted the system and Atom worked, but after that the error occured another couple of times.

Can anyone help? Thanks in advance.
Also, I'm sorry for the partly italian output, I'm sure I've set english as default, but didn't seem to affect this tipe of output even after reboot.

# nano /etc/locale.gen
# localectl set-locale LANG=en_US.UTF-8

Last edited by ordinary.schreiber (2022-03-05 09:29:01)

Offline

#2 2022-03-05 05:53:16

ishaanbhimwal
Member
Registered: 2022-01-21
Posts: 48
Website

Re: [SOLVED] Atom failing to start

Bug report https://bugs.archlinux.org/task/73957?p … tring=atom.
Github issue https://github.com/atom/atom/issues/23608.

Does it launch with "atom --no-sandbox"? If it does then you can edit "/usr/share/applications/atom.desktop" and add the "--no-sandbox" flag in the "Exec" line:

[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century
GenericName=Text Editor
Exec=env ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=false /usr/bin/atom %F --no-sandbox
Icon=atom
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;
StartupWMClass=atom

Last edited by ishaanbhimwal (2022-03-05 05:59:47)

Offline

#3 2022-03-05 09:28:43

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 145

Re: [SOLVED] Atom failing to start

Thank you, it seems that fixed It.

Offline

Board footer

Powered by FluxBB