deadlock with wrong system date/time and non-empty wallet #15598

issue EvgenijM86 opened this issue on March 14, 2019
  1. EvgenijM86 commented at 6:09 AM on March 14, 2019: none

    I have encountered a deadlock in bitcoin-qt on Manjaro Linux IF you have a wrong system date (enough to trigger this message - "Please check that your computer's date and time are correct!") AND if your wallet is not empty. It seems it tries to read transactions in:

    TransactionRecord *index(interfaces::Wallet& wallet, int idx)
    {
    ...
                if (wallet.tryGetTxStatus(rec->hash, wtx, numBlocks, adjustedTime) && rec->statusUpdateNeeded(numBlocks)) {
                    rec->updateStatus(wtx, numBlocks, adjustedTime);
    }
    

    while displaying the warning message box and somehow deadlocks cs_nTimeOffset. The effect is that the message box pop-ups but you cannot click it and program does not react in any way.

  2. fanquake deleted a comment on Mar 21, 2019
  3. MarcoFalke added the label Wallet on Mar 21, 2019
  4. MarcoFalke added the label good first issue on Mar 21, 2019
  5. MarcoFalke commented at 8:48 PM on March 21, 2019: member

    Confirmed that the issue also exists on master 81f732bcaa30edcc16a0d85e3d56e7a1d4845ae1 only with wallet enabled.

  6. MarcoFalke renamed this:
    [0.17.1] deadlock with wrong system date/time and non-empty wallet
    deadlock with wrong system date/time and non-empty wallet
    on Mar 21, 2019
  7. MarcoFalke removed the label good first issue on May 21, 2020
  8. MarcoFalke removed the label Wallet on May 22, 2020
  9. MarcoFalke added the label GUI on May 22, 2020
  10. hebasto commented at 10:58 AM on August 6, 2022: member

    Moved to bitcoin-core/gui#643.

  11. hebasto closed this on Aug 6, 2022

  12. fanquake deleted a comment on Aug 20, 2022
  13. MarcoFalke locked this on Aug 20, 2022
Labels

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 18:14 UTC

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