Race condition hangs on multiple mintty/tcsh? Brad Wetmore

Brad Wetmore bradfordwetmore@hotmail.com
Tue Aug 25 18:45:46 GMT 2020


Just installed the latest cygwin (3.1.7-1), and my issue seems to be solved.  Thanks to Thomas, Kevin, Corinna, and Takashi for looking in it.

Brad

________________________________
From: Brad Wetmore <bradfordwetmore@hotmail.com>
Sent: Wednesday, August 12, 2020 8:08 PM
To: cygwin@cygwin.com <cygwin@cygwin.com>
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore

Hi Carinna/Thomas/Takashi,

> > > > > > Does anybody familiar with pty/select or recent changes have any idea?
> > > >
> > > > I looked into this problem. After much struggle, I think
> > > > I have found a workaround for this issue.
> > > >
> > > > I am not sure why this solves the issue at all, however,
> > > > this works for me.
> > > >
> > > Could you please test a patch attached?
> > >
> > > Shall I commit the patch and create a developer snapshot for testing?
> >
> > Thanks so much. That would be more convenient for potential testers.
>
> Done.  Please try the latest snapshot from https://cygwin.com/snapshots/

Thanks all for looking into this.  I dropped the .dll into my c:\cygwin64\bin directory and wasn't able to reproduce over 5 reboots.  The minute I put back the original .dll, it failed again.

Let me know if there's anything else I can do to help.

Best to you all,

Brad


________________________________
From: Brad Wetmore <bradfordwetmore@hotmail.com>
Sent: Thursday, August 6, 2020 12:25 PM
To: cygwin@cygwin.com <cygwin@cygwin.com>
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore


Thomas Wolff wrote:
> You had previously reported the issue without ssh involved. Does this
> make it reproducible more often? Otherwise let's not make things
> unnecessarily complicated.

I didn't mention it originally because I didn't expect that would have an impact, but then I successfully tried 4 times with the ssh-agent/sleep 3.  That's when I sent the email with what seemed to be a good workaround.

But after trying it the 5th time following your email, 1 of the 10 didn't pass.  🙁
I took out the ssh, and am seeing it there too, so that was not the issue.  Drat.

So the delay helped, but didn't completely solve the problem.  I have been stalling before starting the cygwin termincal/script for some minutes after a reboot, but that doesn't seem to make a difference either.

I can send you the script if you want to play with it.

Brad




More information about the Cygwin mailing list