Expected behavior
I had an issue doing an IBD using this command: bitcoind -server -txindex=1 -par=15 -dbcache=16384
Actual behavior
It goes for a bit, but then when it gets to this block, it fails.
02023-01-28T00:10:20Z UpdateTip: new best=000000000000000661ca32dcfffcfbb4a290c86ccdef4e5444a6bbc45d367ade height=269433 version=0x00000002 log2_work=73.842515 tx=26980926 date='2013-11-13T15:58:39Z' progress=0.033783 cache=1038.3MiB(7715007txo)
12023-01-28T00:10:20Z *** Corrupt block found indicating potential hardware failure; shutting down
22023-01-28T00:10:20Z Error: A fatal internal error occurred, see debug.log for details
3Error: A fatal internal error occurred, see debug.log for details
42023-01-28T00:10:20Z ERROR: ConnectTip: ConnectBlock 0000000000000000f2fae0af54fde656fb542eb80728d941ef4f92ba08c5da16 failed, bad-txnmrklroot, hashMerkleRoot mismatch
52023-01-28T00:10:20Z tor: Thread interrupt
62023-01-28T00:10:20Z Shutdown: In progress...
72023-01-28T00:10:20Z torcontrol thread exit
82023-01-28T00:10:20Z Loaded 0 blocks from external file in 360619ms
92023-01-28T00:10:20Z Shutdown requested. Exit ThreadImport
102023-01-28T00:10:20Z loadblk thread exit
112023-01-28T00:10:20Z addcon thread exit
122023-01-28T00:10:21Z net thread exit
132023-01-28T00:10:21Z txindex thread exit
142023-01-28T00:10:21Z msghand thread exit
152023-01-28T00:10:25Z opencon thread exit
162023-01-28T00:10:25Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat started
172023-01-28T00:10:25Z DumpAnchors: Flush 2 outbound block-relay-only peer addresses to anchors.dat completed (0.00s)
182023-01-28T00:10:25Z scheduler thread exit
192023-01-28T00:10:33Z Shutdown: done
After trying to start bitcoind again, I get this error:
02023-01-28T00:11:47Z *** Corrupt block found indicating potential hardware failure; shutting down
12023-01-28T00:11:47Z Error: A fatal internal error occurred, see debug.log for details
2Error: A fatal internal error occurred, see debug.log for details
32023-01-28T00:11:47Z ERROR: ConnectTip: ConnectBlock 0000000000000000f2fae0af54fde656fb542eb80728d941ef4f92ba08c5da16 failed, bad-txnmrklroot, hashMerkleRoot mismatch
To reproduce
I can reliably reproduce this, it’s just on IBD on mainnet.
System information
Bitcoin Core version v24.0.1 (release build)
Garuda Linux, Ryzen 5950, 128GB DDR4, Sabrent 4TB PCIe 4 NVMe