diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-daemon.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md index b1ee51d5..6dfa799c 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -4354,3 +4354,24 @@ Not done, and why: - The window's present is its frame (a software present in the test, up to a frame): a prediction is drawn in the same pass as its key, so it cannot come sooner than the window's own frame. + +After the line, the hunt's H21 (a client's normal end aborted): +- **A closed terminal brought back put its emulator on the rollback + epoch.** Both clients still alive at a box soak's end died at their + hangup with `double free or corruption (!prev)` in `Epoch.deinit`; a + local soak at 207 ms did it in 2.5 min, `free(): invalid pointer` in a + terminal's screen replica's teardown at a rejoin. A terminal closed and + brought back (Panes, `Look @p<n>`) is loaded by `dump.loadPane`, which + named no `.terminal` allocator, so on a screen-state replica its + emulator was made with the core's, the epoch's, against `State.gpa`'s + rule. Its screen replica's blobs (`apply`, with `State.gpa`) were the + epoch's then, freed with the C heap's at the end behind its back, and + freed again by the epoch; a delta under a held copy made them born in + it, and a rollback freed them, and the emulator's pages, from under it. + - Fix: `terminal.emulatorGpa`, `create`'s rule, is `loadPane`'s + `.terminal` too. + - Test: replica.zig's closed terminal brought back on a screen-state + replica, its State not the epoch's (failed before). The local soak at + 207 ms, ReleaseSafe (before, on lppumkvm, both its clients aborted): + 2.5 min, both end 0; 4 min at seed 32, four clients, none aborts (its + one breach, a window's panes gone from its view, is not this one). |
