Bitcoin-qt hang after sendrawtransaction #11721

issue laanwj opened this issue on November 18, 2017
  1. laanwj commented at 4:35 PM on November 18, 2017: member

    I did a sendrawtransaction on the GUI debug console during pretty heavy lock contention (blocks were being verified) and it seemed the debug console hanged. I tried the same sendrawtransaction again, but no response. Waited quite a long time, but even after blocks were verified there was no response.

    Shutting down, the application seems to hang forever.

    Full output from thread apply all bt here: https://0bin.net/paste/c4FhLI3Yv-OKnCVl#hJBzbgTb1sr+EYnETV4pH1NkTySGfWtsHDQ-C7YQZUW If you need any other information let me know, I'll keep the gdb session open for now.

    Looks like a RPC thread is hanging on https://github.com/bitcoin/bitcoin/blob/master/src/rpc/rawtransaction.cpp#L977 This was introduced in cb06edf938302166030db19017c27889ea5b10b6 (#10286). Running master as of d080a7d. @TheBlueMatt any idea?

  2. laanwj added the label GUI on Nov 18, 2017
  3. laanwj added the label RPC/REST/ZMQ on Nov 18, 2017
  4. TheBlueMatt commented at 8:20 PM on November 20, 2017: member

    Hmm, did you call sendrawtransaction on a transaction already in your mempool? If so #11738 should fix the issue.

  5. laanwj commented at 7:45 AM on November 21, 2017: member

    Yes, the transaction was already in the mempool. Thanks!

  6. laanwj closed this on Nov 21, 2017

  7. laanwj referenced this in commit d4267a3ab2 on Nov 21, 2017
  8. PastaPastaPasta referenced this in commit e253240311 on Jan 17, 2020
  9. PastaPastaPasta referenced this in commit e75f0df935 on Feb 12, 2020
  10. PastaPastaPasta referenced this in commit 0885d4bbdb on Mar 27, 2020
  11. PastaPastaPasta referenced this in commit 855e8b6fdb on Mar 28, 2020
  12. PastaPastaPasta referenced this in commit 9d9f8897f0 on Mar 29, 2020
  13. PastaPastaPasta referenced this in commit 01a4b9bc3e on Mar 31, 2020
  14. UdjinM6 referenced this in commit 024cbb7cc0 on Mar 31, 2020
  15. PastaPastaPasta referenced this in commit 3f16ebd70a on Apr 1, 2020
  16. ckti referenced this in commit cc6d33d760 on Mar 28, 2021
  17. DrahtBot locked this on Sep 8, 2021

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-13 15:15 UTC

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