Bitcoin Forum
November 23, 2017, 08:51:51 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin-QT Failed to read block error  (Read 2061 times)
ubettercall
Jr. Member
*
Offline Offline

Activity: 53


View Profile
April 10, 2013, 12:19:06 AM
 #1

I downloaded bitcoin qt and everytime I try to load it says failed to read block. I have tryed uninstalling and reinstalling always get same error. Any help would be much appreciated.
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511470311
Hero Member
*
Offline Offline

Posts: 1511470311

View Profile Personal Message (Offline)

Ignore
1511470311
Reply with quote  #2

1511470311
Report to moderator
1511470311
Hero Member
*
Offline Offline

Posts: 1511470311

View Profile Personal Message (Offline)

Ignore
1511470311
Reply with quote  #2

1511470311
Report to moderator
1511470311
Hero Member
*
Offline Offline

Posts: 1511470311

View Profile Personal Message (Offline)

Ignore
1511470311
Reply with quote  #2

1511470311
Report to moderator
magnebit
Newbie
*
Offline Offline

Activity: 24


View Profile
June 22, 2013, 06:19:46 AM
 #2

I downloaded bitcoin qt and everytime I try to load it says failed to read block. I have tryed uninstalling and reinstalling always get same error. Any help would be much appreciated.

I encountered the same problem (on v8.0.2) and figured out the cause.  When downloading for the first time, my antivirus (Trend Micro) was interfering with the download.  I stopped Trend (Task Manager -> uiSEAgnt.exe) and then I could download the whole blockchain without an error.  {This is easily reproducable.}   Once you get the whole blockchain, you can run Bitcoin-QT with antivirus just fine.  It has to do with the fast IO during the initial download.

At first, I was getting the "FAILED TO READ BLOCK" error randomly even 1000 blocks or so.  Start it up, and a few thousand more blocks come down - then get error again.

In the log file C:\Users\Gateway\AppData\Roaming\Bitcoin\debug.log

...
received block 000000009342a7b5d434088a48d94dc05ca2b8543f11d8042c4fa2a32f3cfad5
Unable to open file c:\bitcoin\datadir\blocks\blk00000.dat
ERROR: CBlock::ReadFromDisk() : OpenBlockFile failed
*** Failed to read block
connection timeout
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 00000000b4faa2facc1e5f54978b5c4cc770457d0ce921ac7c8a45d766e0858a
addcon thread interrupt
dumpaddr thread stop
SetBestChain: new best=000000009342a7b5d434088a48d94dc05ca2b8543f11d8042c4fa2a32f3cfad5  height=366  log2_work=40.519658  tx=374  date=2009-01-13 19:56:49 progress=0.000008
msghand thread interrupt
net thread interrupt
connection timeout
opencon thread interrupt
Flush(false)


I started up an old version 6 Bitcoin client.  It too got the error; which is odd since I've used it on the same computer last year.  Then, I stopped the Antivirus and it downloaded the whole blockchain fine with version 8.0.2.

Again, once you get the full download, I have not seen the problem with the Antivirus running.  The IO is much slower with the higher blocks.

Hope this helps others...
jackjack
Legendary
*
Offline Offline

Activity: 1120


May Bitcoin be touched by his Noodly Appendage


View Profile
June 22, 2013, 01:46:31 PM
 #3

I downloaded bitcoin qt and everytime I try to load it says failed to read block. I have tryed uninstalling and reinstalling always get same error. Any help would be much appreciated.

I encountered the same problem (on v8.0.2) and figured out the cause.  When downloading for the first time, my antivirus (Trend Micro) was interfering with the download.  I stopped Trend (Task Manager -> uiSEAgnt.exe) and then I could download the whole blockchain without an error.  {This is easily reproducable.}   Once you get the whole blockchain, you can run Bitcoin-QT with antivirus just fine.  It has to do with the fast IO during the initial download.

At first, I was getting the "FAILED TO READ BLOCK" error randomly even 1000 blocks or so.  Start it up, and a few thousand more blocks come down - then get error again.

In the log file C:\Users\Gateway\AppData\Roaming\Bitcoin\debug.log

...
received block 000000009342a7b5d434088a48d94dc05ca2b8543f11d8042c4fa2a32f3cfad5
Unable to open file c:\bitcoin\datadir\blocks\blk00000.dat
ERROR: CBlock::ReadFromDisk() : OpenBlockFile failed
*** Failed to read block
connection timeout
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 00000000b4faa2facc1e5f54978b5c4cc770457d0ce921ac7c8a45d766e0858a
addcon thread interrupt
dumpaddr thread stop
SetBestChain: new best=000000009342a7b5d434088a48d94dc05ca2b8543f11d8042c4fa2a32f3cfad5  height=366  log2_work=40.519658  tx=374  date=2009-01-13 19:56:49 progress=0.000008
msghand thread interrupt
net thread interrupt
connection timeout
opencon thread interrupt
Flush(false)


I started up an old version 6 Bitcoin client.  It too got the error; which is odd since I've used it on the same computer last year.  Then, I stopped the Antivirus and it downloaded the whole blockchain fine with version 8.0.2.

Again, once you get the full download, I have not seen the problem with the Antivirus running.  The IO DL is much slower with the higher blocks.

Hope this helps others...
FTFY

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!