Recursive mutex error at close up with an unlocked encrypted wallet #2704

issue rdponticelli opened this issue on May 29, 2013
  1. rdponticelli commented at 1:17 AM on May 29, 2013: contributor

    I've seen this error twice at close up, after importing/exporting keys on wallets:

    bitcoin-qt: /usr/include/boost/thread/pthread/recursive_mutex.hpp:67: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed. Aborted

  2. laanwj commented at 5:39 AM on May 31, 2013: member

    Uh oh, likely another shutdown order issue.

  3. rdponticelli commented at 4:20 PM on June 8, 2013: contributor

    Looks like this is happening when you close the program with an encrypted wallet which remains unlocked.

    The issue is reproducible.

  4. rdponticelli commented at 4:21 PM on June 8, 2013: contributor

    Oh, and it also happens on v0.8.2-beta final.

  5. laanwj commented at 3:13 PM on November 12, 2013: member

    There seems to be a few issues regarding wallet related pthread_mutex_lock( assertions, though not obvious duplicates: #2472, #2375, #1663

  6. ghost assigned laanwj on Jan 17, 2014
  7. laanwj commented at 4:15 PM on January 17, 2014: member

    Should be solved in master, as we use boost::asio deadline timers to keep track of re-locking the wallet. Also tested this and it works fine.

  8. laanwj closed this on Jan 17, 2014

  9. MarcoFalke locked this on Sep 8, 2021
Contributors
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-17 21:16 UTC

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