Bitcoin Forum
December 16, 2017, 05:31:19 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin crashes after downloading the blockchain  (Read 1105 times)
mrich8
Jr. Member
*
Offline Offline

Activity: 45


View Profile
January 24, 2013, 05:11:35 AM
 #1

Bitcoin 0.7.2 on Windows XP. A few days ago the computer crashed. When I rebooted it, Bitcoin would not run. It had some BS error about the database and not enough disk space, but there is plenty of space. So I trashed the blockchain and everything except the wallet.dat and let it download again. It runs fine, I can see all of my transactions in the list, unconfirmed, until it gets to the very end of the blockchain, then it crashes with several exceptions that do not detail anything specific. If you try to load again it might do a Rescanning that takes a long time and then crashes again. One time it said the wallet.dat was corrupted and then crashed.

Just now I tried to load the program and it does load but the blockchain stopped downloading from around 6/27/2012, around block 185,000. Now I let it download the other blocks while I sleep.

Is it really a corrupted wallet.dat? Is there any remedy? I have a backup but it is a few months old. How does that work if I have to use the backup? Does it "fill in" with the coins I sent and received since then? What about new address used to receive coins not in the wallet backup?
1513402279
Hero Member
*
Offline Offline

Posts: 1513402279

View Profile Personal Message (Offline)

Ignore
1513402279
Reply with quote  #2

1513402279
Report to moderator
1513402279
Hero Member
*
Offline Offline

Posts: 1513402279

View Profile Personal Message (Offline)

Ignore
1513402279
Reply with quote  #2

1513402279
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
deepceleron
Legendary
*
Offline Offline

Activity: 1512



View Profile WWW
January 24, 2013, 02:38:00 PM
 #2

I suspect that your computer is crashing because of a hardware problem. Lemme guess which one:

1. Overclocking CPU
2. Laptop

Bitcoin does not have any error message relating to disk space; when it runs out of space to download the blockchain it just crashes. Such an error would be from the operating system. Errors in the disk file allocation table may report incorrect free space to you or to applications.

Bitcoin cannot run on a computer that has hardware problems. Laptops commonly fail because they have undersized cpu coolers that get plugged up with lint. Overclockers usually overclock until just before the computer crashes all the time, but Bitcoin won't tolerate a CPU that makes even occasional calculation errors from overclocking. Your computer crashing will also cause disk file system problems, you should do a disk check on each drive, and reboot when prompted.

As long as you have a recent backup of wallet.dat on a different media, your bitcoins are safe. There are 100 addresses pre-created in a keypool, only if you have made more than 100 transactions or manually added more addresses since the wallet backup may there be loss.
mrich8
Jr. Member
*
Offline Offline

Activity: 45


View Profile
January 25, 2013, 12:28:13 AM
 #3

I suspect that your computer is crashing because of a hardware problem. Lemme guess which one:

1. Overclocking CPU
2. Laptop

No. This is a dedicated computer which only runs a mining program and Bitcoin. It is not overclocked, it is not a laptop. It is a well ventilated desktop.


Bitcoin does not have any error message relating to disk space; when it runs out of space to download the blockchain it just crashes. Such an error would be from the operating system. Errors in the disk file allocation table may report incorrect free space to you or to applications.reboot when prompted.

Here is an exact error I received a few times:

EXCEPTION: 11DbException
Db::get: Not enough space
C:\Users\Owner\Desktop\Bitcoin\bitcoin.exe in AppInit()

Now when I load it, I get a "Runaway Exception" after it sits there for several hours not downloading any blocks.
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
January 25, 2013, 01:42:00 AM
 #4

Try -salvagewallet first.

The usefulness of your backup depends on your keypoolsize (default: 100) and how many keys you've used since the backup.  Every time you ask for a new address, you use one key from the pool.  Every time you send and get change, you use one key from the pool.  If your wallet isn't busy, a backup from a few months ago may still be fine.  Try -salvagewallet first anyway.

The "not enough space" message probably doesn't mean what you think it means.  Check your db.log file for clues.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
zvs
Legendary
*
Offline Offline

