From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by sourceware.org (Postfix) with ESMTPS id C53CA3857C5A for ; Tue, 4 Aug 2020 10:02:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C53CA3857C5A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net Received: from [192.168.178.45] ([95.90.245.244]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MGi6k-1jyzkT13D8-00DpAu for ; Tue, 04 Aug 2020 12:02:31 +0200 Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore To: cygwin@cygwin.com References: From: Thomas Wolff X-Tagtoolbar-Keys: D20200804120228143 Message-ID: Date: Tue, 4 Aug 2020 12:02:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:x55rFyT82twACTcVZd2Hq0CWAF3IG5sqgA2JsOU8QkIxoLn0uN5 nV9JyEDbE6OPQFsg9wH1BNEqtfVEBcU7aecTEsNrNERuLqBzzevqXx2zPQqTlnBtGxiXyeD Z8VPHw3z51a8OGYXt04ZaPl35m9XxlaCqYNM7eL7DUrpPvjKimiK26JR+86b5TYb4lfUyO0 yjvfPgKPHhdID2YRr+EJQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:svWrXDMUE2M=:SiAdOEj3mBS4ocyBhyY9Wy cNByfQda0qjppsVHo/yLy+ShJaGkpOAokG7Pyi/lli2wBbVX/50TWTdErm56yP7sWH1USZENM kVeJMa50XDIafKCTevNfVoys31NUuScMkVIJXEnp8eSeEI3TIsfpqiZoSIZhsgtMyD6f7no0+ PAoHo9ppwpiCanr+KnrHLrUtYg+fzt7mdQR/2Qy17DpqOU4PQuMs+psmcRvkVNWdcNV7EAeNL h+m2bVGjswq0wHea0Je+/q6anT5YD+E1qePp/L/zoHNDbtKMqRxk754j0WApRdHWDk510IDBt wWVaJC7Wu4ZNtOJY2QLHXZKmJ69WWRlpi55f9Tw36Dqtka5Aj+o8i9cHL9Jo6tOXykXRwcjF6 /kYtQg5L8XVo31zgpAoegvPrEbjGOUXbIFx+TsCBKF6zJFpWA+Laj3KH+i9byiz6br6QIPH+U dflW9VLkEb7+8qWaCyVsg23bQ81CVHe0n4EE+PIjkLWDiIWWvSgYFn+bBan7dIwKYUugFq55N PEzwmBJJ4oaRD91guHRnZLhCW4U9bpdUUHaaiPyrkd437VCHySF1aO7bnEM/zd1ALtHRGASV1 uoysdaT6fPl8UN7qQrkdd0yId98ZJNBClXFtGYPebUkDFii5nNOEhZE8gAwiiKOhrTZKaAK+d lZ6EsfZMtnINS9H9CRWHXVLELLBZuiQwTAUICxwWGyHsGWZ84mgv2XsePN6AhizsuGL9SRjRh Lbd5pXaWIGXChO6EgMQq3E7AswHR8/hVF1VK1wJU0jlgljFNRCBW/Q+ZSbwTOo3cT9AEOZcd3 Hn6j+z/pHyA7Pwd9sgS5lLYxVPo6DH9iUXermLd6cVWVQX9IrfCQu3Ip2CW3PIl5ZWCzXRG X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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-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: Tue, 04 Aug 2020 10:02:34 -0000 Am 04.08.2020 um 00:13 schrieb Brad Wetmore via Cygwin: > Hi, > > I generally kick off multiple (10) mintty sessions, and place them around the 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 mintty/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 sleep 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 are seeing this before I start trying to debug this. I can reproduce such behaviour with /bin/bash (easy cross-check), and in fact the shell is running in that case (easy test via `echo > .log`), so I have a vague and unpleasant suspicion it might in fact be related to mintty although I have no idea how that would happen. To be analysed. Thomas