-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Signal 1.15.0 do not start in ArchLinux with Segmentation Fault (core dumped) #2610
Comments
I have the same problem with version 1.15.1. |
Some more context around the segfault:
|
Confirmed on Ubuntu, 1.15 signal version
EDIT: Then: distro-package version runs ok, snap still fails. |
To signal users: the current Signal core dumped at start is only happening when you compile signal from source (like the signal package that's in the AUR), if you try to install the signal-desktop-bin package that's the binary version compiled for Debian by OWS it works as expected (even in 1.15.0). |
@Edu4rdSHL Not true. I'm using |
Ok, I'm packaging Signal on Fedora Copr and I also have this core dumped problem. Unsure if this belongs to #2610 or #2600 It also segfaults with the binary debian release on Fedora 28 amd64 |
Mmm, weird @Veluria, i can not reproduce the issue with the -bin version and i haven't idea why.
|
@Edu4rdSHL Are you using testing repos? Because I am.
|
@Veluria no, i'm not. Also, i tried to reproduce it in a Virtual Machine and i can not reproduce the issue with the -bin version, are you getting exactly the same error message? |
@Edu4rdSHL The only thing I'm seeing with the bin version is the segfault I just posted. No further error messages whatsoever. |
Note that v1.15.0 introduced an important new binary dependency required for using the app: SQLCipher. To the person packaging for Arch, it might be that you're compiling on a too-new distribution? I found that I needed to build on an older machine for maximum compatibility. |
@scottnonnenberg-signal AURs are typically compiled from source just before installation, so there is no way to build on an older distribution for Arch Linux. |
SQLCipher was missing on my system, I installed it, recompiled the AUR package, still broken :/ |
@scottnonnenberg-signal well, if signal-desktop added sqlcipher (https://www.archlinux.org/packages/community/x86_64/sqlcipher/) as a new dependency, why it is not failing when compiling? Where is signal-desktop checking for the new dependency? Also, if signal is not checking for the SQLCipher dependency we can not wait for the problem to be magically solved by installing sqlcipher (because signal is not searching for that). |
For security reasons we build OpenSSL and SQLCipher ourselves and statically link them into one final binary. If building it on your own machine isn't working, then the problem is likely our pre-built version of openssl inside of the |
@Edu4rdSHL I'd totally missed the
Is that.. a good idea? I'm not sure what it's trying to mitigate. |
I just downgrade signal to 1.14.4 |
But does these build steps...
..take that into consideration? using the forked sqlcipher. Also: why build against a binary OpenSSL? If I can trust my system's OpenSSL binary for everything else I can also trust it for the Signal Desktop app. It is more strange using a prebuilt binary than not using it! Fedora's packages (including OpenSSL) chain is fully verified and transparent. Requiring a binary when doing a fresh build is not. |
I did a few tests: ( Older versions: I think we are having multiple issues here, that happened at the same time. I also agree with @luminoso that it would be better to use the system openssl distribution on Linux, if possible. In addition i have seen that the release build |
Not a fix, but a workaround: I was able to install a working Signal 1.15.x (and Slack) via flatpak (from flathub). |
I also went the flatpak route since I am already using it for a few other apps. If anyone else decides to do this you can |
@j0ni @papertigers well, that's nice to have a workaround, but like Signal being Electron isn't bad enough (#2178) I can't imagine running it via flatpak where even more libs and bloat comes with it. I'm hoping for a fix instead (/offtopic) |
I'm hoping for an explanation from the maintainers as to why precompiled binaries are necessary to build a private messenger app from source. |
On Electron [1] project, it seems the issue is related to linker where lld seems to generate wrong relocation. Could be this same issue here? |
The AUR "signal" package got worked around with setting @journeyapps/sqlcipher dependency manually, BTW. Look for @waltzofwoe AUR user comment, referring to #2634 |
@Edu4rdSHL I don't really see it as a hack. It switches to the original sqlcipher release with dynamic linking (using the Most other Linux distributions as far as i know don't provide an easy and secure way to install openssl 1.0.2 alongside. So it might make still sense to supply the binaries there. On Arch it is usual practice to do some patching to use more system dependencies. |
Bug description
Signal don't start in ArchLinux after of v1.15.0-beta.9 update, it end with segmentation fault, as i was talking in #2600 it isn't a electron problem, it's a signal problem.
Steps to reproduce
Actual result:
Signal crash with Segmentation Fault (core dumped) message
Expected result:
Signal start correctly
Screenshots
N/A
Platform info
Signal version: Tested in 1.15.0-beta.9, 1.15.0-beta.10 and 1.15.0 (latest release)
Operating System: ArchLinux
Linked device version: Signal Android 4.24.7
Link to debug log
Here is the core dumped log of journalctl https://gist.github.com/Edu4rdSHL/d97a4c8d8df3672c6768913dba375a33
The text was updated successfully, but these errors were encountered: