Bitcoin Forum
May 14, 2024, 08:46:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / My blockchain doesn't get downloaded after client update on: February 12, 2013, 05:02:57 PM
I downloaded the version 0.7.2 and made an update from 0.3.24 (before this I made a backup of entire /users/appdata/bitcoin directory which I have in a safe place)

After the upgrade, the new version 0.7.2 doesnt start. It throws I kind of segmentation fault and hangs.

Then I tried removing the users/bitcoin directory and it starts pretty fine downloading from the beginning of the blockchain withot problems.

I deleted again the users/bitcoin directory contents and put in it my wallet.dat. Now the bitcoin client can start, it reads the content of the wallet (I can see the transactions but all unconfirmed) and it is stucked at the block number 149. After that it doesnt any more blocks.

I can post some logs:

/users/bitcoin/db.txt

file wallet.dat has LSN 353/5524652, past end of log at 1/384363
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 353/5524652 past current end-of-log of 1/384363
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: 7
txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
PANIC: fatal region error detected; run recovery
[...]


/users/bitcoin/debug.txt

received block 0000000000a86824bc08
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 0000000000b9ecdee1ed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 00000000002cce65fb66
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 00000000002eda10df0e
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 0000000000a17b36b3ba
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 0000000000daf3e57997
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
ERROR: FetchInputs() : 44209c865e mempool Tx prev not found b8ced7a6fd
stored orphan tx 44209c865e (mapsz 1106)
ERROR: FetchInputs() : 8aef4715a6 mempool Tx prev not found 5b59d4adb6
stored orphan tx 8aef4715a6 (mapsz 1107)
ERROR: FetchInputs() : 9f2e70fa49 mempool Tx prev not found c4a2919907
stored orphan tx 9f2e70fa49 (mapsz 1108)
ERROR: FetchInputs() : abdc448bb2 mempool Tx prev not found 9f2e70fa49
stored orphan tx abdc448bb2 (mapsz 1109)

[...]

Flush(false)
blkindex.dat refcount=0
blkindex.dat checkpoint
blkindex.dat closed
wallet.dat refcount=0
wallet.dat checkpoint
wallet.dat detach
wallet.dat closed
DBFlush(false) ended               0ms
StopNode()
ThreadOpenConnections exited
ThreadSocketHandler exited
ipcThread exited
ThreadMessageHandler exited
ThreadMapPort exited
Flushed 13638 addresses to peers.dat  78ms
Flush(true)
DBFlush(true) ended               0ms
EnvShutdown exception: DB_RUNRECOVERY: Fatal error, run database recovery (-30974)
Bitcoin exited



Anybody knows what can I do ?

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!