From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2031.outbound.protection.outlook.com [40.92.19.31]) by sourceware.org (Postfix) with ESMTPS id E77FB3857C42 for ; Mon, 3 Aug 2020 22:13:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E77FB3857C42 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QOTNt+IoZ7Hg0E3fFJ9ERNV+G1C15wk/MkoSqbfWEx6xMIJkqS3e15GrRwC7vLqtt2PEDDskD9CbFfDbHWzq/mq4RiIq+1wQG5i8bWyv8rvmrorPaOBD1yBFsQywaQ2ewK++oiBmq8U16ubuskt76mpyJfkFE/vi7YHCEWdHnnolYzDDNSaJRrnK8Mhv8tmucVyTjwlL81d9Povv/V0JGEJcqkMLYZ588S9MKzpW6pZbFPXnQecLDs0X4/F4ewRj/zCCOWh7cOIM/fDWqt9/28/3lvntYghXl82SrraSpdqOMWm7nsp0LwvR/XBft40uDoCx4dI3k17oKlNFnQtbnA== 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=Z5TVnxjli3ia6Jaq2i4sjU/IeKKNwWuVL5yaGGBmteU=; b=X0LlJYWwiek0J9H4tQu4gcEuRaQDCj3nTzXInbDnSfMaiFNvaE1Ouv/2VeSzCenWT1SqveNEBI14JRki59i0GRl6KjHHIXoh4u965iVAKoeqBuABAKgUOR3y0S2GG8wWpTAcR/VBiRTH8cvnZ8KKkCre1hpQwTTm173YR1TVFOTQJQCFnq8gSbfFPZ3PgPTXb335+I0riK83Y+4NUAKH9waAzjvs7kz++8Gn9owB4GK46Ll+vuZh928VK1vlVhfoOOMdCy/BoFVj30P1SCyfc2NlpL27NIVUZloI8Yn34j5LyI+cqVYDHWOOhJE5fX5L3C4/41NLz7GFsjm+L3WzqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CO1NAM11FT058.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::4e) by CO1NAM11HT165.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.20; Mon, 3 Aug 2020 22:13:10 +0000 Received: from BYAPR07MB5942.namprd07.prod.outlook.com (2a01:111:e400:3861::44) by CO1NAM11FT058.mail.protection.outlook.com (2a01:111:e400:3861::164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.20 via Frontend Transport; Mon, 3 Aug 2020 22:13:10 +0000 Received: from BYAPR07MB5942.namprd07.prod.outlook.com ([fe80::2928:516b:ace1:976f]) by BYAPR07MB5942.namprd07.prod.outlook.com ([fe80::2928:516b:ace1:976f%5]) with mapi id 15.20.3239.021; Mon, 3 Aug 2020 22:13:10 +0000 From: Brad Wetmore To: "cygwin@cygwin.com" Subject: Race condition hangs on multiple mintty/tcsh? Brad Wetmore Thread-Topic: Race condition hangs on multiple mintty/tcsh? Brad Wetmore Thread-Index: AQHWaeMcEUs4G39yG0GOUgNgBeXLvw== Date: Mon, 3 Aug 2020 22:13:10 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:F99934AB3AF55E6903AD6599C8264E0F3BFEA29BE91AE5F269AC21871F76F601; UpperCasedChecksum:1A8A33BF0322ECAD99146F7DAFEC07B32CA09C03B6FB438D6A7820FB81470E77; SizeAsReceived:6863; Count:42 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [B+ojYC22bSKnOLT8W5rRs9TtOn3MeV0LBsJugaW3hXLUDJZ2RSsK2yiMrBuFy9Pj] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 881e1e94-86b8-42ba-fa68-08d837fa688b x-ms-traffictypediagnostic: CO1NAM11HT165: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: exJlF4V+GJcFnoa1x8+4UaanaUdhoDGo3VQVZkU2nHw/IhdJbIifo/mV1H9kldC1IKGkmlQimjB3BfSMYKK50qBE4TpATP2SxxZh4z4jpbdgu4x8x/YwYOtuhhr3DbS3h3/p4YwBC5OpZ7zTVyGf2B/zSb67rD/K8oPdxDNrzrgGZmf+mzwXilK1dRFL9Afq9kMbS7ay5iTrg3s+GrrApQ== 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: IwYSbQs98W37G+ktMVrs5w9p3cZx7x6Myshu+Rshcy3MsWtXqgSmkjozKUhoNiBe9YRJXwWD1e0s27MvZjIgC9/2ACFtR6Ixp53Bc9nMjwd7ZyZ4Xu1s3WbIG4ggTfnpWwXeia1ez2RNHsxwsfvYxeJvoWEOad7xzS8lROdom1c6dJt995GiBdUmN/zB6DUtOQL2wXVGtl0hpJSBg2gUhg== 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: CO1NAM11FT058.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 881e1e94-86b8-42ba-fa68-08d837fa688b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2020 22:13:10.7871 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT165 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 22:13:13 -0000 Hi, I generally kick off multiple (10) mintty sessions, and place them around t= he screen. C:/cygwin64/bin/mintty.exe -i /Cygwin-Terminal.ico \ --position @3 --position 120,0 --size 80x71 /bin/tcsh & C:/cygwin64/bin/mintty.exe -i /Cygwin-Terminal.ico \ --position @3 --position 715,0 --size 80x45 /bin/tcsh & C:/cygwin64/bin/mintty.exe -i /Cygwin-Terminal.ico \ --position @3 --position 715,660 --size 80x24 /bin/tcsh & Within the last 6 months or so, about 2-3 of them would hang and either min= tty/tcsh would not start. I put a "sleep 1" in between each invocation and = that seemed to take care of it. With the latest cygwin update, about 8 of them just hang even with the slee= p 1. I put in a "sleep 2", and now everything is coming up again. Not sure if this is a mintty or tcsh issue, but just wondering if others ar= e seeing this before I start trying to debug this. Thanks, Brad