BDB reference counting broken? #1312

issue jgarzik opened this issue on May 15, 2012
  1. jgarzik commented at 6:44 AM on May 15, 2012: contributor

    Testing on vanilla upstream (commit 790fe2e558d93572f87b7f4117a54d899903c5bf), shutdown always shows strange refcount counts:

     05/15/12 06:41:10 ThreadRPCServer method=stop
     05/15/12 06:41:10 Flush(false)
     05/15/12 06:41:10  refcount=-1054439
     05/15/12 06:41:10 addr.dat refcount=128
     05/15/12 06:41:10 blkindex.dat refcount=1054286
     05/15/12 06:41:10 wallet.dat refcount=22
     05/15/12 06:41:10 StopNode()
     05/15/12 06:41:10 ThreadOpenConnections exiting
     05/15/12 06:41:10 ThreadSocketHandler exiting
     05/15/12 06:41:10 ThreadMessageHandler exiting
     05/15/12 06:41:10 Flush(true)
     05/15/12 06:41:10  refcount=-1054440
     05/15/12 06:41:10 addr.dat refcount=129
     05/15/12 06:41:10 blkindex.dat refcount=1054286
     05/15/12 06:41:10 wallet.dat refcount=22
     05/15/12 06:41:10 Bitcoin exiting
    
  2. jgarzik commented at 7:13 AM on May 15, 2012: contributor

    Looks like a bug in one of my trees; ran the wrong binary. Sorry for the noise.

  3. jgarzik closed this on May 15, 2012

  4. suprnurd referenced this in commit 8c6f756362 on Dec 5, 2017
  5. lateminer referenced this in commit 4c2c72ad91 on Jan 22, 2019
  6. lateminer referenced this in commit f860860e4d on May 6, 2020
  7. DrahtBot locked this on Sep 8, 2021
Contributors

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:16 UTC

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