electron-builder: Snap crashes with Segmentation fault (core dumped)
- Version: ^20.15.1
- Target: --linux --x64
We have been publishing our snap in the past without issue. We recently updated to electron 2.0.2 and builder 20.15.1 and now we get the following crash when trying to run a built snap. This seems to happen on Ubuntu 16, 17, and 18.
$ snap run myapp
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
The Gtk errors are normal. A long pause of ~15 seconds happens. Then I see the app window appear for a split second and then.
Segmentation fault (core dumped)
This issue seems related, but was said to have been fixed.
Reference app: https://github.com/bitwarden/desktop
Building AppImage works and runs fine.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (8 by maintainers)
I just tried building electron-quick-start with your snap configuration and it worked
You should check out your runtime code for something similar to my issue.