win7 x64 problem:
i had a fresh install of the wallet, started syncing and used the initial address for mining @ 1gh. the wallet got stuck at some "trie" stuff (for over 6h) so I restarted the qt-wallet. Now it says my wallet.dat is corrupted, and can't be repaired. the wallet.dat file is getting renamed and a new one is created. all my mined coins are gone. there are generally a lot of runtime exceptions and messages when operating the wallet.
how can I get my coins back? looks like there is no checkwallet/repairwallet implemented.
Page 0: metadata page corrupted
Page 0: could not check metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
file unknown has LSN 1/3132, past end of log at 1/1076
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
looks like a critical bug in the QT wallet which kills the wallet.dat
Edit: salvagewallet did not work either