-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap crashes with Segmentation fault (core dumped) #2981
Comments
@kspearrin Have you managed to fix it? I'm experiencing the same issue. |
@DimitarNestorov Do you build on Linux? |
@develar No (I use the template, on macOS). But I will try that now |
Ok... Please set env |
If your app has native deps and no prebuild, you can build only on Linux. |
@DimitarNestorov @develar Have not found a fix yet. We build on Ubuntu. |
Tried |
Do you have native deps? |
Yes, see the repo mentioned in the original issue: https://github.com/bitwarden/desktop |
No. |
I'm using the package |
@DimitarNestorov So, it is app specific issue? |
@develar Any reason why this was closed? My original issue still remains. I am not using the referenced sentry-electron package. |
@kspearrin "reply needed" was added to get answer from you. And now you have answered :) |
@kspearrin please check your app works as unpacked / AppImage. |
@develar Yes, it does. We are distributing it already as an AppImage under that version. |
@kspearrin have you tried useTemplateApp: false? |
@develar Yes, it made no difference. See https://github.com/bitwarden/desktop/blob/master/package.json#L178 |
@develar Is there a way for me to get more feedback about what's crashing the app here other than just "Segmentation fault (core dumped)" . It doesn't seem to be very helpful. |
@develar Updated to electron 2.0.5 and builder ^20.25.0 , but it made no difference. Same problem still. Can this be reopened please? |
@develar I've spent today trying to debug this issue more. I placed Then |
Do you mind commenting the contents of the init method of |
@DimitarNestorov It works now after commenting out the references to power monitor, which has references to desktop-idle (a native module). Thanks for the tip. @develar Any reason why
I have these installed on the local dev machine that I am building from. |
No, that is not the issue. |
@DimitarNestorov Thanks. Fixed with bitwarden/desktop@fea8ab5 for now. Closing since this is an electron bug. |
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.
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.
This issue seems related, but was said to have been fixed.
Reference app: https://github.com/bitwarden/desktop
Building AppImage works and runs fine.
The text was updated successfully, but these errors were encountered: