-
Notifications
You must be signed in to change notification settings - Fork 36.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LevelDB read failure: Corruption: block checksum mismatch always happens at 250Mb cache threshold #12628
Comments
Can you run with To actually proceed with syncing you'll need to run with |
Hi @eklitzke and thanks for your interest in solving my issue. Apologies for the delay, I saved the entire folder containing the files producing this error so I could get back to it at a later stage but in the meanwhile I synced from scratch importing the private keys to a new wallet that is now running fine. I have now forced the client to use this corrupt data directory because I hope that my experience will help solving the issue that could occur to others. I have therefore run the client as you suggested with -debug=leveldb and here are the error messages obtained this time: db.log that is referenced to is totally blank, no information at all. I can see that it makes a reference to .dat files, please let me know which one you would like to analyze and I will happily upload it for you. Many thanks |
I have some notes in #12690 about LeveLDB corruption, but this seems to be a separate issue. The error message "block checksum mismatch" implies that LevelDB handed out data with checksum X to the kernel, but then later read that data back with checksum Y. That could be bad hardware, a bad filesystem, or anywhere in-between. But I don't think it's a bug in Bitcoin (or LevelDB). |
If such things (levelDB issues) can happen on machines not overheating, not having faulty disks or faulty RAM, then why isn't bitcoind more resilient? Another charged particle can ruin your day... |
Dear friends,
I am experiencing a quite weird issue when performing the initial sync with Bitcoin Core wallet 0.16.0 on my iMac.
The wallet always crashes at a specific point, exactly 250 Mb cache.
I have tried to increase the cache setting to the double of what is the default value, to 900 Mb to no avail.
debug.log shows that it ALWAYS gets stuck at exactly the same point, with the wallet showing the "Error reading from the database, shutting down" pop up.
Launching the wallet again syncs for a little while more until it gets stuck again at exactly the same point again.
Debug.log shows the following as the cause when crashing:
These are the specs of my iMac: late 2012, i7 3.4 Ghz processor (quad core 8 threads) 32Gb RAM.
Thank you so much for your help, much appreciated.
The text was updated successfully, but these errors were encountered: