Author

Topic: Bitcoin client crashes upon decrypt (Read 2163 times)

legendary
Activity: 2576
Merit: 1186
June 04, 2012, 01:56:05 PM
#13
I've confirmed the passphrase you provided me with is not correct.
newbie
Activity: 14
Merit: 0
June 04, 2012, 09:20:10 AM
#12
Thanks for the help folks.

When I use pywallet.py with the --walletdump --password= options with my proper passphrase, pywallet.py changes from a terminal command line to the characters ">>>" and it wont take any more commands and is apparently locked up.

I am no longer receiving a DBRUNRECOVERY error.  Cannot find any any error messages at all actually (even in debug.log), when the client crashes it just crashes.

Using bitcoin 0.6.2.

Thanks all
legendary
Activity: 1072
Merit: 1189
June 01, 2012, 05:35:04 AM
#11
First of all, which bitcoin version is this?

Second, what error do you get before the crash? (look on the command-line, in debug.log, ...)

If the wallet file is corrupted at the BDB level, you can try using db4.8_dump | db4.8_load in recovery mode.
donator
Activity: 224
Merit: 100
May 31, 2012, 06:14:52 PM
#10
This is one of the reasons the wallet file has no business being a DB!

+1

This is something that worries me greatly... I have a lot of BTC in cold storage.

However, I have tested my wallet several times prior to doing the backups.

If the wallet is unencrypted, it's pretty easy to extract the private keys from a hex editor, even if the whole thing is corrupt (assuming, of course, that the individual bytes making up the keys are themselves unharmed).

If encrypted, it's probably nearly as easy (passphrase must be known of course), but I have never dived into it to know for sure.  The average wallet.dat is 99.9% fluff and 0.01% the actual key data.

Makes sense. I don't know much about BerkleyDB, but does it have good safeguards against corruption, such as using crc checks and transactional records?
sr. member
Activity: 364
Merit: 250
May 31, 2012, 12:52:48 AM
#9
You still here buddy?
Does it work now?
vip
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
May 30, 2012, 11:37:29 PM
#8
This is one of the reasons the wallet file has no business being a DB!

+1

This is something that worries me greatly... I have a lot of BTC in cold storage.

However, I have tested my wallet several times prior to doing the backups.

If the wallet is unencrypted, it's pretty easy to extract the private keys from a hex editor, even if the whole thing is corrupt (assuming, of course, that the individual bytes making up the keys are themselves unharmed).

If encrypted, it's probably nearly as easy (passphrase must be known of course), but I have never dived into it to know for sure.  The average wallet.dat is 99.9% fluff and 0.01% the actual key data.
legendary
Activity: 2576
Merit: 1186
May 30, 2012, 06:22:50 PM
#7
If you want to send me your wallet.dat and passphrase (please, do this securely), I'll take a look, but I still expect to find out it's the wrong passphrase...
legendary
Activity: 2506
Merit: 1010
May 30, 2012, 06:02:46 PM
#6
Wallet is encrypted. pywallet.py does not recognize my proper passphrase.

So both the Bitcoin client and PyWallet can't encrypt it.   Almost sounds like possibly a corrupt database.

In your previous post, you had mentioned that you were getting a DB_RUNRECOVERY error.  Is that still the case?

i had the correct password- now when i try to run bitcoin-qt i get this fatal error:

A fatal error occured. Bitcoin can no longer continue safely and will quit.

EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in Runaway exception
sr. member
Activity: 364
Merit: 250
May 30, 2012, 05:18:26 PM
#5
Also try to enter through the Bitcoin RPC

If you don't know how this may help
http://laanwj.github.com/bitcoin-python/doc/bitcoinrpc.connection.html
donator
Activity: 224
Merit: 100
May 30, 2012, 05:16:10 PM
#4
This is one of the reasons the wallet file has no business being a DB!

+1

This is something that worries me greatly... I have a lot of BTC in cold storage.

However, I have tested my wallet several times prior to doing the backups.
sr. member
Activity: 364
Merit: 250
May 30, 2012, 05:07:45 PM
#3
Did you try running pywallet on your wallet using this command? pywallet.py --dumpwallet --password=="[password]"
vip
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
May 30, 2012, 04:47:54 PM
#2
This is one of the reasons the wallet file has no business being a DB!
newbie
Activity: 14
Merit: 0
May 30, 2012, 04:46:41 PM
#1
BOUNTY OFFERED

Whenever I enter my proper passphrase to decrypt my wallet, either from the bitcoind in Terminal or in the client GUI, bitcoin-qt crashes with no error message.

Offering a fat bounty to any devs or trusted members who can help me.

Wallet is encrypted. pywallet.py does not recognize my proper passphrase.

Offering a 20-50 BTC bounty.

Thanks
Jump to: