public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brad Wetmore <bradfordwetmore@hotmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
Date: Tue, 25 Aug 2020 18:45:46 +0000	[thread overview]
Message-ID: <BYAPR07MB594267B17BA44BB50D757A31B6570@BYAPR07MB5942.namprd07.prod.outlook.com> (raw)
In-Reply-To: <BYAPR07MB5942E948A07C1350BB408D2CB6430@BYAPR07MB5942.namprd07.prod.outlook.com>

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



      reply	other threads:[~2020-08-25 18:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-03 22:13 Brad Wetmore
2020-08-04 10:02 ` Thomas Wolff
2020-08-05 22:56   ` Thomas Wolff
2020-08-05 23:23     ` Kevin Schnitzius
2020-08-06 11:46       ` Thomas Wolff
2020-08-06 13:31         ` Thomas Wolff
2020-08-06 14:26           ` Corinna Vinschen
2020-08-06 14:33             ` Thomas Wolff
2020-08-07 15:34               ` Takashi Yano
2020-08-11  4:59           ` Takashi Yano
2020-08-11  9:37             ` Corinna Vinschen
2020-08-11 10:02               ` Takashi Yano
2020-08-11 10:30                 ` Corinna Vinschen
2020-08-11 17:37                   ` Thomas Wolff
2020-08-12 20:27                     ` Thomas Wolff
2020-08-06 18:07 ` Brad Wetmore
2020-08-06 18:48   ` Thomas Wolff
2020-08-06 19:25   ` Brad Wetmore
2020-08-13  3:08     ` Brad Wetmore
2020-08-25 18:45       ` Brad Wetmore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR07MB594267B17BA44BB50D757A31B6570@BYAPR07MB5942.namprd07.prod.outlook.com \
    --to=bradfordwetmore@hotmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).