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
bitcoinarmory segfaults in nixos-unstable #29956
Comments
Also, upstream made 2 releases since, one with a critical vuln. |
I'm getting the same on 0.96.3, but will look some more. What specifically is the vulnerability, out of curiosity?
|
The upstream build process in still quite messy, with embedded libraries concretely integrated into build files. I've got a modified nix expression that replaces some of the deps with libs in the store, but with both variants I still get either a SegFault in ArmoryDB or a SIGILL in _CppBlockUtils.so. I don't know if I can invest much more time in fixing this. I suspect the issues originate upstream, FWIW. Personally, I'm running a gcrooted-closure that I've kept unchanged for some months now. |
I’m not sure, 0.96.3 works fine with The vulnerability was related to fragmented backups. Well, I guess I’ll just stay with Bitcoin Core. I just wanted to try this one. ¯\_(ツ)_/¯ |
Oh, interesting. This isn't the first time I've seen a newer glibc cause segfaults and other nastiness, but I lack the skill to fix these types of problems efficiently. Armory's great for the offline wallet stuff, but the original devs left the source tree in a poor state. I'll eventually get it working on the master branch again, probably. |
I don’t get that, really. Is everything compiled from source in this derivation? Does upstream include binary blobs in the repo? :\ |
Both that SIGSEGV at the very beginning, and |
Even less so, to remove a *sighs* |
It's building the lib deps from source. fcgi is a git-submodule and the
rest are checked into the repo. I've already begun to try to excise them
during the patch phase:
elitak@ff1c2a9
This still yields the same problems, however, along with some new ones
(fcgi version mismatch, i think), but it's on the path to getting a cleanly
linked binary. I welcome any amendments to get this working reliably and
linked properly.
|
Let me try that, but that upstream repo is a total mess. |
⬆️ fixed above. |
The project has been abandoned upstream for 2 years. For its entire lifetime in nixpkgs, the installed binaries segfault due to static library linking that couldn't be undone due to proprietary changes to said libraries. In addition, there are unpatched CVEs according to #29956. Fixes #29956. Signed-off-by: David Anderson <dave@natulte.net>
The project has been abandoned upstream for 2 years. For its entire lifetime in nixpkgs, the installed binaries segfault due to static library linking that couldn't be undone due to proprietary changes to said libraries. In addition, there are unpatched CVEs according to NixOS#29956. Fixes NixOS#29956. Signed-off-by: David Anderson <dave@natulte.net> (cherry picked from commit af576fc)
Issue description
@elitak
After installing
bitcoinarmory
, this happens:Steps to reproduce
bitcoinarmory
fromnixos-unstable
— c8e7aab.ArmoryDB --version
.Technical details
The text was updated successfully, but these errors were encountered: