Can’t Unlock My BTC Core Wallet With Correct Password #14461

issue jan2500 openend this issue on October 10, 2018
  1. jan2500 commented at 10:53 pm on October 10, 2018: none

    after my hard disk has got corrupted and my pc stopped working I purchased a new hard disk. have downloaded the bitcoin core wallet and added my backed up wallet.dat into /roaming folder. The wallet shows my correct balances and all transactions but I’m not able to unlock it with my correct password when I try to send or receive bitcoins (I did secure it with my password).

    At the beginning I thought the password/s I was using aren’t correct, but then I made an observation, that only when I type in only one specific password then I receive this message in popup:

    assertion failed«< program: C:\Program Files\Bitcoin\bitcoin-qt.exe«< File: wallet/crypter.cpp, line 205«< expression false«<

    Runtime Error«< program: C:\Program Files\Bitcoin\bitcoin-qt.exe«<

    When I enter any other passwords only message I get your password is incorrect and never receive the message in popup described above. I can use incorrect passwords all day and that message doesn’t appear at all, but as soon as I enter correct password the message is on.

    after I enter my password I expected to unlock my wallet, but that isn’t a case and instead I get an error and I’m not able to send or receive bitcoins

    This error message appears only when I type in my correct password. If I type in any other password this message doesn’t appear, but instead it tells me the provided password is incorrect. Message in a popup when a correct password is being used:

    assertion failed«< program: C:\Program Files\Bitcoin\bitcoin-qt.exe«< File: wallet/crypter.cpp, line 205«< expression false«<

    Runtime Error«< program: C:\Program Files\Bitcoin\bitcoin-qt.exe«<

    each time I enter the correct password the window with the message with an error message appears. If I type in any other (not correct) password this doesn’t happen at all. I can type 20 incorrect passwords and the error message above doesn’t popup.

    v0.17.0 Have downloaded it from bitcoin.org website

    windows 8.1 64 bit operating system 500GB SSD hard disk intel celeron cpu N2840 2.16 GHz

    I have reinstalled the wallet, deleted all files under /roaming folder (approx. 145GB), so totally clean installation. Only old file is my wallet.dat file.

    btc error

    log file.txt

  2. emilrus commented at 10:04 am on October 11, 2018: none
    Your wallet.dat is probably corrupted, do you have another backup?
  3. jan2500 commented at 12:32 pm on October 11, 2018: none
    unfortunately have only this one backup file
  4. jan2500 commented at 7:56 pm on October 11, 2018: none
    btw, have found another backup from few months earlier, but exactly the same issue as described above. I can see the difference between both back up files (dates and number of transactions). How that can be possible to have 2 back ups from 2 different dates with the same issue?
  5. ryanofsky commented at 2:30 am on October 12, 2018: member
    Haven’t looked into this yet, but even if the wallet is corrupted, we should try to show a more sensible error instead of asserting false and crashing.
  6. emilrus commented at 4:14 pm on October 12, 2018: none
    Try with an older version of bitcoin, some wallet related changes were introduced in 0.17
  7. jan2500 commented at 10:31 pm on October 12, 2018: none
    sounds reasonable. will try it. if not solved will comment here.
  8. meshcollider added the label Wallet on Oct 12, 2018
  9. meshcollider added the label Data corruption on Oct 12, 2018
  10. meshcollider commented at 11:18 pm on October 12, 2018: contributor
    @ryanofsky indeed, the error is only printed to the log but not the GUI
  11. jan2500 commented at 12:16 pm on October 22, 2018: none

    Update on a progress. Have discovered, that when my backup was made in 2013, then I had to download the bitcoin core wallet from 2013. Have literally gone through all wallet releases starting from 2018 down to 2013. Once downloaded, I clicked on ‘receive’ section and tested if that is asking for my password (note: my wallet was password protected). All wallet newer releases were still asking for my password and showed the same error described in the issue. Once I downloaded the wallet release from 2013 and clicked on the ‘receive’ section it stopped asking for my password.

    Now, I’m still downloading the blockchain files (1 year and 30 weeks left) so haven’t tried to send my btc out, which will require my password to enter. Then I will be able to fully conclude this has worked. However, so far it seems like, whenever a back up was made, then btc core wallet version must by from the same year in order to work properly. This at least applies to old wallets.

    Will write an update once whole blockchain downloaded to confirm this solution is valid.

  12. MarcoFalke referenced this in commit c7366d2399 on Nov 14, 2018
  13. jan2500 commented at 10:02 pm on December 16, 2018: none
    Problem solved. After I have downloaded old version of the bitcoin core wallet from 2013 (when I have made the backup file) then the password I used to lock my wallet has worked and wasn’t getting any error message anymore. So the conclusion is, the old back up worked with the old version of bitcoin core wallet and didn’t work with the newer version of the bitcoin core wallet
  14. MarcoFalke commented at 12:28 pm on April 26, 2020: member

    Problem solved

    Ok, closing then.

  15. MarcoFalke closed this on Apr 26, 2020

  16. deadalnix referenced this in commit b8b40a6e66 on Sep 2, 2020
  17. knst referenced this in commit 3be9f4e684 on Aug 10, 2021
  18. knst referenced this in commit 39c2c4be8a on Aug 10, 2021
  19. knst referenced this in commit 32f1460b4f on Aug 16, 2021
  20. PastaPastaPasta referenced this in commit 1809b8f038 on Aug 23, 2021
  21. MarcoFalke locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me