delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/25/14:46:39

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B019A386189C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1598381155;
bh=KI85YQL3DwsT+e8T1J5zKVcuQVUNkhHh4jNV3sLebkA=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=V/zUKRDq0153VL23joYtnXbJ0rXPYdUKzPNcqE/tuMh1PEcLkn1m+LGdBnXkk9AXm
rfzydvKpQ183/tqrsNpzXiB8iG1k1k4dA7eHIA5SqZaRnEkWN6M9lvJSESuIlp2UPf
1jIAJmmSOsK56iVFJ+NSTsNJn+ddqaQf7vsptwBs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CD9AD3857807
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=I1nPsr2PF0tx/TsY5ON64+N1ZE1bGXF0ytDv2D5UD0MhNDT2d/8C1amKvu1yDkF18EUDM0Xus9oEPJG2jrpq7uZMj0H3VE78MRGLddSWoL3b4yZZ2x4wqsqT8Od1o1jCeo5odREvug/EsOAkPgVeMw9mcfTNwSut2q2ax3x4LHqxNQKNcvzbMJ+C3ttyd3JUNORnM0PdkgxGvGX6gZKCjRmgJL7CLX4KDQJiq7zgqTo89pcilJPA8oGWTwRkXa8sgrMztZYDwLLk5BizC4jJ5YeVL+7UIVgUuwfPVt+5ksKnGVVnqBagp+xVTI72f1q/WkvNT6hVUeKXy27+xIA7Ig==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=LWdnWeZ3lyYYVDVzWyH1LYC3pum+frjQtt0gyDNccns=;
b=kYqxp2X1fZrlT8WeMdQsMs3lsFPyvwdxWl7/TkI2AtCd9MHfRR2JVYdqOOLe+mZocBqZUTPckadkZljFLAi8SwWnth/oroewdYBzjJxdSR/Db57Osdgo30v2ZR7Ma09/ttJhTnAjXnSZEQ0KpsCfcySDgOTMtdT3Xc7GGYyTz6S6WK8ExqwkESW8DCxSVeSp43pEYrzDf+3aRMqxKWmVmJ7YfP0LYA75vhRp5tJrV9LSVk21v4u/EPuyZ2b3mh7x6fh/lUTjn5tzXhy2gZme+NHHdK7YKvwPp/BLsoF7f2dIN3xCruphRqMcSU2ij6MgRd0eA6Z8h/K+mYqE/goXxA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
Thread-Topic: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
Thread-Index: AQHWaeMcEUs4G39yG0GOUgNgBeXLv6krY4v+gAAQHUeACfSyioAT4rhF
Date: Tue, 25 Aug 2020 18:45:46 +0000
Message-ID: <BYAPR07MB594267B17BA44BB50D757A31B6570@BYAPR07MB5942.namprd07.prod.outlook.com>
References: <BYAPR07MB59428411CD00101EF02400B4B64D0 AT BYAPR07MB5942 DOT namprd07 DOT prod DOT outlook DOT com>,
<BYAPR07MB59421E727E0CC742E4A4DA41B6480 AT BYAPR07MB5942 DOT namprd07 DOT prod DOT outlook DOT com>,
<BYAPR07MB594255B495EE6D15EE8F0EC1B6480 AT BYAPR07MB5942 DOT namprd07 DOT prod DOT outlook DOT com>,
<BYAPR07MB5942E948A07C1350BB408D2CB6430 AT BYAPR07MB5942 DOT namprd07 DOT prod DOT outlook DOT com>
In-Reply-To: <BYAPR07MB5942E948A07C1350BB408D2CB6430@BYAPR07MB5942.namprd07.prod.outlook.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:784B8BE5DA86451B264AF97A28D83A251D70B1385B11EFBCA7C9E8EDD2900C37;
UpperCasedChecksum:9169526A7086C60091A8D1D7E7C502CFB4E060C109325C654C784DC3A358F5AD;
SizeAsReceived:7328; Count:44
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [g7KcFThXqoK22B8ILs04mevXz5BEbkWsU2b5eUn/r8Az+ZMXUnORFmYNuftbGzuW]
x-ms-publictraffictype: Email
x-incomingheadercount: 44
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 44c42f69-10d4-43d9-e5a3-08d849271452
x-ms-traffictypediagnostic: BN8NAM12HT022:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 0MF/3lQu8Mu5SzI++2+g8U3uL7UCbDYighOFqIDVYO/ih4WAqCduevQCcjorrCohFDb0xReTucKDzt6Ab6AyoT4jkD/4Ny1Qst9W44aeTNj0gaC3svVnFALar+62UL+qspiutWig4hMDfmbkG7+cRHRYi/BYi/eTAg9tu9WFuDWFcUQCDbE3ncswd1lkYzPoNsm+o4aI2r9eU4FqHyg1xEOt747yPrI01obcfLAYCaf2LOQREHK3GdUrzt/MyFxx
x-ms-exchange-antispam-messagedata: ULo4lePOizREEZbAFq9i6SoQVQ4ln41Px4dWMAO2I8mFaA9ZHZ9DNgEkTCfJO/Z3EGwqjZ1AQuyjBR6zLRyKDe5EYS9T2L/dlimSnVyRxaP3LnJuJjq49DJoCX+t3kbI6FHTmOrKyacoTgIk8Cc9Ah6Fu3Lt3DFeQpW2dbdfRkJGUYAeSNeZPgFvWQM1sPdKD5tx3CCbTH8aj3Zdsg0C1Q==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-AuthSource: BN8NAM12FT024.eop-nam12.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 44c42f69-10d4-43d9-e5a3-08d849271452
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2020 18:45:46.6084 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM12HT022
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brad Wetmore via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Brad Wetmore <bradfordwetmore AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 07PIkLag009562

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 AT hotmail DOT com>
Sent: Wednesday, August 12, 2020 8:08 PM
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT 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 AT hotmail DOT com>
Sent: Thursday, August 6, 2020 12:25 PM
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT 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


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019