Cannot run Atom on Ubuntu, built from source


#1

Hello everyone!

I’m new to Atom, and I’ve attempted to build the app from source files on an ubuntu 12.04 LTS 64-bit virtual machine, but I cannot run atom:

script/build reported done without errors, script/grunt install the same (I’ve got node version 0.10.30 npm version 1.4.21 installed, in case anyone is wondering). When trying to run /usr/bin/atom I simply get no output, and when trying to run the app from the applications screen, I get an icon up with atom loading, then it goes away. trying to run atom from /tmp/atom-build/Atom gives me the following output:

[13890:0819/191533:ERROR:browser_main_loop.cc(163)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

I’ve checked out https://github.com/atom/atom/issues/3255, but nothing from there helped me; Maybe I’m doing something wrong, I tried out those workarounds, but I don’t even know for sure which atom executable to run with/without parameters.

Also, running atom.sh gives me no output, sudo or no sudo.

Trying to run the atom executable from atom-shell gives me a window titled Atom Shell, blank, with some errors printed to console:
LaunchProcess: failed to execvp:
/proc/self/exe
[14050:0819/192435:ERROR:child_process_launcher.cc(329)] Failed to launch child process
[14050:0819/192435:ERROR:raw_channel_posix.cc(139)] recvmsg: Connection reset by peer

That’s all. I’m really running out of ideas, the only thing I haven’t tried is setting up that Linux sandbox thing. Could anyone please help me out here?

Thanks!


#2

So… if you launch atom from the terminal you get literally nothing? Does it just go back to the prompt, can you type anything after that? Any atom-related processes running in the background by any chance?


#3

Are you using SELinux extensions?


#4

batjko: running /usr/local/bin/atom (NOT /usr/bin/atom, sorry for the wrong path in my original post) simply gives no output; no infinite loop, error, I can type and everything, it’s just like I never tried to run atom. ps after that doesn’t show me any processes besides bash and ps, but top outputs some ‘atom’ processes in sleeping state, and an atom process, in zombie state.

rogernordqvist: No, I’m not using SELinux extensions.


#5

I get the same thing. No errors from the shell, but nothing else either, it just halts instantly and returns me to the command line.


#6

I’m also seeing the same issue. Just built from source on Ubuntu 12.10. The installation and build both go fine, it’s the launching that’s a problem. It’s actually launching atom in the background, because I can see it in the process monitor. It’s just not bringing up a shell of any kind.


#7

Same issue for me on Ubuntu 14.04 LTS.

I have installed Atom via PPA and since the latest update it’s not working anymore. When I launch atom from the console that uses /usr/bin/atom and that causes the following behavior:

  • No output on the console, the prompt is available for new commands immediately
  • The file /tmp/atom.sock gets created
  • Several processes are in the process list (see below)
  • A file ~/.atom/nohup.out gets created with the content included below

I never get an application window or anything. What I have to do is to kill the processes manually. Before the latest update all worked just fine. I also made sure that no settings or plugins are causing the issue by remving my existing ~/.atom directory so that atom should be able to start from scratch. But no, that didn’t help either.

Content of the nohup.out file:

[8040:0826/161338:ERROR:browser_main_loop.cc(163)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSan
dboxDevelopment for more information on developing with the sandbox on.
LaunchProcess: failed to execvp:
/opt/atom/atom
LaunchProcess: failed to execvp:
/proc/self/exe
App load time: 228ms
[8040:0826/161338:ERROR:child_process_launcher.cc(329)] Failed to launch child process

The process list looks like this:

8038 pts/5    S      0:00 /bin/bash /usr/bin/atom
8040 pts/5    Sl     0:00 /opt/atom/atom --executed-from=/home/jurgenhaas --pid=8028
8052 pts/5    S      0:00 /opt/atom/atom --executed-from=/home/jurgenhaas --pid=8028 --atom-shell-switches-start --no-sandbox --atom-shell-switches-end --type=sandbox-ipc
8053 pts/5    Z      0:00 [atom] <defunct>

I’m running out of ideas what else I could try and hope that somebody in this group can help.


#8

I don’t know how everyone installed, but would those of you who used a PPA, consider building it from the source repository instead and see what happens, if you haven’t already?

Just this morning I built on Elementary OS, which is a *buntu-based distro as well, and had no issues with that.


#9

Could you try running strace on it to see if we can get any more clues?


#10

I’ve called strace -c atom and got the following output:

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
  0.00    0.000000           0        17           read
  0.00    0.000000           0         9           open
  0.00    0.000000           0        17           close
  0.00    0.000000           0         3           stat
  0.00    0.000000           0         8           fstat
  0.00    0.000000           0         5           lseek
  0.00    0.000000           0        14           mmap
  0.00    0.000000           0         8           mprotect
  0.00    0.000000           0         2           munmap
  0.00    0.000000           0        26           brk
  0.00    0.000000           0        24           rt_sigaction
  0.00    0.000000           0        51           rt_sigprocmask
  0.00    0.000000           0         4           rt_sigreturn
  0.00    0.000000           0         1         1 ioctl
  0.00    0.000000           0         5         5 access
  0.00    0.000000           0         4           pipe
  0.00    0.000000           0         1           dup2
  0.00    0.000000           0         1           getpid
  0.00    0.000000           0         5           clone
  0.00    0.000000           0         1           execve
  0.00    0.000000           0         8         4 wait4
  0.00    0.000000           0         1           uname
  0.00    0.000000           0         3         1 fcntl
  0.00    0.000000           0         2           getrlimit
  0.00    0.000000           0         1           getuid
  0.00    0.000000           0         1           getgid
  0.00    0.000000           0         1           geteuid
  0.00    0.000000           0         1           getegid
  0.00    0.000000           0         1           getppid
  0.00    0.000000           0         1           getpgrp
  0.00    0.000000           0         1           arch_prctl
  0.00    0.000000           0         1           faccessat
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                   228        11 total

Is that what you were looking for?


#11

My build was from source, following the instructions provided for building on linux. I’ve since tried to build with numerous commits, including the latest, which is 9a70fdc3d9f589d13f53fae1c44f6716661acb54


#12

So, after bisecting this issue, I’ve found the following:

3274ef9fb92766cfd998035b834ef5c562183315 is the first bad commit
commit 3274ef9fb92766cfd998035b834ef5c562183315
Author: Cheng Zhao zcbenz@gmail.com
Date: Tue Jul 29 14:27:32 2014 +0800

Upgrade to atom-shell@0.15.0

:100644 100644 3edf94dc4fc5a21edc943d426d628e34d4a709c5 e4cd0d840374a0e7e46bc86858dc1a865996dbf5 M package.json

I reported this as issue #3390 on github.com:atom/atom


#13

Looks like atom-shell v0.15.0 was the upgrade to Chromium v36:


#14

try building v0.119.0
just use

$ git checkout v0.119.0

some of the features does not work for me on v0.12x.0 releases


#15

Here is a good link on how to troubleshoot with strace:

5 Simple ways to troubleshoot using Strace

Hope this can help you to spot any problems.

@jurgenhaas
From what I can see in your strace your are doing 5 access calls and all gives you errors. Run strace without -c to figure out what is failing.

0.00 0.000000 0 5 5 access

This is how my working “strace atom” looks like on Ubuntu 14.04:

execve("/usr/bin/atom", [“atom”], [/* 101 vars */]) = 0
brk(0) = 0x22dd000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2ddc54000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=89857, …}) = 0
mmap(NULL, 89857, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc2ddc3e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\303\0\0\0\0\0\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=167096, …}) = 0
mmap(NULL, 2264288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2dd80b000
mprotect(0x7fc2dd830000, 2093056, PROT_NONE) = 0
mmap(0x7fc2dda2f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fc2dda2f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14664, …}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2dd607000
mprotect(0x7fc2dd60a000, 2093056, PROT_NONE) = 0
mmap(0x7fc2dd809000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fc2dd809000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, “\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\2\0\0\0\0\0”…, 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1845024, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2ddc3d000
mmap(NULL, 3953344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc2dd241000
mprotect(0x7fc2dd3fd000, 2093056, PROT_NONE) = 0
mmap(0x7fc2dd5fc000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bb000) = 0x7fc2dd5fc000
mmap(0x7fc2dd602000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc2dd602000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2ddc3b000
arch_prctl(ARCH_SET_FS, 0x7fc2ddc3b740) = 0
mprotect(0x7fc2dd5fc000, 16384, PROT_READ) = 0
mprotect(0x7fc2dd809000, 4096, PROT_READ) = 0
mprotect(0x7fc2dda2f000, 16384, PROT_READ) = 0
mprotect(0x6ee000, 4096, PROT_READ) = 0
mprotect(0x7fc2ddc56000, 4096, PROT_READ) = 0
munmap(0x7fc2ddc3e000, 89857) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
close(3) = 0
brk(0) = 0x22dd000
brk(0x22de000) = 0x22de000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=12774992, …}) = 0
mmap(NULL, 12774992, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc2dc612000
close(3) = 0
brk(0x22df000) = 0x22df000
brk(0x22e0000) = 0x22e0000
getuid() = 1000
getgid() = 1000
geteuid() = 1000
getegid() = 1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x22e1000) = 0x22e1000
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2ddc53000
read(3, “MemTotal: 8091140 kB\nMemF”…, 1024) = 1024
close(3) = 0
munmap(0x7fc2ddc53000, 4096) = 0
brk(0x22e2000) = 0x22e2000
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
uname({sys=“Linux”, node=“rono7329-laptop”, …}) = 0
brk(0x22e3000) = 0x22e3000
brk(0x22e4000) = 0x22e4000
brk(0x22e5000) = 0x22e5000
brk(0x22e6000) = 0x22e6000
brk(0x22e7000) = 0x22e7000
brk(0x22e8000) = 0x22e8000
brk(0x22e9000) = 0x22e9000
stat("/home/g00nz/WebstormProjects/nodetest/modules/cart", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
stat(".", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
getpid() = 14605
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26258, …}) = 0
mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7fc2ddc4d000
close(3) = 0
brk(0x22ea000) = 0x22ea000
getppid() = 14602
brk(0x22eb000) = 0x22eb000
getpgrp() = 14602
rt_sigaction(SIGCHLD, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=63043, rlim_max=63043}) = 0
brk(0x22ec000) = 0x22ec000
brk(0x22ed000) = 0x22ed000
brk(0x22ee000) = 0x22ee000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/usr/bin/atom", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff2e01ba30) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
read(3, “#!/bin/bash\n\nif [ “(uname)\" == "..., 80) = 80 lseek(3, 0, SEEK_SET) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0 fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor) dup2(3, 255) = 255 close(3) = 0 fcntl(255, F_SETFD, FD_CLOEXEC) = 0 fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat(255, {st_mode=S_IFREG|0755, st_size=2483, ...}) = 0 lseek(255, 0, SEEK_CUR) = 0 brk(0x22ef000) = 0x22ef000 brk(0x22f0000) = 0x22f0000 read(255, "#!/bin/bash\n\nif [ \"(uname)” == “…, 2483) = 2483
brk(0x22f1000) = 0x22f1000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x22f2000) = 0x22f2000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -2200, SEEK_CUR) = 283
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc2ddc3ba10) = 14606
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, 8) = 0
close(4) = 0
read(3, “Linux\n”, 128) = 6
read(3, “”, 128) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14606, si_status=0, si_utime=0, si_stime=0} —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 14606
wait4(-1, 0x7fff2e01ac98, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn() = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x22f3000) = 0x22f3000
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc2ddc3ba10) = 14607
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, 8) = 0
close(4) = 0
read(3, “Linux\n”, 128) = 6
read(3, “”, 128) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14607, si_status=0, si_utime=0, si_stime=0} —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 14607
wait4(-1, 0x7fff2e01ab98, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn() = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, “\nwhile getopts “:wtfvh-:” opt; d”…, 2483) = 2200
brk(0x22f4000) = 0x22f4000
brk(0x22f5000) = 0x22f5000
brk(0x22f6000) = 0x22f6000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -237, SEEK_CUR) = 2246
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc2ddc3ba10) = 14610
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, 8) = 0
close(4) = 0
read(3, “/usr/bin/atom\n”, 128) = 14
read(3, “”, 128) = 0
close(3) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14610, si_status=0, si_utime=0, si_stime=0} —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 14610
wait4(-1, 0x7fff2e01a518, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn() = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc2ddc3ba10) = 14611
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, {0x446240, [], SA_RESTORER|SA_RESTART, 0x7fc2dd278000}, 8) = 0
close(4) = 0
read(3, “/usr\n”, 128) = 5
read(3, “”, 128) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14611, si_status=0, si_utime=0, si_stime=0} —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 14611
wait4(-1, 0x7fff2e01a518, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn() = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {0x443620, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat(”/home/g00nz/.atom”, {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
faccessat(AT_FDCWD, “/opt/atom/atom”, X_OK) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc2ddc3ba10) = 14614
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "\n# Exits this process when Atom "…, 2483) = 237
rt_sigprocmask(SIG_BLOCK, [QUIT], [], 8) = 0
rt_sigaction(SIGQUIT, {0x459f00, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_IGN, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [TERM], [], 8) = 0
rt_sigaction(SIGTERM, {0x459f00, [], SA_RESTORER, 0x7fc2dd278000}, {SIG_DFL, [], SA_RESTORER, 0x7fc2dd278000}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, “”, 2483) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(0) = ?
+++ exited with 0 +++


#16

Thanks @rogernordqvist, my strace looks the same. The 5 access errors are about 2 missing files, 4 times /etc/ld.so.nohwcap and once /etc/ld.so.preload


#17

And you have tried removing the .atom dir in ~. Verify you dont got any junk related to atom in /tmp etc.

Try creating another linux user and log in and start atom … clean slate.


#18

Yes, I tried everything I believe. deleted ~/.atom and everything in /tmp - also tried a fresh user and also uninstalled and re-installed atom. Always the same error I’m araid.


#19

For the last couple of weeks, I was really missing Atom on my list of tools but the update to 0.126.0 which came in this morning has changed things again and Atom is working fine again :slight_smile: No idea what fixed it - but I’m really happy to have it back as it does such a great job. Thank you !!!


#20

Nice to hear! :smile: