Atom 1.54.0 (snap) not working on Ubuntu 18.04.5

Prerequisites

Description

My atom stopped working when it upgraded to 1.54.0
The process starts but dies immediately.

Doing sudo snap revert atom --revision 265 to revert to 1.53.0 made it work again.
Doing sudo snap revert atom --revision 270 to go to 1.54.0 breaks atom.

Steps to Reproduce

  1. Upgrade atom to 1.54.0 via snap
  2. Try to run atom on the terminal. Process starts but dies right away.

Expected behavior:

I expected atom to open

Actual behavior:

Atom doesn’t open

Reproduces how often:

In my machine it happened when I upgraded to 1.54.0. It fails 100%% of the time on atom 1.54.0

Versions

apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.54.0
python 2.7.17
git 2.17.1

snap 2.48.2
snapd 2.48.2
series 16
ubuntu 18.04
kernel 5.4.0-60-generic

Additional Info

This is what shows up on /var/log/syslog:

Ubuntu kernel: [17722.344415] atom[28621]: segfault at 1 ip 00007f113cf3e7b8 sp 00007ffdd98dcc18 error 6 in libc-2.31.so[7f113cdd5000+178000]
Ubuntu kernel: [17722.344420] Code: fe 7f 6c 17 c0 c5 fe 7f 74 17 a0 c5 fe 7f 7c 17 80 c5 f8 77 c3 c5 fe 6f 06 c5 fe 6f 4e 20 c5 fe 6f 54 16 e0 c5 fe 6f 5c 16 c0 <c5> fe 7f 07 c5 fe 7f 4f 20 c5 fe 7f 54 17 e0 c5 fe 7f 5c 17 c0 c5

Output of locate libc-2.31.so:

$ locate libc-2.31.so
/snap/atom/270/lib/x86_64-linux-gnu/libc-2.31.so
/snap/core20/904/usr/lib/i386-linux-gnu/libc-2.31.so
/snap/core20/904/usr/lib/x86_64-linux-gnu/libc-2.31.so

1 possible answer(s) on “Atom 1.54.0 (snap) not working on Ubuntu 18.04.5