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

Most upvoted comments

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.

wget http://de.archive.ubuntu.com/ubuntu/pool/universe/libs/libsodium/libsodium-dev_1.0.13-1_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/universe/libs/libsodium/libsodium18_1.0.13-1_amd64.deb

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:

dpkg -i libsodium*deb

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.