Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: 1337leet on April 21, 2016, 06:52:41 PM



Title: Core v0.12.1
Post by: 1337leet on April 21, 2016, 06:52:41 PM
Hey guys,

I had a problem with my wallet v0.11.0 - now I installed 0.12.1 but still have got fatal errors.
Here's the debug.log:

Quote
2016-04-21 18:48:06 UpdateTip: new best=0000000000000000009b7c28bf53cf357ba7accf13493a5b8154af2db0ed103b  height=407251  log2_work=84.484111  tx=122350139  date=2016-04-14 12:19:24 progress=0.995337  cache=63.9MiB(36604tx)
2016-04-21 18:48:16 Corruption: block checksum mismatch
2016-04-21 18:48:16 *** System error while flushing: Database corrupted
2016-04-21 18:48:24 ERROR: ProcessNewBlock: ActivateBestChain failed
2016-04-21 18:48:24 tor: Thread interrupt
2016-04-21 18:48:24 torcontrol thread exit
2016-04-21 18:48:24 opencon thread interrupt
2016-04-21 18:48:24 addcon thread interrupt
2016-04-21 18:48:24 scheduler thread interrupt
2016-04-21 18:48:24 net thread interrupt
2016-04-21 18:48:24 msghand thread interrupt
2016-04-21 18:48:24 Shutdown: In progress...
2016-04-21 18:48:24 StopNode()
2016-04-21 18:48:24 UPNP_DeletePortMapping() returned: 403
2016-04-21 18:48:24 upnp thread interrupt
2016-04-21 18:48:24 Corruption: block checksum mismatch
2016-04-21 18:48:24 *** System error while flushing: Database corrupted
2016-04-21 18:48:47 Shutdown: done


Anyone knows how to solve this problem?


Title: Re: Core v0.12.1
Post by: achow101 on April 21, 2016, 07:02:58 PM
It looks like you have a corrupt database. Try reindexing the database.


Title: Re: Core v0.12.1
Post by: rytyr on April 22, 2016, 09:56:45 PM
Knightdk is right. It is a disk corruption issue.

Quote
leveldb keeps its own checksums of all data it writes, when it notices during compaction that these mismatch it will return the error on the next flush.
https://github.com/bitcoin/bitcoin/issues/6528


Title: Re: Core v0.12.1
Post by: 1337leet on April 24, 2016, 04:40:48 PM
I reindexed and now it works... but I did this like 10 times in the past... I get this errors all few weeks...
I always close the wallet right... don't know why I always get those annoying problems.


Title: Re: Core v0.12.1
Post by: achow101 on April 24, 2016, 04:42:26 PM
I reindexed and now it works... but I did this like 10 times in the past... I get this errors all few weeks...
I always close the wallet right... don't know why I always get those annoying problems.
It could be your hardware. Maybe you have a bad hard drive?


Title: Re: Core v0.12.1
Post by: 1337leet on April 24, 2016, 04:44:49 PM
The wallet and all it's parts (also the blockchain) are stored on an external HDD. Usually it works.. but sometimes it doesn't.