BTCGPU: Core Dump error
On Ubuntu 16.04 after configure make seems to make the daemon fine.
Once you go to execute the daemon the following issues occurs.
bgoldd: crypto/common.h:138: int init_and_check_sodium(): Assertion `crypto_sign_verify_detached(sig, message, sizeof(message), pk) != 0’ failed. Aborted (core dumped)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 48 (22 by maintainers)
Commits related to this issue
- update to release 1.0.15 updatae to new relase needed because compiler crashed on ubuntu 14.04 & 16.04 with older versions installed. solves #43 see also #53 — committed to jagottsicher/BTCGPU by jagottsicher 7 years ago
- update source for libsodium to 1.0.15 compiling fails with older version than 1.0.13 and libsodium needs # to be compiled from the scratch for ubuntu 14.04 and 16.04 solves #43 see also #53 — committed to jagottsicher/BTCGPU by jagottsicher 7 years ago
Workaround for Ubuntu 16.04 Xenial Users
Download deb files from https://packages.ubuntu.com/artful/libsodium-dev and https://packages.ubuntu.com/artful/libsodium18 for your architecture, e.g.
This gives you libsodium 1.0.13 from Ubuntu 17.10 (Artful) which can be installed on 16.04 without problems since it only has a dependency on libc6:
Now compile BTCGPU. No assertion anymore when starting
bgoldd.for now only by using the “depends” folder results in a not segfaulting binary for me. There are to many variables on different linuxes that can result in crashing bins. I suggest to make the depends to the defaults for compiling. Anyway: this client is the only one, compared with many altoins, that brings so much troubles by using different lib-versions for compiling. I suggest, to make it generally working with minimal extra needs for ubuntu 14.04 and 16.04, because this versions are mostly used by the miners and servers at the moment.