#13 m5 run_in_stdin races early-exit child (EPIPE flake)

closeddogfoodopened
details
updated
id
49d724b4-cf00-4ac9-9bac-1b22c71f3ad8

m5.rs run_in_stdin does write_all(input).unwrap() on child stdin. When the child exits early (e.g. wiki put ../evil usage check before stdin read), the write races child exit -> BrokenPipe panic (~1/10 under parallel load). Fix in harness: ignore EPIPE on stdin write; exit-code/output assertions still verify behavior.

Comments (0)

No comments yet.

all issues