Bitcoin Forum
May 08, 2024, 08:21:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core v0.12.0.0-g188ca9c (64-bit) crash with my wallet.dat  (Read 613 times)
mercury1981 (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
March 13, 2016, 06:29:57 PM
 #1

Hi!

I am running Bitcoin Core version v0.12.0.0-g188ca9c (64-bit) on Ubuntu 14.04 and I have the following problem:

If I delete / remove the wallet.dat file (with my keys) the client runs stable for hours or days.
But if I copy my wallet.dat file and start bitcoin-qt (even with -rescan) it just rescans successfully but then crashes after a couple of minutes with errors like:

Quote
2016-03-13 17:54:47 Pre-allocating up to position 0x200000 in rev00467.dat
2016-03-13 17:54:47 UpdateTip: new best=000000000000000001fc675dbc5ca0f84a4a250fdedecd069b18781f2b6475e6  height=402497  log2_work=84.292145  tx=116024344  date=2016-03-13 17:53:56 progress=1.000000  cache=37.8MiB(16770tx)
2016-03-13 17:54:47 UpdateTip: 5 of last 100 blocks above version 4
2016-03-13 18:17:30 UpdateTip: new best=000000000000000000df960c8deaee21b89a12a70b77e1fa5d33656ee62b9a9e  height=402498  log2_work=84.292187  tx=116026687  date=2016-03-13 18:16:32 progress=1.000000  cache=58.8MiB(25888tx)
2016-03-13 18:17:30 UpdateTip: 5 of last 100 blocks above version 4
2016-03-13 18:21:59 UpdateTip: new best=0000000000000000064dce1c8b32864ee2dc4bd2d65751c9f2dd56efa2a8a5f1  height=402499  log2_work=84.292228  tx=116027816  date=2016-03-13 18:20:39 progress=0.999999  cache=50.6MiB(7243tx)
2016-03-13 18:21:59 UpdateTip: 5 of last 100 blocks above version 4
2016-03-13 18:26:12 *** System error while flushing: CDB: Error -30974, can't open database
2016-03-13 18:26:14 tor: Thread interrupt
2016-03-13 18:26:14 torcontrol thread exit
2016-03-13 18:26:14 opencon thread interrupt
2016-03-13 18:26:14 msghand thread interrupt
2016-03-13 18:26:14 addcon thread interrupt
2016-03-13 18:26:14 scheduler thread interrupt
2016-03-13 18:26:14 net thread interrupt
2016-03-13 18:26:14 Shutdown: In progress...
2016-03-13 18:26:14 StopNode()
2016-03-13 18:26:14 *** System error while flushing: CDB: Error -30974, can't open database
2016-03-13 18:26:50 CDBEnv::EnvShutdown: Error -30974 shutting down database environment: DB_RUNRECOVERY: Fatal error, run database recovery
2016-03-13 18:26:50 Shutdown: done


I also noticed something strange:
The freshly created wallet.dat (if no wallet.dat is found) has 81,9kb size whereas my wallet.dat only is 53,2kb?

Can somebody help please?

Thanks!
1715156506
Hero Member
*
Offline Offline

Posts: 1715156506

View Profile Personal Message (Offline)

Ignore
1715156506
Reply with quote  #2

1715156506
Report to moderator
1715156506
Hero Member
*
Offline Offline

Posts: 1715156506

View Profile Personal Message (Offline)

Ignore
1715156506
Reply with quote  #2

1715156506
Report to moderator
1715156506
Hero Member
*
Offline Offline

Posts: 1715156506

View Profile Personal Message (Offline)

Ignore
1715156506
Reply with quote  #2

1715156506
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715156506
Hero Member
*
Offline Offline

Posts: 1715156506

View Profile Personal Message (Offline)

Ignore
1715156506
Reply with quote  #2

1715156506
Report to moderator
1715156506
Hero Member
*
Offline Offline

Posts: 1715156506

View Profile Personal Message (Offline)

Ignore
1715156506
Reply with quote  #2

1715156506
Report to moderator
1715156506
Hero Member
*
Offline Offline

Posts: 1715156506

View Profile Personal Message (Offline)

Ignore
1715156506
Reply with quote  #2

1715156506
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
March 13, 2016, 06:40:17 PM
 #2

I also noticed something strange:
The freshly created wallet.dat (if no wallet.dat is found) has 81,9kb size whereas my wallet.dat only is 53,2kb?
Your wallet might be corrupted. Try running Bitcoin Core with the -salvagewallet option.

mercury1981 (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
March 15, 2016, 11:15:02 AM
 #3

I also noticed something strange:
The freshly created wallet.dat (if no wallet.dat is found) has 81,9kb size whereas my wallet.dat only is 53,2kb?
Your wallet might be corrupted. Try running Bitcoin Core with the -salvagewallet option.

Thanks a lot - that did the trick - bitcoin-qt is running stable since one day!
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!