ci: libFuzzer disabled leak detection after every mutation #32681

issue fanquake openend this issue on June 5, 2025
  1. fanquake commented at 9:51 am on June 5, 2025: member

    https://cirrus-ci.com/task/4646509657980928?logs=ci#L91

    0[05:44:30.094] INFO: libFuzzer disabled leak detection after every mutation.
    1[05:44:30.094]       Most likely the target function accumulates allocated
    2[05:44:30.094]       memory in a global state w/o actually leaking it.
    3[05:44:30.094]       You may try running this binary with -trace_malloc=[12]      to get a trace of mallocs and frees.
    4[05:44:30.094]       If LeakSanitizer is enabled in this process it will still
    5[05:44:30.094]       run on the process shutdown.
    

    Happening in at least txgraph & transaction. Not sure I’ve seen this before.

  2. fanquake added the label Tests on Jun 5, 2025
  3. maflcko commented at 9:56 am on June 5, 2025: member
  4. MkDev11 commented at 0:40 am on February 16, 2026: none
    Hey @fanquake, I’d like to fix this by passing -detect_leaks=0 to the fuzz binary in test/fuzz/test_runner.py (same idea as #31481), so leak detection only runs at process exit. I’d add it in the run_once and generate_corpus code paths (and optionally merge_inputs). Is this approach okay before I open a PR?
  5. maflcko commented at 12:40 pm on February 17, 2026: member
    Can this be closed?
  6. fanquake commented at 12:41 pm on February 17, 2026: member
    Yea I think so.
  7. fanquake closed this on Feb 17, 2026

  8. fanquake added the label Fuzzing on Feb 17, 2026

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-03-03 00:13 UTC

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