ln: failed to create symbolic link '/home/marco/snap/mailspring/499/.config/gtk-2.0/gtkfilechooser.ini': File exists
[150393:0412/184118.164341: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 /snap/mailspring/499/usr/share/mailspring/chrome-sandbox is owned by root and has mode 4755.
[1] 150393 trace trap (core dumped) mailspring
Not sure that was the main failure though, I think the missing SUID is the problem.
Tested with latest revision (500) and still same problem:
ln: failed to create symbolic link '/home/marco/snap/mailspring/500/.config/gtk-2.0/gtkfilechooser.ini': File exists
[282851:0413/183958.465485: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 /snap/mailspring/500/usr/share/mailspring/chrome-sandbox is owned by root and has mode 4755.
[1] 282851 trace trap (core dumped) mailspring
Removing the file so that the symlink is created will remove the ln issue, but the crash stays. Which confirms my suspect.
You’ve to handle it properly in the electron launcher (not sure if disabling the sandbox is fine here, as at the end the snap is already sandboxed), but see more at Search results for 'setuid_sandbox_host' - snapcraft.io
Hey - great! I was just looking in to how to fix that SUID issue - it seems like our upgrade from Electron 4 to Electron 8 caused sandboxing to become the default, and we need to disable it because Snaps provide their own sandboxing mechanism. I pushed one more build that should fix it now (501).