Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: FreeMoney on August 03, 2011, 03:12:09 AM



Title: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: FreeMoney on August 03, 2011, 03:12:09 AM
It says:

Exception: NSt8ios_base7failureE
CAutoFile::read : end of file
C:\Program Files (x86)\Bitcoin\bitcoin.exe in AppInit()

Then when I press OK I get the same thing again and then it tells me that runtime has terminated the program in an unusual way.

I'm guessing something important on my machine is corrupt?

Bounty added.


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: deepceleron on August 05, 2011, 08:54:25 PM
It sounds like your data directory may have a corrupted blockchain or other files.

The data directory is %APPDATA%\bitcoin, which typically resolves to C:\Users\username\AppData\Roaming\Bitcoin. Before we get started, copy your wallet.dat file in that directory to a USB stick and store it away, and copy the entire data directory to a new location, name the folder bitcoin-backup or such, so you can always put things back as they were before you attempted repair.

The easiest way to rectify this situation is to remove all files from the data directory except the wallet.dat, download a nightly version of the the blockchain from http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ , unzip these files into the bitcoin data directory, and launch bitcoin again and let it update to the latest block.


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: FreeMoney on August 06, 2011, 09:38:10 PM
Thanks trying now.


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: FreeMoney on August 06, 2011, 10:37:44 PM
Haven't got the new data yet, but clearing out the old let it run, so I think I'm fixed.


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: FreeMoney on August 08, 2011, 08:04:39 AM
It sounds like your data directory may have a corrupted blockchain or other files.

The data directory is %APPDATA%\bitcoin, which typically resolves to C:\Users\username\AppData\Roaming\Bitcoin. Before we get started, copy your wallet.dat file in that directory to a USB stick and store it away, and copy the entire data directory to a new location, name the folder bitcoin-backup or such, so you can always put things back as they were before you attempted repair.

The easiest way to rectify this situation is to remove all files from the data directory except the wallet.dat, download a nightly version of the the blockchain from http://bitcoin.bluematt.me/bitcoin-nightly/blockchain-nightly/ , unzip these files into the bitcoin data directory, and launch bitcoin again and let it update to the latest block.


Owe you some coin.

Post or PM address.


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: deepceleron on August 08, 2011, 10:01:34 AM
You can donate if you like (address in my signature), but there shouldn't need to be a bounty just to get some help here!


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: deepceleron on August 09, 2011, 10:12:31 AM
Thanks freemoney for freemoney!


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: PandaMiner on August 27, 2011, 02:51:01 AM
Hmm, the nightly backup is just over 2 weeks behind. Any thoughts?


Title: Re: 0.3.24 crashing on open in Win 7 [.5BTC bounty now]
Post by: Furyan on August 27, 2011, 07:31:58 AM
The nightly backups are a courtesy.. not sure why TheBlueMatt stopped updating them.  Still they should be enough to significantly speed up the block chain download.  If the backup is 2 weeks old, bitcoin only has to download & process 2000 more blocks instead of all 140,000 blocks :)