Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Atom v1.47.0 immediately crashes on Linux #20756

@descear

Description

@descear

Thanks for reaching out!

Prerequisites

Description

Thanks for reaching out!

  • Debian amd64 GNU/Linux 10 (buster)
  • GNOME 3.30.2
  • Atom installed from Atom's official package repository using APT

One can use debian-live-10.4.0-amd64-gnome.iso to reproduce this bug.

Possibly related: #20289

$ strace -f atom --version 2>& 1 | grep +++
[pid  5410] +++ exited with 0 +++
[pid  5412] +++ exited with 0 +++
[pid  5411] +++ exited with 0 +++
[pid  5413] +++ exited with 0 +++
[pid  5414] +++ exited with 0 +++
[pid  5415] +++ exited with 0 +++
[pid  5417] +++ exited with 0 +++
[pid  5416] +++ exited with 0 +++
[pid  5418] +++ exited with 0 +++
[pid  5420] +++ killed by SIGTRAP +++
[pid  5419] +++ killed by SIGTRAP +++
+++ exited with 133 +++
$ atom
/usr/bin/atom: line 190:  5558 Trace/breakpoint trap   nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1
[5558:0519/193533.492727:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/share/atom/chrome-sandbox is owned by root and has mode 4755.
$ stat /usr/share/atom/chrome-sandbox
  File: /usr/share/atom/chrome-sandbox
  Size: 5185424   	Blocks: 10128      IO Block: 4096   regular file
Device: 17h/23d	Inode: 137009      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-05-19 19:03:47.000000000 +0000
Modify: 2020-05-18 19:58:57.000000000 +0000
Change: 2020-05-19 19:03:57.648004641 +0000
 Birth: -
$ dpkg -c atom_1.47.0_amd64.deb | grep chrome-sandbox
-rwxr-xr-x root/root   5185424 2020-05-18 19:58 ./usr/share/atom/chrome-sandbox

Thanks for reaching out!

Steps to Reproduce

  1. Run Atom.

Expected behavior:

Atom should run.

Actual behavior:

It does not.

Reproduces how often:

100%.

Versions

$ apt show atom
Package: atom
Version: 1.47.0
Priority: optional
Section: devel
Maintainer: GitHub <atom@github.com>
Installed-Size: 627 MB
Depends: git, libgconf-2-4 (>= 3.2.5) | libgconf2-4, libgtk-3-0 (>= 3.9.10), libgcrypt11 | libgcrypt20, libnotify4, libxtst6, libnss3 (>= 2:3.22), python | python2, gvfs-bin, xdg-utils, libx11-xcb1, libxss1, libasound2 (>= 1.0.16), libxkbfile1, libcurl3 | libcurl4, policykit-1 Thanks for reaching out!
Recommends: lsb-release
Suggests: libsecret-1-0, gir1.2-gnomekeyring-1.0
Download-Size: 124 MB
APT-Manual-Installed: yes
APT-Sources: https://packagecloud.io/AtomEditor/atom/any any/main amd64 Packages
Description: A hackable text editor for the 21st Century.
 Atom is a free and open source text editor that is modern, approachable, and hackable to the core.
$ apm --version
apm  2.4.5
npm  6.2.0
node 10.2.1 x64
atom 1.47.0
python 2.7.16
git 2.20.1

After manually fixing the file's permissions:

$ atom --version
Atom    : 1.47.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0

Additional Information

Thanks for reaching out!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions