Bitcoin Forum
May 03, 2024, 07:02:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Corrupted wallet on: July 19, 2012, 05:45:40 PM
Hi,
When I try to start bitcoin-qt.exe with one particular wallet I get "Microsoft Visual C++ Runtime Library / Runtime error!".


db.txt
Code:
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

debug.txt
Code:
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...
dbenv.open 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...
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
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]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!