Bitcoin Forum
May 24, 2024, 10:39:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-qt failed to read/write block  (Read 2603 times)
skyvahaerie (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 16, 2014, 10:29:25 PM
 #1

As the subject states i have trouble to download the blockchain with bitcoin-qt 0.86 and 0.85 and 0.84 (did not try previous versions, think it won't work either). Always get the failed to read/write block error after a while. I already tried the following:
- started bitcoin with -reindex
- reinstalled wallet
- deleted block data and directory (did a backup of wallet.dat)
- downloaded a bootstrap.dat

There is enough free space on my harddrive, i even tried it on a freshly formated disk.
System: Win 7 Pro x64
Any help is appreciated.

Debuglog:
Code:
Unable to open file E:\Bitcoin\Bitcoin\blocks\blk00000.dat
ERROR: CBlock::ReadFromDisk() : OpenBlockFile failed
*** Failed to read block
connection timeout
trying connection 84.92.43.202:8333 lastseen=5.4hrs
Flushing wallet.dat
Flushed wallet.dat 47ms
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
Loaded 4639 blocks from external file in 16888ms
dumpaddr thread stop
addcon thread interrupt
msghand thread interrupt
net thread interrupt
connection timeout
opencon thread interrupt
Flush(false)
DBFlush(false) ended               0ms
StopNode()
UPNP_DeletePortMapping() returned : 0
upnp thread interrupt
Flushed 10147 addresses to peers.dat  31ms
Committing 19758 changed transactions to coin database...
Flush(true)
wallet.dat refcount=0
wallet.dat checkpoint
wallet.dat detach
wallet.dat closed
DBFlush(true) ended              63ms



2014-02-16 22:05:28 Unable to open file E:\Bitcoin\Bitcoin\blocks\blk00000.dat
2014-02-16 22:05:28 ERROR: CBlock::WriteToDisk() : OpenBlockFile failed
2014-02-16 22:05:28 *** Failed to write block
2014-02-16 22:05:33 connection timeout
2014-02-16 22:05:33 trying connection 97.94.193.141:8333 lastseen=0.0hrs
2014-02-16 22:05:33 connected 97.94.193.141:8333
2014-02-16 22:05:33 send version message: version 70001, blocks=15836, us=84.58.126.208:8333, them=97.94.193.141:8333, peer=97.94.193.141:8333
2014-02-16 22:05:34 ERROR: ProcessBlock() : AcceptBlock FAILED
2014-02-16 22:05:34 Loaded 3035 blocks from external file in 16127ms
2014-02-16 22:05:34 Added time data, samples 2, offset -2 (+0 minutes)
2014-02-16 22:05:34 receive version message: /Satoshi:0.8.6/: version 70001, blocks=286251, us=84.58.126.208:62729, them=97.94.193.141:8333, peer=97.94.193.141:8333
2014-02-16 22:05:34 opencon thread interrupt
2014-02-16 22:05:34 msghand thread interrupt
2014-02-16 22:05:34 dumpaddr thread stop
2014-02-16 22:05:34 addcon thread interrupt
2014-02-16 22:05:34 net thread interrupt
2014-02-16 22:05:34 Shutdown : In progress...
2014-02-16 22:05:34 Flush(false)
2014-02-16 22:05:34 wallet.dat refcount=0
2014-02-16 22:05:34 wallet.dat checkpoint
2014-02-16 22:05:34 wallet.dat detach
2014-02-16 22:05:34 wallet.dat closed
2014-02-16 22:05:34 DBFlush(false) ended             156ms
2014-02-16 22:05:34 StopNode()
2014-02-16 22:05:34 UPNP_DeletePortMapping() returned : 0
2014-02-16 22:05:34 upnp thread interrupt
2014-02-16 22:05:34 Flushed 10129 addresses to peers.dat  31ms
2014-02-16 22:05:34 Committing 15179 changed transactions to coin database...
2014-02-16 22:05:35 Flush(true)
2014-02-16 22:05:35 wallet.dat refcount=0
2014-02-16 22:05:35 wallet.dat checkpoint
2014-02-16 22:05:35 wallet.dat detach
2014-02-16 22:05:35 wallet.dat closed
2014-02-16 22:05:35 DBFlush(true) ended              78ms
2014-02-16 22:05:35 Shutdown : done




rmines
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
February 16, 2014, 10:32:29 PM
 #2

Did you check your HDD/SSD's smart status, are there any reallocated bad sectors?
Do you have the same problem on another pc?

♔ PrimeDice : The Premier Bitcoin Gambling Experience @PrimeDice
Spare some change? 1LkqfvQTLAEiiCwTqkPRcvUdEmkCR11QDE
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
February 16, 2014, 10:34:06 PM
 #3

Is your disk full?  (when you say there's enough room, is that on C or E, or both?)

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
skyvahaerie (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 16, 2014, 10:36:37 PM
 #4

I have only one pc, so can't check with another. But i have 2 HDD's and one SSD in my rig, i tried it on all of them. I did not check smart status of the disk yet, will do this next. But i don't think all my drives are damaged/dying, quite unlikly. One of the HDD's is not even two days old, bought it last friday.

On all disks are at least 120 GB of free space available.
rmines
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
February 16, 2014, 10:39:07 PM
 #5

Are you using Trend Micro Antivirus?
If so try disabling it and downloading the blockchain again https://bitcointalk.org/index.php?topic=171891

♔ PrimeDice : The Premier Bitcoin Gambling Experience @PrimeDice
Spare some change? 1LkqfvQTLAEiiCwTqkPRcvUdEmkCR11QDE
skyvahaerie (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 16, 2014, 10:41:56 PM
 #6

No, i don't use Trend Micro Antivirus, at the moment i use bitdefender free edition and comodo software firewall. Will try with one/both disabled.


EDIT: Same issue with bitdefender free edition and comodo software firewall disabled, tried it with bitdefender alone and then with comodo alone, same result: Failed to read/write block.

Thanks for your input so far. Smiley
rmines
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
February 18, 2014, 10:30:27 AM
 #7

I was wondering if you are still facing the same problem?
If you managed to solve the error, could you post the solution here?

♔ PrimeDice : The Premier Bitcoin Gambling Experience @PrimeDice
Spare some change? 1LkqfvQTLAEiiCwTqkPRcvUdEmkCR11QDE
skyvahaerie (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 18, 2014, 01:51:46 PM
 #8

Did not find a solution. I tested smart status of all my drives and they are good. I have migrated to multibit at the moment, but will keep trying to find a solution, although i have no clue where to look for now.
Olly_K
Sr. Member
****
Offline Offline

Activity: 361
Merit: 250


View Profile
February 18, 2014, 02:08:47 PM
 #9

I had issues with my bitcoin client recently, after upgrading my RAM. After a memtest (google) it turned out I had a faulty module. The client seems to be quite RAM intensive.
skyvahaerie (OP)
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 20, 2014, 03:00:22 PM
 #10

Tested my Ram now, it works fine too.
I updated my java and i thought that did the trick, as i could download nearly 50% of the blockchain, but then the errors came back.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
February 20, 2014, 03:10:15 PM
 #11

Have you tried it just using your C drive, not E?

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
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!