Bitcoin Forum
March 16, 2026, 06:19:32 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: reading walled.dat failed|Encrypted Wallet| Assertion fail  (Read 935 times)
Houdini7 (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
July 27, 2017, 01:03:30 PM
 #1

Hey guyes,

I use the Bitcoin Core Wallet in since 2 days it show up the message that it can not read the wallet.dat correctly.
My wallet is encrypted. Everytime when i want to do a transaction or unlock the wallet, there show up a new window after the password input with the message: "Assertion fail, wallet/crypter.cpp:198"

I deleted the bitcoin core and downloaded it again, tried it in Windows and Linux. And I used the recovery function of the pywallet.


Now, i dont know what i can do anymore. Huh  Undecided
Please help me if you know a solution or have an idea.

Thanks in advance!!
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3920
Merit: 7667


Just writing some code


View Profile WWW
July 27, 2017, 05:26:42 PM
 #2

Try starting Bitcoin Core with the -salvagewallet option.

Houdini7 (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
July 28, 2017, 11:56:15 AM
 #3

Hey achow,

thanks for your support.

I've tried it. But its the same issue. When i try to unlock my wallet with the right passphrase, the bitcoin core crash with the report:

Code:
bitcoin-qt: wallet/crypter.cpp:198: bool CCryptoKeyStore::Unlock(const CKeyingMaterial&): Zusicherung »false« nicht erfüllt.
Abgebrochen (Speicherabzug geschrieben)

The last two lines are in german. Translated it means: Expression "false". Storage access failure.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3920
Merit: 7667


Just writing some code


View Profile WWW
July 28, 2017, 04:34:11 PM
 #4

Do you have a backup of your wallet? If so, restore that backup.

The problem here is that the wallet file is corrupted so Core is not able to read parts of it and get the information it needs.

Houdini7 (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
July 28, 2017, 05:21:57 PM
 #5

Thanks for your advice.

Can you recommend someone how could know a solution?

Edit:

Yes I have a Backup of my wallet. But it's also encrypted and when I try to unlock it, the wallet crashes with the same failure...
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3920
Merit: 7667


Just writing some code


View Profile WWW
July 28, 2017, 06:28:08 PM
 #6

Your wallet files are corrupted, and that is what is causing the crash. Specifically, some keys are able to be decrypted, others are not, so the program exits out of an abundance of caution. This generally means that your wallet file is corrupted. To fix that, you use --salvagewallet, pywallet, or restore a backup. If none of those work, then the coins are lost.

Houdini7 (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
September 21, 2017, 01:40:40 PM
 #7

Hey friends,

thank you all for the support. I got it fixed. Extract the encrypted data and decrypt it in parts.

Best Regards
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!