question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Comments:27 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DimitarNestorovcommented, Jul 20, 2018

I just tried building electron-quick-start with your snap configuration and it worked image

You should check out your runtime code for something similar to my issue.

0reactions
kspearrincommented, Jul 26, 2018

@dimitarnestorov Thanks. Fixed with https://github.com/bitwarden/desktop/commit/fea8ab5921cc7b7f8a6a0f8d37f7ae13b64fede3 for now. Closing since this is an electron bug.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found