Bitcoin Forum
May 07, 2024, 12:20:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoin Wallet Can't Sync to Blockchain Without Throwing Errors  (Read 3370 times)
l008com (OP)
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile
October 26, 2017, 09:32:30 AM
 #21

Here's another debug log from a slightly older backup of my wallet. This in the previous logs are from Windows bitcoin. I have the same problem with bitcoin on Mac. My best guess is the Mac bitcoin wallet has some kind of fatal bugs in it that poisons the wallet.data file in some way.

Quote
2017-10-26 09:11:37
2017-10-26 09:11:37 Bitcoin version v0.15.0.1
2017-10-26 09:11:37 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-10-26 09:11:50 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures.
2017-10-26 09:11:51 Using the 'standard' SHA256 implementation
2017-10-26 09:11:53 Default data directory C:\Users\xxxxxx\AppData\Roaming\Bitcoin
2017-10-26 09:11:53 Using data directory C:\Users\xxxxxx\Desktop\Bitcoin Wallet
2017-10-26 09:11:53 Using config file C:\Users\xxxxxx\Desktop\Bitcoin Wallet\bitcoin.conf
2017-10-26 09:11:53 Using at most 125 automatic connections (2048 file descriptors available)
2017-10-26 09:11:53 GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely..."
2017-10-26 09:11:53 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2017-10-26 09:11:53 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2017-10-26 09:11:53 Using 4 threads for script verification
2017-10-26 09:11:54 scheduler thread start
2017-10-26 09:11:54 init message: Verifying wallet(s)...
2017-10-26 09:11:54 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2017-10-26 09:11:54 Using wallet wallet.dat
2017-10-26 09:11:54 CDBEnv::Open: LogDir=C:\Users\xxxxxx\Desktop\Bitcoin Wallet\database ErrorFile=C:\Users\xxxxxx\Desktop\Bitcoin Wallet\db.log
2017-10-26 09:11:57 Cache configuration:
2017-10-26 09:11:57 * Using 2.0MiB for block index database
2017-10-26 09:11:57 * Using 8.0MiB for chain state database
2017-10-26 09:11:57 * Using 290.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2017-10-26 09:11:57 init message: Loading block index...
2017-10-26 09:11:58 Opening LevelDB in C:\Users\xxxxxx\Desktop\Bitcoin Wallet\blocks\index
2017-10-26 09:11:59 Opened LevelDB successfully
2017-10-26 09:11:59 Using obfuscation key for C:\Users\xxxxxx\Desktop\Bitcoin Wallet\blocks\index: 0000000000000000
2017-10-26 09:12:23 LoadBlockIndexDB: last block file = 1042
2017-10-26 09:12:23 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=96, size=69957200, heights=491713...491822, time=2017-10-25...2017-10-26)
2017-10-26 09:12:23 Checking all blk files are present...
2017-10-26 09:12:28 LoadBlockIndexDB: transaction index disabled
2017-10-26 09:12:28 Opening LevelDB in C:\Users\xxxxxx\Desktop\Bitcoin Wallet\chainstate
2017-10-26 09:12:28 Opened LevelDB successfully
2017-10-26 09:12:28 Using obfuscation key for C:\Users\xxxxxx\Desktop\Bitcoin Wallet\chainstate: dc3087dba2ad642e
2017-10-26 09:12:28 Loaded best chain: hashBestChain=00000000000000000080d70ed46b5f912ea0f0ba22c0d097be52c0fb8586e2b7 height=491822 date=2017-10-26 08:42:16 progress=0.999979
2017-10-26 09:12:28 init message: Rewinding blocks...
2017-10-26 09:12:32 init message: Verifying blocks...
2017-10-26 09:12:32 Verifying last 6 blocks at level 3
2017-10-26 09:12:32 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE].
2017-10-26 09:14:31 No coin database inconsistencies in last 7 blocks (7711 transactions)
2017-10-26 09:14:31  block index          153863ms
2017-10-26 09:14:31 init message: Loading wallet...
2017-10-26 09:14:31 nFileVersion = 130000
2017-10-26 09:14:31 Keys: 113 plaintext, 0 encrypted, 7 w/ metadata, 113 total
2017-10-26 09:14:32  wallet                  515ms
2017-10-26 09:14:32

************************
EXCEPTION: St13runtime_error       
GenerateNewKey: AddKey failed       
C:\Program Files\Bitcoin\bitcoin-qt.exe in Runaway exception       

2017-10-26 09:14:38 CDBEnv::EnvShutdown: Error -30974 shutting down database environment: DB_RUNRECOVERY: Fatal error, run database recovery

BTC: 1B5ahrgQa2UpTFukjjacAWqFPShHyAStpZ
GRC: S942CyMgHz42EosvT9L1dKCwB1HVM2TDZk
1715084451
Hero Member
*
Offline Offline

Posts: 1715084451

View Profile Personal Message (Offline)

Ignore
1715084451
Reply with quote  #2

1715084451
Report to moderator
1715084451
Hero Member
*
Offline Offline

Posts: 1715084451

View Profile Personal Message (Offline)

Ignore
1715084451
Reply with quote  #2

1715084451
Report to moderator
1715084451
Hero Member
*
Offline Offline

Posts: 1715084451

View Profile Personal Message (Offline)

Ignore
1715084451
Reply with quote  #2

1715084451
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
October 26, 2017, 02:43:29 PM
 #22

There is something wrong with the wallet.dat file. On all of the systems where you have been seeing a problem, have you been copying the same wallet.dat file to each of them and trying to load it there?

l008com (OP)
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile
October 27, 2017, 06:39:02 AM
 #23

There is something wrong with the wallet.dat file. On all of the systems where you have been seeing a problem, have you been copying the same wallet.dat file to each of them and trying to load it there?

So I have many backups of the wallet from many different times, and they all have had problems. But last night I dug deep and found one backup of my wallet from April 2016 and this was BEFORE the corruption, and it is working normally! Lucky me. Once it runs for a while without any problems, I can start backing up that current working wallet and toss all these other ones I have all over the place.

I'm having a similar problem with my dogecoin wallet but seeing as how the windows bitcoin wallet syncs to the blockchain in 2 days, and the mac bitcoin wallet syncs to the blockchain in 2 months, i'm going to acquire a bigger hard drive and run both wallets on windows instead, then I can try to figure out how to get those dogecoins back. But for now that's on hold. Glad to have this wallet back though. To everyone that just stuck with "your computer or hard drive are broken", making up answers to peoples problems doesn't help anyone.

BTC: 1B5ahrgQa2UpTFukjjacAWqFPShHyAStpZ
GRC: S942CyMgHz42EosvT9L1dKCwB1HVM2TDZk
Pages: « 1 [2]  All
  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!