Race conditions in BerkeleyEnvironment #14850

issue promag opened this issue on November 30, 2018
  1. promag commented at 2:45 PM on November 30, 2018: member

    I believe we should add concurrency control to BerkeleyEnvironment members, especially when a wallet is created from CWallet::CreateWalletFromFile - the BerkeleyDatabase instance is added to BerkeleyEnvironment::m_databases without any lock held.

    From #14552 (review).

  2. fanquake added the label Wallet on Nov 30, 2018
  3. practicalswift commented at 11:17 PM on December 2, 2018: contributor

    FWIW TSan complains about races in BerkeleyEnvironment when running the unit tests.

    See output from ./configure --with-sanitizers=thread && make check

  4. promag closed this on Apr 26, 2020

  5. DrahtBot 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