Activity: 1512


I have some bitcoins. Somewhere.


View Profile WWW
January 25, 2013, 02:15:57 PM
 #5

Try -salvagewallet first.

The usefulness of your backup depends on your keypoolsize (default: 100) and how many keys you've used since the backup.  Every time you ask for a new address, you use one key from the pool.  Every time you send and get change, you use one key from the pool.  If your wallet isn't busy, a backup from a few months ago may still be fine.  Try -salvagewallet first anyway.

The "not enough space" message probably doesn't mean what you think it means.  Check your db.log file for clues.

hmm, I've always put 'keys=0' in my config file, to stop wallet bloat

Dacentec Dedicated Servers (Lenoir, NC, USA) from $25/mo & Time4VPS Storage VPS' (Vilnius, Lithuania) from €18/qtr & Hetzner's serverbidding, from ~€20/mo -- had bitcoin nodes & p2pool (dacentec, hetzner) for several years on these.  Only two are affiliate links too, kek! -------  Feel free to join my G2A Goldmine Pyramid Scheme Team, or possibly even buy a Steam game from there.  Maybe.
deepceleron
Legendary
*
Offline Offline

Activity: 1512



View Profile WWW
January 25, 2013, 09:04:15 PM
 #6

Try -salvagewallet first.

The usefulness of your backup depends on your keypoolsize (default: 100) and how many keys you've used since the backup.  Every time you ask for a new address, you use one key from the pool.  Every time you send and get change, you use one key from the pool.  If your wallet isn't busy, a backup from a few months ago may still be fine.  Try -salvagewallet first anyway.

The "not enough space" message probably doesn't mean what you think it means.  Check your db.log file for clues.

hmm, I've always put 'keys=0' in my config file, to stop wallet bloat
This is a very bad idea. When you send a payment, the remainder of an input is sent back to you to a new address. Normally this is sent to one of 100 reserve pool addresses that are pre-created. If you make a backup of your wallet with no reserve keys, as soon as you start spending money, you will be receiving change back at addresses not in your backup, making your backup instantly obsolete, and guaranteeing the loss of funds if you need to use the backup.
John (John K.)
Global Troll-buster and
Legendary
*
Offline Offline

Activity: 1190


Will read PM's. Have more time lately


View Profile
January 26, 2013, 09:35:38 AM
 #7

Try -salvagewallet first.

The usefulness of your backup depends on your keypoolsize (default: 100) and how many keys you've used since the backup.  Every time you ask for a new address, you use one key from the pool.  Every time you send and get change, you use one key from the pool.  If your wallet isn't busy, a backup from a few months ago may still be fine.  Try -salvagewallet first anyway.

The "not enough space" message probably doesn't mean what you think it means.  Check your db.log file for clues.

hmm, I've always put 'keys=0' in my config file, to stop wallet bloat
This is a very bad idea. When you send a payment, the remainder of an input is sent back to you to a new address. Normally this is sent to one of 100 reserve pool addresses that are pre-created. If you make a backup of your wallet with no reserve keys, as soon as you start spending money, you will be receiving change back at addresses not in your backup, making your backup instantly obsolete, and guaranteeing the loss of funds if you need to use the backup.

This. I usually set keys=100 to make my backups easier.

My BTC Tip Jar: 1Pgvfy19uwtYe5o9dg3zZsAjgCPt3XZqz9 , GPG ID: B3AAEEB0 ,OTC ID: johnthedong
Escrow service is available on a case by case basis! (PM Me to verify I'm the escrow!)

mrich8
Jr. Member
*
Offline Offline

Activity: 45


View Profile
January 26, 2013, 07:24:59 PM
 #8

I am starting to think the wallet is not corrupted. I backed up the current wallet and deleted everything Bitcoin related from the computer. Then I installed again and let it download the blockchain with a new empty wallet. When it gets somewhere near the end, Bitcoin still crashes with exceptions!

So it could be a bad CPU (but I did not overclock), or more likely some bad RAM or a drive corruption.
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!