diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 10:13:10 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 94343583eb6aefa8f421083409256c877aad036e (patch) | |
| tree | 7e5417c3bfcda1b005384d5deee8433651a43c4f /src/linux | |
| parent | 704af30412063c5efd61d8d54f843bf7fb750811 (diff) | |
| download | pardes-94343583eb6aefa8f421083409256c877aad036e.tar.gz pardes-94343583eb6aefa8f421083409256c877aad036e.zip | |
A terminal's rows asked for after its cached rows were dropped, before the step's sweep, are scratch: the cached ones are freed, not overwritten
dropPane clears the rows cache's pane but keeps its allocations until the next step's sweep, since they may still be borrowed. shellRows took a cache with no pane as free and wrote a new gpa-built entry over it, leaking the old one: the 9P monkey's seed 109 (a look searching a terminal after its pane was torn down in the same step) ended its session with the debug allocator's leak panic. A slot still holding rows now gets scratch rows, as one holding another pane's already did. A unit test drops and asks again under the testing allocator (it leaks without this).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/linux')
0 files changed, 0 insertions, 0 deletions
