MarkBlockAsInFlight segmentation fault #9241

issue rebroad opened this issue on November 30, 2016
  1. rebroad commented at 1:47 AM on November 30, 2016: contributor

    I'm getting a segmentation fault. gdb says that it is this line:-

    https://github.com/bitcoin/bitcoin/blob/bc121b0eb19713ec72002b5be03ba5ac35903a17/src/main.cpp#L457

    Looking at the debug.log, this has happened twice in similar circumstances. Each time it's immediately after receivng a cmpctblock (which was requested) where the cmpctblock is for an alternative best tip that came in after the currently established tip.

    It could be due to local changes to the code based off this point in master, so I am testing further to see if this is the case, but given the relative infrequency of this situation (obtaining compact blocks when there are two at the same height) it might take a while to track down the cause, so raising this issue in case it is not due to my changes.

    96bb43d8262cb8b814cb68f0e10fe8a2fe141c05 and c37bbe778b25a4cc55eefdd1ab09c3a65ccf5e9a (two changes I made locally) might be to blame for this, so will test without these commits.

  2. rebroad closed this on Nov 30, 2016

  3. 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-22 18:15 UTC

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