Built commit 90a0aed51194ad82da8e011b96f9561c685e40b7. It has been working fine until now, when it failed to start up. I use an alias to run it:
alias btcd='~/Programs/bitcoin.git/src/qt/bitcoin-qt -datadir=/home/chris/.bitcoin-prune'
When I ran it, I saw this:
chris@chris:~$ btcd
ICE default IO error handler doing an exit(), pid = 17342, errno = 32
bitcoin-qt: /usr/include/boost/signals2/detail/lwm_pthreads.hpp:60: void boost::signals2::mutex::lock():
Assertion `pthread_mutex_lock(&m_) == 0' failed.
Aborted
chris@chris:~$
The debug.log file didn’t have much in it, just the following:
2018-03-21 13:35:41 Bitcoin Core version v0.16.99.0-fbaac219d-dirty (release build)
2018-03-21 13:35:41 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-03-21 13:43:10 Assuming ancestors of block 0000000000000000005214481d2d96f898e3d5416e43359c145944a909d242e0 have valid signatures.
2018-03-21 13:43:10 Setting nMinimumChainWork=000000000000000000000000000000000000000000f91c579d57cad4bc5278cc
2018-03-21 13:43:10 Prune configured to target 600600MiB on disk for block and undo files.
2018-03-21 13:43:10 Using the 'sse4' SHA256 implementation
2018-03-21 13:43:10 Using RdRand as an additional entropy source
2018-03-21 13:43:10 Default data directory /home/chris/.bitcoin
2018-03-21 13:43:10 Using data directory `�Mj�Uris/.bitcoin-prune
2018-03-21 13:43:10 Using config file /home/chris/�8cj�Uris/.bitcoin-prune/bitcoin.conf
2018-03-21 13:43:10 Using at most 125 automatic connections (1024 file descriptors available)
2018-03-21 13:43:10 Warning: relative datadir option 'Psmj�Uris/.bitcoin-prune' specified, which will be interpreted relative to the current working directory '/home/chris'. This is fragile, because if bitcoin is started in the future from a different location, it will be unable to locate the current data files. There could also be data loss if bitcoin is started while in a temporary directory.
2018-03-21 13:43:10 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2018-03-21 13:43:10 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2018-03-21 13:43:10 Using 2 threads for script verification
2018-03-21 13:43:10 scheduler thread start
2018-03-21 13:43:10 Using wallet directory `�Mj�Uris/.bitcoin-prune
Note the corrupted datadir paths. It contains some non-ASCII characters, so I’m not sure how best to preserve them. Here’s a screenshot as rendered in GNU Emacs:
and here’s the file itself:
I was running wipe
to wipe an external hard drive at the same time, which is the only thing I can think of that was different than usual. The command I was running was sudo wipe -q -Q 1 -kD /dev/sdb
. Nothing from /dev/sdb was mounted at the time, so it shouldn’t have caused this, but I figured I should mention it.
Edit: oh, another thing that was different than usual was that I locked the laptop screen immediately after hitting return to the btcd
command. Usually I would wait and watch the UI appear.