Skip to content

fuzzer cannot terminate gracefully #24654

@mlugg

Description

@mlugg

Split from #24588.

When using zig build --fuzz, if the "Rebuild" button is pressed in the web UI, you will see a panic with this message:

TODO: terminate the fuzzer processes

This should be fairly straightforward to fix; I just didn't want that branch to balloon any further. There are fuzzWorkerRun tasks running which need to somehow gracefully terminate their children. Graceful termination is important to avoid the serialized fuzzer state from being left in an incorrect state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorfuzzingzig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions