BitcoinUnlimited: main.cpp:4857: void ProcessGetData(CNode*, const Consensus::Params&): Assertion `!"cannot load block from disk"' failed.
I can trigger my node to crash by running a new node and force it to -connect only to my full node. The full node then crashes with this error in the console:
bitcoin-qt: main.cpp:4857: void ProcessGetData(CNode*, const Consensus::Params&): Assertion `!“cannot load block from disk”’ failed.
the debug.log has this: ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large at CBlockDiskPos(nFile=27, nPos=64059636)
t could be a hardware error on my end (don’t hope so), but I don’t experience other strange crashes or similar.
As said, it is fairly reproducible, if you need additional info.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
PIVX shared the same code as BU and they fix an issue like this one with this PR https://github.com/PIVX-Project/PIVX/pull/88
They were able to reproduce the blockchain data corruption repeatedly killing (-9) the main process.
Wonder if we could use such changes to avoid this kind of corruptions also in BU