Hey Hiltjo, On 06/29/24 12:21PM, Hiltjo Posthuma wrote: > The example below doesn't seem to deadlock for me however.
Huh. on 5dbcca, it always hangs on a write to the TTY & never seems to return for me: ... pselect6(6, [5], [5], NULL, NULL, {sigmask=NULL, sigsetsize=8}) = 2 (in [5], out [5]) write(5, "y\ry\ry\ry\ry\ry\ry\ry\ry\ry\ry\ry\ry\ry\ry\ry\r"..., 4291 full strace: https://www.jer.cx/pasta/FM0.gz On my other machine it takes 10-million to produce the same behavior. Could just be my kernel. it looks like the X11 fd is left open to the child process by the way Jeremy