Re: [hackers] [st][PATCH] remove secondary call to select

From: Jeremy <jer_AT_jer.cx>
Date: Sat, 29 Jun 2024 05:57:23 -0700

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
Received on Sat Jun 29 2024 - 14:57:23 CEST

This archive was generated by hypermail 2.3.0 : Sat Jun 29 2024 - 15:00:38 CEST