The bit flips found the framework, not the voter
Segment six flips real bits in the replicas' own memory. In one run of 64 the manager died, on a reply too short for F´'s generated code to decode.
Every fault in runs 1 to 3 was injected as a symptom: a stuck value, a hang,
a kill. Segment six of run 4 flips real bits. A thread in each replica reads
/proc/self/maps, picks a byte in proportion to region size across code,
read-only data, data, heap and stacks, checks with mincore that the page is
in memory, makes it writable with mprotect, flips one bit, and puts the
protection back. It logs the flip before it makes it, so a flip that kills
the process is still on record. Code pages are private copies, so the files
in the package never change.
Each replica is capped at 2 s of CPU and 256 KB of file writes, with no core files. Then nature picks the symptom: a crash, a hang, a wrong answer, or nothing. “Nothing chooses the symptom.” Two flips a second per replica, starting at 2 s, for 40 s, with a known-answer test on the last replica every cycle and no resets, because a reset here cannot reload a process.
At 200 flips a second, natively, one run in 64 lost the manager. A corrupted
replica had sent a reply too short to decode, and F´’s generated port code
asserted and ended the process. The voter never saw it. The fix is a filter
in the socket driver: a message must be exactly one well-formed
ReplicaReply on hub port 0, at most four a cycle. Anything else is dropped,
counted in links: dropped=, and a replica that sends only garbage looks
silent and is lost like any other. Zero manager crashes in 160 runs after.
In one run all three replicas died in the first 50 ms and the manager declined to start. That is why the flips start at 2 s.
The package is six segments and 240 seconds of caps, under the five minute rule. Three full runs in ESA’s image: 246 seconds, every exit 0, zero wrong.