Snap crashes with Segmentation fault (core dumped)
See original GitHub issue- 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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (8 by maintainers)
Top Results From Across the Web
Snap-store Segmentation fault in Wayland session
I suspect there is something new in gnome-software/snap-store that is using clutter, which is known to have issues in wayland. Can you try...
Read more >Segmentation Fault (core dumped) error during mt_prep_snap
I am using SNAP (Windows 10), UBUNTU 16.04, Python 2.7. I have followed the snap2stamps workflow, with successful export to StaMPS format ...
Read more >Resolving Segmentation Fault (“Core dumped”) in Ubuntu - Blog
Segmentation fault is when your system tries to access a page of memory that doesn't exist. Core dumped means when a part of...
Read more >Segmentation fault in Ubuntu 20.04 Daily, in Wayland session
I logged on using the Ubuntu Wayland environment (somehow "Ubuntu" would crash and not log me in). I was prompted in Software to...
Read more >T98708 Blender 3.2.0 crashes on start on Ubuntu 22.04
... out float gl_FragDepth; | ^ | Error: unrecognized layout identifier `depth_any' Writing: /tmp/blender.crash.txt Segmentation fault (core dumped).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tried building electron-quick-start with your snap configuration and it worked![image](https://user-images.githubusercontent.com/8790386/43015893-90b68fe0-8c59-11e8-9b83-2933621fc347.png)
You should check out your runtime code for something similar to my issue.
@dimitarnestorov Thanks. Fixed with https://github.com/bitwarden/desktop/commit/fea8ab5921cc7b7f8a6a0f8d37f7ae13b64fede3 for now. Closing since this is an electron bug.