Bitcoin Forum
May 20, 2018, 02:45:48 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Corrupted wallet  (Read 779 times)
Offline Offline

Activity: 1
Merit: 0

View Profile
July 19, 2012, 05:45:40 PM

When I try to start bitcoin-qt.exe with one particular wallet I get "Microsoft Visual C++ Runtime Library / Runtime error!".

file wallet.dat has LSN 301/5508572, past end of log at 1/68990
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
DB_ENV->log_flush: LSN of 301/5508572 past current end-of-log of 1/68990
Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
wallet.dat: unable to flush page: 13
txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery

Bitcoin version v0.6.3-beta (2012-06-19 16:44:55 -0400)
Default data directory C:\Documents and Settings\XXX\Application Data\Bitcoin
Loading addresses... LogDir=C:\Documents and Settings\XXX\Application Data\Bitcoin\database ErrorFile=C:\Documents and Settings\XXX\Application Data\Bitcoin\db.log
Loaded 0 addresses
 addresses               469ms
Loading block index...
CBlock(hash=000000000019d6689c08, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=4a5e1e4baa, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)
  CTransaction(hash=4a5e1e4baa, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)
    CTxOut(nValue=50.00000000, scriptPubKey=04678afdb0fe5548271967f1a67130)
  vMerkleTree: 4a5e1e4baa
SetBestChain: new best=000000000019d6689c08  height=0  work=4295032833
 block index             235ms
Loading wallet...

Bitcoin 0.6.3 @ XP

How to fix it?[/s]

EDIT: OK, I figured it out. Please delete.
Pages: [1]
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!