Commit aa27885
committed
test: quarantine rare MpscShm torn-read repro (brain 1334)
partial_write_concurrent_writers_no_partial_data reproduces a rare torn
read in the multi-producer SHM ring: send_shm_mp_pod's non-binding
capacity gate lets a producer lap the ring and overwrite an unread slot,
and recv_shm_mpsc_pod reads without a seqlock re-check, so it can return
a torn [u64;4]. Fails ~1/5 only under full-suite contention (25/25 clean
standalone even under CPU load). Distinct from 1333 and from the fanout
seqlock work.
Correct fix is a loom-gated seqlock treatment of the MPSC protocol
(writing-marker + re-check) or a binding capacity gate — a core IPC
hot-path change not to be rushed. #[ignore]'d with a ref to insight 1334
until then (CI green; bug tracked, not silently masked).1 parent 1e1f269 commit aa27885
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8428 | 8428 | | |
8429 | 8429 | | |
8430 | 8430 | | |
| 8431 | + | |
| 8432 | + | |
| 8433 | + | |
| 8434 | + | |
| 8435 | + | |
| 8436 | + | |
| 8437 | + | |
8431 | 8438 | | |
8432 | 8439 | | |
8433 | 8440 | | |
| |||
0 commit comments