libevent: Error from accept() call: Invalid argument on Android termux (arm) #19432

issue stefanwouldgo opened this issue on July 2, 2020
  1. stefanwouldgo commented at 3:10 PM on July 2, 2020: contributor

    After running for an undetermined time (days), bitcoind starts emitting thousands of these errors per second: libevent: Error from accept() call: Invalid argument this eventually crashes the Android device because the log fills up the SD card.

    Expected behavior

    just run on. This had not occured before 0.20.

    To reproduce

    I don't know what triggers this. I have reproduced it a few times by just letting the node run for a few days.

    System information

    termux package bitcoin-0.20. As described by the build script here. Build includes static dependencies from the official bitcoind dependency tree.

    Running on LineageOS 16 (Android 9) unofficial on a Sony Xperia Z (yuga) device.

  2. stefanwouldgo added the label Bug on Jul 2, 2020
  3. stefanwouldgo commented at 8:12 AM on September 14, 2020: contributor

    The bug can be reproduced for example by simply turning off wifi on the device for a moment (or otherwise disturbing network connectivity). It is still present in 0.20.1. Also has been reproduced on a Motorola G5 running stock Android 8.1, so it's not a problem of the specific ROM or LineageOS in general.

  4. willcl-ark commented at 2:20 PM on February 14, 2023: contributor

    Since this was reported:

    • There have been no additional reports of occurance
    • Lineage OS has been updated from v16.0 to v20.0
    • Bitcoin Core has been updated from v0.20 to v24.0.1
    • libevent in Bitcoin Core depends was updated to 2.1.12-stable (which their script appears to use)

    (and is anyone still running a full node on Android phone) @MarcoFalke perhaps this can be closed?

  5. maflcko commented at 2:25 PM on February 14, 2023: member

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce?

  6. maflcko closed this on Feb 14, 2023

  7. bitcoin locked this on Feb 14, 2024

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-29 03:14 UTC

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