libevent erroneously detects kqueue bug on macOS 10.12 #8818

issue fanquake opened this issue on September 27, 2016
  1. fanquake commented at 2:01 AM on September 27, 2016: member
    src/qt/bitcoin-qt
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    

    Seems to be this bug in libevent.

    Opening an issue to track this as the warning could be a bit scary if it's ever output to users.

  2. fanquake added the label MacOSX on Sep 27, 2016
  3. fanquake added the label Upstream on Sep 27, 2016
  4. laanwj commented at 5:56 AM on September 27, 2016: member

    At some point (don't know when, maybe even for 0.14) we probably want to build with the libevent 2.1.x series by default, which entered its beta phase start of 2015 and will likely be final "any day now". This will make some other things possible in the official build, too:

    • [WIP] rest: Stream entire utxo set #7759
    • bitcoin-cli: More detailed error reporting #8722
  5. jonasschnelli commented at 6:40 AM on September 27, 2016: contributor

    @fanquake: is the brew version of libevent patched? Or is our build on OSX 10.12 broken (i'm still on 10.11).

  6. fanquake commented at 6:58 AM on September 27, 2016: member

    @jonasschnelli Looks like homebrew libevent stable (2.0.22) has been patched.

  7. RCasatta commented at 9:51 AM on December 2, 2016: none

    since I had 2.0.22 version of libevent I had to remove and reinstall it to include the patch cited by @fanquake

    brew update
    brew uninstall --ignore-dependencies libevent
    brew install libevent
    

    I can confirm after the error isn't showed anymore

  8. Thirudhas commented at 3:06 PM on January 5, 2017: none

    Hi, Anyone has any update on the below issue in MacOS 10.12. "[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0 Jan 05, 2017 8:20:18 PM org.openqa.selenium.os.UnixProcess destroy"

  9. fanquake commented at 2:06 AM on January 12, 2017: member

    Going to close this.

    Homebrew's libevent stable has been patched for this, and the 2.1.x branch doesn't have the issue (2.1.7-rc installed with --devel).

    Also, now that libevent 2.1.7-rc is being used in depends, this should no-longer be a problem.

  10. fanquake closed this on Jan 12, 2017

  11. 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: 2026-04-17 00:15 UTC

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