Bitcoin crashes at startup on my wallet #13509

issue FreekPaans opened this issue on June 20, 2018
  1. FreekPaans commented at 11:11 AM on June 20, 2018: none

    What behavior did you expect?

    I expect the server not to crash.

    What was the actual behavior (provide screenshots if the issue is GUI-related)?

    Server crashes on startup

    How reliably can you reproduce the issue, what are the steps to do so?

    Using my wallet (which I obviously can't share).

    What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)?

    0.16.0, 0.16.1 on Ubuntu 16.04 0.15.1 does not crash

    Additional info

    $ bin/bitcoind -printtoconsole -addresstype=legacy
    <snip>
    2018-06-20 11:01:30 AddToWalletIfInvolvingMe: Detected a used keypool key, mark all keypool key up to this key as used
    bitcoind: wallet/wallet.cpp:4237: void CWallet::LearnRelatedScripts(const CPubKey&, OutputType): Assertion `IsSolvable(*this, witprog)' failed.
    Aborted (core dumped)
    
  2. ReneFroger commented at 2:52 PM on June 25, 2018: none

    Is the additional information from your debug log? If not so, could you share the latest entries from your debug.log please? On your Ubuntu system the debug.log file, as well as all other files are placed by default in ~/.bitcoin; If you have used -datadir to set a different data directory, debug.log will be placed there instead.

  3. MarcoFalke commented at 5:55 PM on June 25, 2018: member

    Do you remember anything "unusual" or usual you did with the wallet before upgrading to 0.16 from 0.15?

  4. FreekPaans commented at 6:18 AM on June 26, 2018: none

    @MarcoFalke no, nothing unusual. However, I forgot to mention that there's another node running the same wallet, and actually doing transactions. We use the node that we have this problem on as a "read only" node for the wallet. I think the problem lies with transactions that are made after the backup was made.

  5. FreekPaans commented at 6:22 AM on June 26, 2018: none

    @ReneFroger no, I don't see any other wallet related messages in the debug log. Also not with debug=1.

  6. jonasschnelli commented at 8:31 AM on July 19, 2018: contributor

    I think this can only happen if the private key of a corresponding key pool pubkey could not been found/accessed. @FreekPaans: you could try to run dumpwallet and inspect the output more deeply.

  7. MarcoFalke added the label Wallet on Jul 19, 2018
  8. MarcoFalke commented at 10:36 PM on May 8, 2020: member

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce?

  9. MarcoFalke closed this on May 8, 2020

  10. 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: 2026-04-21 15:15 UTC

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