Skip to content

libreoffice failing check_build in test_all with simultaneous checks #5441

@caolanm

Description

@caolanm

The libreoffice builds have been flagged as broken for quite a while with crashes in the afl++ bad_build checks with the typical "Whoops, the target binary crashed suddenly, before receiving any input from the fuzzer!" error.

I can reproduce locally testing the full set of of ~45 fuzzers with
python infra/helper.py check_build --sanitizer address --engine afl --architecture x86_64 libreoffice
but on testing just one at a time each passes ok. I have determined that the problem seems to be triggered by running multiple fuzzers in parallel by test_all in infra/base-images/base-runner/test_all.py

If I (on an 8core 32G) limit running them in parallel by changing...

pool = multiprocessing.Pool()

to

processes = max(1, os.cpu_count() // 4) # so just 2 for me locally
pool = multiprocessing.Pool(processes)

then all the bad_build checks pass successfully, with 4 processes there tends to be some failures, and more failures the larger I allow the parallelization

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions