Bitcoin Forum
May 06, 2024, 03:13:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-QT Failed to read block error  (Read 2160 times)
ubettercall (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


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.
1714965200
Hero Member
*
Offline Offline

Posts: 1714965200

View Profile Personal Message (Offline)

Ignore
1714965200
Reply with quote  #2

1714965200
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714965200
Hero Member
*
Offline Offline

Posts: 1714965200

View Profile Personal Message (Offline)

Ignore
1714965200
Reply with quote  #2

1714965200
Report to moderator
1714965200
Hero Member
*
Offline Offline

Posts: 1714965200

View Profile Personal Message (Offline)

Ignore
1714965200
Reply with quote  #2

1714965200
Report to moderator
magnebit
Newbie
*
Offline Offline

Activity: 24
Merit: 0


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: 1176
Merit: 1233


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!