delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/12/23:09:12

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 78B823851C0E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1597288106;
bh=gM4lCJ+tWObhIX+OAgY2qBDeTG/0UO1SFZQl0NGTl84=;
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=iNtyq3JAdJ4PJ9QGFic0LhOB6SraRSREtpqlGSl8Pv1DSj9Nf+DWIRj9b4wSoHNeZ
HpW/DAQyAFnRh8nwfhaNmbbGc0UGtCvHxVKKX75ABBawADFwgUBaB9LfpslWpD9ByH
5K0yFiLbCFtXIRBRw9D3oVkNHUF6MdxkjgNB1aYE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 642103858D38
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=ab+3NHr3QaPiiEpu5tW9SN460nzgZMKsACYBjXSx8ZaORI4EXS7dkJYlnDHM8BzEdOnhcLf8O0c6bUsau5c5ax587hHtI4RWUyBTmvBLARPbbdPDbRG5XeJO45/tOlxJ2Ee5eX5bDwk3JQKL0ZZF3BqlnnnuWbRPOyYuYZlG2nJJjT1JBl0lL7hdAVA13mCmvJmB8cdh70h0wLPSCc/jPHgKwgEahAQ1NjExQvbMiOnp2sas9u5iCt2/o/J+lFfqv3DSlTbJd6W8U5+HKc0SsnpyAMhgzn5bg9TmA5iiNsmbTTvzyB7gHhKcFVFIdbCD9sq8a8+LGphga6sjdQT6Pg==
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=9sJml6k3IW/WuBYBF0mXDCi9Gv0Gc9wWt9wcwBC2VkY=;
b=HMviJJl4PPE7rcAw5DVg75//5LoXJ/ij94TPb69FYGgjr9VUvP6eblX7k8SE99TdZjTeR3e65UenGbLetmNTZDied428yzNeU7utQty61Xn8T2Z739T2rzg2WXUR+vrxaFVVZFhhFdrE3E0gt2mvHjqWfpZ+lE4Egwqm9YU2tXOXibQ5zQohN9GwztV0aFHVyp6XknnLTuVcw7EHESb7IJsn7wk27JUkglLec+v1KCeahkbZV46AQW9k/7OQwY90tx6k7izZBuVtP/JMmAkxz9JsW0/b93sQOPzv2LcDaOP7dYQ0eg2AHbCE13CHNVRLUen/ZLbJsnrVL00kVlbQwA==
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+gAAQHUeACfSyig==
Date: Thu, 13 Aug 2020 03:08:22 +0000
Message-ID: <BYAPR07MB5942E948A07C1350BB408D2CB6430@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>
In-Reply-To: <BYAPR07MB594255B495EE6D15EE8F0EC1B6480@BYAPR07MB5942.namprd07.prod.outlook.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:06F054731FE97D3E212802523492D0C71441BAFD8A9027FCB72635DA2CDD410D;
UpperCasedChecksum:83267A6D6DD4B3CA86D40307B83C30127ABCCE619FB72FD3C357C1A315651C24;
SizeAsReceived:7287; Count:44
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [TY7r7yyGhTLr/7Nc6WxzPymEhd90o2wOHvUgofUDh2wscjmE/Ru/fKg05X7PROHc/QOKjzen7ts=]
x-ms-publictraffictype: Email
x-incomingheadercount: 44
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 234f8ff0-40ca-4d13-05fa-08d83f362324
x-ms-traffictypediagnostic: MW2NAM10HT244:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: r2qa6yLGWUcQR27XK/U4socQD4adrCndCxbOF47nIO8KkH9J7fYFmAI0k6KR5ld/3hK5KzvtM2vrDWOPJ5ao82vP3WIpuCIy9kUnxLKNynIyF9BlrKMIyhSBQQ1KjOkPN3xoL2gXzh0Z3RuIJlajJ/nEVmxTR4AtNIEQlJH483PlBSwRyDg+tNTH0HFtjVPWU201n9J4uOBgOjYiTwR/0CX+spxd2PN1ZNortxWoecEJG30sjoAr6ham/dBktzb1
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:;
IPV:NLI; SFV:NSPM; H:BYAPR07MB5942.namprd07.prod.outlook.com; PTR:; CAT:NONE;
SFTY:; SFS:; DIR:OUT; SFP:1901;
x-ms-exchange-antispam-messagedata: xzRbe+wA3rehegDm97bxtrdGNR1ogfgbjfaUPwau1D3R/LMNHGfdXbZOMrtMXezlv2GrKDuaL5b/cJMYctAmjB+q9KWyJD92Zfu0cHcDMSAqJPRIYPNMEBNCAxuYUN6mMl7jYMPZBKPnhYMksJfHL61IF272raDZuSvQGS9uUVrher0eOflKas4R4V3hA83nNa08DcmiT0q6q+MYn1LZEw==
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: MW2NAM10FT035.eop-nam10.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 234f8ff0-40ca-4d13-05fa-08d83f362324
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2020 03:08:22.1643 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM10HT244
X-Spam-Status: No, score=-2.5 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 07D38rSO004699

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