Re: cygwin.dll: bug with select on Windows console / 2.4.0-0.19

2016-01-14 Thread Corinna Vinschen
On Jan 14 16:01, Thomas Wolff wrote: > I have retested some past problems of select with -0.19 and found no > regression issues. Thank you, that's good to know! Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT

Re: cygwin.dll: bug with select on Windows console / 2.4.0-0.19

2016-01-14 Thread Thomas Wolff
I have retested some past problems of select with -0.19 and found no regression issues. Thomas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: cygwin.dll: bug with select on Windows console

2016-01-12 Thread john hood
On 1/11/16 4:37 AM, Corinna Vinschen wrote: > On Jan 10 05:04, John Hood wrote: >> On 1/9/2016 9:41 AM, Corinna Vinschen wrote: >>> I fixed the code and took the opportunity to clean it up a >>> little using basically the (fixed) patch I proposed two days ago. I've just uploaded

Re: cygwin.dll: bug with select on Windows console

2016-01-12 Thread Corinna Vinschen
On Jan 12 12:27, john hood wrote: > On 1/11/16 4:37 AM, Corinna Vinschen wrote: > > On Jan 10 05:04, John Hood wrote: > >> On 1/9/2016 9:41 AM, Corinna Vinschen wrote: > >>> I fixed the code and took the opportunity to clean it up a > >>> little using > basically the (fixed) patch I proposed

Re: cygwin.dll: bug with select on Windows console

2016-01-11 Thread Corinna Vinschen
On Jan 10 05:04, John Hood wrote: > On 1/9/2016 9:41 AM, Corinna Vinschen wrote: > >I fixed the code and took the opportunity to clean it up a little using > >>basically the (fixed) patch I proposed two days ago. > >> > >>I've just uploaded new developer snapshots tohttps://cygwin.com/snapshots/ >

Re: cygwin.dll: bug with select on Windows console

2016-01-09 Thread Corinna Vinschen
On Jan 8 15:58, john hood wrote: > On 1/8/16 11:29 AM, Corinna Vinschen wrote: > > On Jan 7 13:18, John Hood wrote: > >> Sorry about forgetting the testcase (which was good, actually, that > >> version had a bug). I've attached it here. This takes a single > >> argument, the timeout value for

Re: cygwin.dll: bug with select on Windows console

2016-01-09 Thread Corinna Vinschen
On Jan 9 15:36, Corinna Vinschen wrote: > On Jan 8 15:58, john hood wrote: > > On 1/8/16 11:29 AM, Corinna Vinschen wrote: > > > On Jan 7 13:18, John Hood wrote: > > >> Sorry about forgetting the testcase (which was good, actually, that > > >> version had a bug). I've attached it here. This

Re: cygwin.dll: bug with select on Windows console

2016-01-09 Thread John Hood
On 1/9/2016 9:41 AM, Corinna Vinschen wrote: I fixed the code and took the opportunity to clean it up a little using >basically the (fixed) patch I proposed two days ago. > >I've just uploaded new developer snapshots tohttps://cygwin.com/snapshots/ >and a new test release 2.4.0-0.17 which

Re: cygwin.dll: bug with select on Windows console

2016-01-08 Thread john hood
On 1/8/16 11:29 AM, Corinna Vinschen wrote: > On Jan 7 13:18, John Hood wrote: >> Sorry about forgetting the testcase (which was good, actually, that >> version had a bug). I've attached it here. This takes a single >> argument, the timeout value for select() in microseconds. A value of >>

Re: cygwin.dll: bug with select on Windows console

2016-01-08 Thread Corinna Vinschen
On Jan 7 13:18, John Hood wrote: > Sorry about forgetting the testcase (which was good, actually, that > version had a bug). I've attached it here. This takes a single > argument, the timeout value for select() in microseconds. A value of > 100 is fine for testing this issue. Type at it,

Re: cygwin.dll: bug with select on Windows console

2016-01-07 Thread John Hood
Sorry about forgetting the testcase (which was good, actually, that version had a bug). I've attached it here. This takes a single argument, the timeout value for select() in microseconds. A value of 100 is fine for testing this issue. Type at it, or just bang on the keyboard with random

Re: cygwin.dll: bug with select on Windows console

2016-01-06 Thread Mark Geisert
john hood wrote: I've attached a little demo program for the bug. Compile, run as "socket-t 1000" (the argument is the number of microseconds select() should wait), and mash keys on the keyboard for a little while. It should report errors within 100 keystrokes. I think there might be a

Re: cygwin.dll: bug with select on Windows console

2016-01-02 Thread Mark Geisert
John Hood wrote: More observations: * This also happens on a Windows 8.1 VDI install with a different AV/security solution-- different enough from my machine that I don't think the Windows/app environment is the cause of this, it looks more strongly like a Cygwin issue to me. *

Re: cygwin.dll: bug with select on Windows console

2016-01-01 Thread John Hood
More observations: * This also happens on a Windows 8.1 VDI install with a different AV/security solution-- different enough from my machine that I don't think the Windows/app environment is the cause of this, it looks more strongly like a Cygwin issue to me. *

cygwin.dll: bug with select on Windows console

2015-12-27 Thread john hood
Hi all, I'm one of the Mosh maintainers. Recently a user reported a problem where Mosh exits suddenly soon after startup while he is typing at it, see . The problem turns out to be that occasionally, select() times out, returns 0 as it should,