shutdown throws lock error #2777

issue jgarzik opened this issue on June 19, 2013
  1. jgarzik commented at 3:51 PM on June 19, 2013: contributor

    During a short run (start, network sync, stop) of bitcoind on Linux Ubuntu 13, this was thrown on the console,

    terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
      what():  boost::lock_error
    

    And this is the last few lines of the debug log,

    2013-06-19 15:47:55 trying connection 190.2.27.221:8333 lastseen=4.7hrs
    2013-06-19 15:47:55 CTxMemPool::accept() : accepted 254d03e64db83bb0ad17e8435f4c5a7932028305789c30642fafb52f6ca20b2a (poolsz 30)
    2013-06-19 15:47:57 received getdata (2 invsz)
    2013-06-19 15:47:59 ThreadRPCServer method=stop
    2013-06-19 15:47:59 addcon thread interrupt
    2013-06-19 15:47:59 dumpaddr thread stop
    2013-06-19 15:47:59 msghand thread interrupt
    2013-06-19 15:47:59 Flush(false)
    2013-06-19 15:47:59 wallet.dat refcount=0
    2013-06-19 15:47:59 wallet.dat checkpoint
    2013-06-19 15:47:59 wallet.dat detach
    2013-06-19 15:47:59 wallet.dat closed
    2013-06-19 15:47:59 DBFlush(false) ended              10ms
    2013-06-19 15:47:59 StopNode()
    2013-06-19 15:47:59 net thread interrupt
    2013-06-19 15:47:59 Flushed 14271 addresses to peers.dat  35ms
    2013-06-19 15:47:59 Committing 33219 changed transactions to coin database...
    2013-06-19 15:48:00 Flush(true)
    2013-06-19 15:48:00 wallet.dat refcount=0
    2013-06-19 15:48:00 wallet.dat checkpoint
    2013-06-19 15:48:00 wallet.dat detach
    2013-06-19 15:48:00 wallet.dat closed
    2013-06-19 15:48:00 DBFlush(true) ended               7ms
    2013-06-19 15:48:00 connection timeout
    

    The connection timeout following DBFlush seems unusual.

  2. laanwj commented at 7:40 AM on May 16, 2015: member

    This does not have enough information for debugging, and I never managed to reproduce this. Due to frequent changes in the shutdown/init sequence I'm also unsure if it's still relevant, so closing this issue.

  3. laanwj closed this on May 16, 2015

  4. Bushstar referenced this in commit a5d2edbe04 on Apr 5, 2019
  5. DrahtBot 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-20 00:15 UTC

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