DbException after Ctrl+C on bitcoind.exe (Windows) #471

issue Plasma opened this issue on August 16, 2011
  1. Plasma commented at 12:39 AM on August 16, 2011: none

    Hi,

    I notice that if I run bitcoind.exe, I get the windows console as expected.

    However, pressing CTRL+C (or clicking the 'X' to close the window) causes an exception to occur:

    terminate called after throwing an instance of 'DbException' what(): DbEnv::close: Invalid argument

    This application has requested the Runtime to terminate it in an unusual way.

    Please contact the application's support team for more information.

    I realise there is a 'stop' RPC command, but would it be possible to also allow termination this way?

    Thanks

  2. Diapolo commented at 7:06 AM on July 18, 2012: none

    Can you please try the current 0.6.3 version. As for shutdown-problems the 0.7 release will be a good one. But please report back.

  3. Diapolo commented at 12:30 PM on September 21, 2012: none

    @Plasma Hey there, could you please download the latest 0.7 relase and test if this still happens and otherwise just close the issue?

  4. Diapolo commented at 6:58 AM on May 8, 2013: none

    @laanwj I guess this one can also be closed now.

  5. laanwj closed this on Nov 4, 2013

  6. Diapolo commented at 2:33 PM on November 4, 2013: none

    I remember there was some thread recently on bitcointalk, which covered this... AFAIK there is no Ctrl + C handler for bitcoind.exe, which means the crash could still be there. I don't use bitcoind, so can't verify.

  7. ptschip referenced this in commit d43d60b4f2 on Apr 28, 2017
  8. dexX7 referenced this in commit 9a2a8a4362 on May 27, 2017
  9. Losangelosgenetics referenced this in commit f8b8865cf5 on Mar 12, 2020
  10. rajarshimaitra referenced this in commit 0be40024d1 on Aug 5, 2021
  11. 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-15 15:16 UTC

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