summaryrefslogtreecommitdiff
path: root/test/snapshots/winch.snap
blob: d8cbb30a6520e53ef6496b6d21d27c828f64ae95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SIGWINCH crash (reported as "crash on font-size change"): resizing the outer
# terminal delivers SIGWINCH, and vaxis's default handler locks std.Io mutexes
# from signal context — landing on a thread inside an Io.Threaded syscall
# region (pty readers in read(2), main parked in queue.pop) panicked the Io
# machinery and killed pardes. Now every thread blocks SIGWINCH and a sigwait
# watcher consumes it. The in-pane kill storm below crashed pardes before the
# fix; the resize after proves the watcher still reflows the grid.
start 31 100 -n 3
stable 700 20000
key c-b
stable 600 8000
text for i in $(seq 600); do kill -WINCH $PPID; done; echo SUR''VIVED
key enter
wait 15000 SURVIVED
stable 700 15000
snap storm
resize 35 106
stable 700 15000
snap resized