bitcoind exits with SIGPIPE after Ctrl+C in bitcoin-cli #6660

issue paveljanik openend this issue on September 11, 2015
  1. paveljanik commented at 9:04 am on September 11, 2015: contributor

    Current master, OS X self built.

    bitcoind exits after I press Ctrl+C in the other terminal after running the command

    0bitcoin-cli getrawmempool true
    

    The output of the command is quite large right now… When I press Ctrl+C, the bitcoind running in the other terminal window will exit. The exit code is 141 (141-128 = 13, SIGPIPE).

    When the mempool gets large enough, ie. cca 30000 txs, I can reproduce with cca 30% probability.

    Looks like new libevent based webserver doesn’t handle SIGPIPE correctly.

  2. jonasschnelli commented at 9:45 am on September 11, 2015: contributor
    Confirmed. Needs fixing.
  3. laanwj referenced this in commit 5ce43da03d on Sep 18, 2015
  4. laanwj closed this on Sep 21, 2015

  5. MarcoFalke 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: 2024-10-05 04:12 UTC

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