diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 19:49:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 21:50:35 -0300 |
| commit | 391c1383011f4fb84743f824c6cc29e68cc4beb7 (patch) | |
| tree | 6a647f67ec317788a2b8548bc4aee4bc97d0ab23 /dev/root.zig | |
| parent | 486f347adeed5bac6aaabe8be34e6a69bf323a62 (diff) | |
| download | pardes-391c1383011f4fb84743f824c6cc29e68cc4beb7.tar.gz pardes-391c1383011f4fb84743f824c6cc29e68cc4beb7.zip | |
ninep: a 9P open record past fs.opens_len is nothing, never read or freed: a replica client's rollback copy takes the opens only that far (faults-4, zlomnsus), so a record a session's open made over a copy taken ahead (a client idle, a script's pty/run opened and its command printed, the units kept over the copy) was left as it was when the copy went back, its line and output freed by the epoch, and the open replayed after the rollback (the client's key into the shell stopped at its pty write) freed them again in tree.open (`if (o.node != 0) o.deinit`): the client's C heap corrupt, `malloc(): unaligned tcache chunk detected` and SIGABRT at its next delta (daemon.py --clients' client C, since pardes-merge40; a user's terminal or window client typing while a script runs pty/run in the session could hit it); the line goes and open writes the record over, Namespace.deinit and forget free opens[0..opens_len]; the test, a client's key into a shell over a copy taken ahead with a pty/run kept since, aborted on the base with `free(): double free detected in tcache 2` and passes; gated with the next change on it (its description has the suites): daemon.py --clients 39 of 40 alone (the one a client D that did not say it joined again within 60 s, at a load of 6.7, no core dumped, not seen again in 77 runs of the scene) and 20 of 20 pinned to one CPU, plain 5 of 5
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/root.zig')
0 files changed, 0 insertions, 0 deletions
