What follows is a report of unexplained crashes of the new Bitcoin Core 0.15. The available information may not be enough to identify the cause but perhaps other users can recognize identical behavior and use this ticket to acknowledge.
In case the kind dev team wants to investigate the issue further, I will cooperate fully. Thanks for your time to whoever reads this.
Describe the issue
I run a Bitcoin Core node 0.14.2 node under Ubuntu 17.04. I decided to upgrade to the new 0.15 version as soon as it became possible to do so via apt upgrade.
It is important to note that the node was fully synced and running fine before the update. It is an old piece of hardware with a brand new HDD added, and a fresh copy of the Ubuntu OS installed & configured just for the purpose of running Bitcoin Core.
The first time I launched bitcoin-qt 0.15, it said a DB upgrade is necessary. Shortly afterwards it reported that the database was corrupt and the local copy of the blockchain needed to be rebuilt (I quote from memory, sadly I did not write down the exact message).
The program then proceeded to process the blocks on disk. Since I am running the node on underpowered hardware (full specs below) this is a slow process: 60+ hours and counting; approx. 75% done.
During this update/resync process, the bitcoin software has crashed at least 4 times so far without any apparent error message.
debug.log contents (attached below) look normal: long sets of UpdateTip: new best= messages for all processed blocks interspersed with service messages like Pre-allocating up to position xxxx in xxxx.dat and handshakes with other nodes.
Can you reliably reproduce the issue?
Sadly, no. Crashes may happen after more than 24 hours of work or as little as 12 hours after restarting the process.
The NUC is dedicated to this task only; it operates on its own and I only keep a remote shell open that runs a tail -f debug.log that I look at a couple of times a day.
bitcoin.conf contents:
onlynet=ipv4
server=1
rpcbind=127.0.0.1
rcpbind=10.9.9.46 // This is my inhouse VPN
rpcport=8332
rpcuser=[redacted]
rpcpassword=[redacted]
Besides the above configuration, I have increased the size of the database cache from the default value to 1024MB, using the bitcoin-qt settings panel. Memory usage is stable at 2GB out of 3.7GB usable, and looking for out of memory crashes using grep "Killed process" /var/log/syslog yields no results.
What version of bitcoin-core are you using?
I am using the package available from the ppa:bitcoin/bitcoin repository
Version string is v0.15.0.0-g3751912e8e
Machine specs:
- OS: Ubuntu 17.04 (4.10.0-33-generic Ubuntu SMP Fri Aug 11 10:55:28 UTC 2017 x86_64 GNU/Linux)
- CPU: Intel Celeron N2820
- RAM: 4GB (3.7GB available)
- SWAP: 8GB
- Disk size: 1.0TB (850 GB available)
- Disk Type: HDD
Any extra information that might be useful in the debugging process.
The contents of debug.log are provided as follows:
- The startup part following a crash is attached as plaintext file. debug.log.txt
- The full log (10.8MB uncompressed) is attached as zip file. debug.log.zip
db.log is empty. I know of no other logs related to this software, but will post any info upon request.