Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Marko on March 04, 2011, 03:56:44 PM



Title: Exception running bitcoin
Post by: Marko on March 04, 2011, 03:56:44 PM
Anyone seen this before?

Code:
************************
EXCEPTION: NSt8ios_base7failureE       
CAutoFile::read : fread failed       
C:\Program Files\Bitcoin\bitcoin.exe in ProcessMessage()       



************************
EXCEPTION: N5boost21thread_resource_errorE       
boost::thread_resource_error       
C:\Program Files\Bitcoin\bitcoin.exe in ThreadMessageHandler()

Nothing specific was done to generate this. It just sat there idle (with full chain downloaded) and then this. After the error no more blocks are downloaded


Title: Re: Exception running bitcoin
Post by: Gavin Andresen on March 05, 2011, 01:32:52 AM
fread failed means bitcoin couldn't read some data off of your hard disk.

You might want to invest in a copy of SpinRite (http://www.grc.com/spinrite.htm) and check your hard disk for errors.


Title: Re: Exception running bitcoin
Post by: theymos on March 05, 2011, 01:43:52 AM
You might want to invest in a copy of SpinRite (http://www.grc.com/spinrite.htm) and check your hard disk for errors.

Before buying SpinRite, you can check to see whether there is a disk problem by running "badblocks -s /dev/whatever" on Linux.