A lot of times, disk corruption problems appear here. To facilitate debugging and troubleshooting, add position information to the error messages.
I've tested all the error messages by injecting errors.
A lot of times, disk corruption problems appear here. To facilitate debugging and troubleshooting, add position information to the error messages.
I've tested all the error messages by injecting errors.
I'm trying to trigger this code path on the system I have that produces this error during normal operation without fault injection.
utACK
A lot of times, disk corruption problems appear here.
To facilitate debugging and troubleshooting, add position information
to the error messages.
utACK
I ran this for several days without problem on a machine that once had bitcoind die on ReadBlockFromDisk. (Alas, I couldn't reproduce the previous error even with a full reindex.)
I did not inject errors to test the code paths.
Oops forgot to mention.
I tested this on a system which had repeatable ReadBlockFromDisk issues and this worked correctly.