Re: poll: hangs when polling closed fd for POLLHUP

2021-10-29 Thread Anton Lindqvist
On Fri, Oct 29, 2021 at 09:13:58AM +0100, Larry Hynes wrote: > Hi > > In last two snapshots I installed, poll seems to hang in certain > circumstances. > > Here's a reproducer, from Leah Neukirchen (cc'ed on this mail): > > -- > > #include > #include > #include > > int > main() > { >

Re: poll: hangs when polling closed fd for POLLHUP

2021-10-29 Thread Martin Pieuchot
On 29/10/21(Fri) 10:50, Anton Lindqvist wrote: > On Fri, Oct 29, 2021 at 09:13:58AM +0100, Larry Hynes wrote: > > Hi > > > > In last two snapshots I installed, poll seems to hang in certain > > circumstances. > > > > Here's a reproducer, from Leah Neukirchen (cc'ed on this mail): Thanks, do you

Re: poll: hangs when polling closed fd for POLLHUP

2021-10-29 Thread Leah Neukirchen
Martin Pieuchot writes: > On 29/10/21(Fri) 10:50, Anton Lindqvist wrote: > >> On Fri, Oct 29, 2021 at 09:13:58AM +0100, Larry Hynes wrote: >> > Hi >> > >> > In last two snapshots I installed, poll seems to hang in certain >> > circumstances. >> > >> > Here's a reproducer, from Leah Neukirchen (

Re: poll: hangs when polling closed fd for POLLHUP

2021-10-29 Thread Martin Pieuchot
On 29/10/21(Fri) 14:47, Martin Pieuchot wrote: > On 29/10/21(Fri) 10:50, Anton Lindqvist wrote: > > On Fri, Oct 29, 2021 at 09:13:58AM +0100, Larry Hynes wrote: > > > Hi > > > > > > In last two snapshots I installed, poll seems to hang in certain > > > circumstances. > > > > > > Here's a reproduc

Re: poll: hangs when polling closed fd for POLLHUP

2021-10-29 Thread Anton Lindqvist
On Fri, Oct 29, 2021 at 04:08:39PM +0200, Martin Pieuchot wrote: > On 29/10/21(Fri) 14:47, Martin Pieuchot wrote: > > On 29/10/21(Fri) 10:50, Anton Lindqvist wrote: > > > On Fri, Oct 29, 2021 at 09:13:58AM +0100, Larry Hynes wrote: > > > > Hi > > > > > > > > In last two snapshots I installed, poll