delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/05/19:24:09

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FFA8385041F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1596669805;
bh=ApWR+z9amLhOTBthN9bPLKKyqMBK6e0M5mISzMb95oM=;
h=Date:To:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=qvUTcSAEEQzL4Vd9eivkUx+T1FCBYMS389UZCA283JWCbw3w1xhNjN6xeamHaiobv
BN8Ls2IDGiDUTi0Fh8sClyuTH+7O51VbDvDNNVylULKKrmrBPs+sp7nOMICwmaifUN
TWzjbP8W8EhTZd+8UQzrouOQgiDkL2omECwE0GeQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5559B3857C68
X-YMail-OSG: R.q5FCsVM1nBT2lN.rks59vVbBPSML_h7o7MPOpEsrauawxThpUYUMVstugZ02K
PbIymENnEm891EJ1K57RCC68QQxwopV0DgzLI3vNunuar.OhLgOOnatnez0Xfmu5mmRjQhWU61xt
WI57haLHwunFAKYB49wIuWfKqlnZh5PNi1ZscqCmwLqTIru.kQSnFPUuc7AqERH5Ed8ZKDqmLsa_
2zPS6beoj283eI4qcCelsQeGFJKZfjnrgrTeRfmgNAhk61H1JYaTV8lW1mrEB4OwW3DRdjs4sP6B
iAatpp9yeWJKN5Jr2uoEeOqc52dflh38UnV5SRSm7vN6UNdj5H_cFUAMbm7A3TuHeN2q8m2U1CTU
nSWhwq41viG.zH6N4EQMTLVTa_YGgvuZBUcTEH5Q9ddTOaVzMpU8ajNaD33x52C.irmLtAm0h1kE
ed3UJxoeaAtKACzzKQ50jLFn2Tnne_SoKOSj9K0PbGeTrkdXITKsH4y0KyX0n4D8EnxeGTG668dk
kwwWeiDJbATagb3f_kH8FNDCTYaDqrPDwHgcpPPnFCINLknkt997PiiuvhhXjWKq.BzD8b5T4e9u
OuOasqAqLKW9mwKtUiqFuszEt.syyCoO3.p37O9FvdHnVUK6P1XiZ0n2Z2Jt2__VUJbD3Jw5H9s6
jSvES0v.uYdEJ26iL7DdOgna2XEKWV.OoJSRJ5UC2OtXxOw8MEJFkdZZZ7q3ESG7wOa837iyQy1w
EMUBQO8gO.NsvjJ8ujI5QXs9OvhIUxYiHTokTtYNMv4YTv72cN1_h.DFeFr7UmatWeuHkUT8y8P6
wd3UlFXdhTuxVayz1IFhm3tUDTdAlDwmN1XYDiJ7C2MXicWjtVGiHuWjFn3pfbp_ROsFAL4jntWl
8Y9RiAtrjBaWnw_qRKrd9af3UQS26sv_Kq1Fv8dLBwTINM0hragIT5XpX8YHcdcKjgSSRceS_9fG
GYY.RSomc0FMr5mr4QadhE2NJrFvqFD277BFq5KcG6Ix5I8upUATuB0zVQxKxY8KuQSxmSeNz5u.
u15PdEmrXIUaPQuk_591FCBTSAvBnZFK69WDzvX65G1pB0rhn_hW9dcaQJRr29RIwPEixoNT15.p
n404q4Mtm_H0AFqeveyUpgLDOQPIel1Vm6flbV5i7ecuamdRakcECrgPZKhRbD.a.JNxythlSFDD
pCHIvGoYWKgFdeorNL8CSRI16jTBD6dGvGGGdZyzv7FC5jkDLkIN7EwrzmeLT3h1CrgPvRtRah3v
uCoHWtN611XZinwtEwWdroFlAHTRPeIIR1L9lbcRryetuB9A-
Date: Wed, 5 Aug 2020 23:23:19 +0000 (UTC)
To: cygwin AT cygwin DOT com
Message-ID: <1193403444.420395.1596669799506@mail.yahoo.com>
In-Reply-To: <1988bd34-7a17-e70f-bf23-0044f30c8687@towo.net>
References: <BYAPR07MB59428411CD00101EF02400B4B64D0 AT BYAPR07MB5942 DOT namprd07 DOT prod DOT outlook DOT com>
<ff57a2c8-6753-02d6-7a85-9657d70bc897 AT towo DOT net>
<1988bd34-7a17-e70f-bf23-0044f30c8687 AT towo DOT net>
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
MIME-Version: 1.0
X-Mailer: WebService/1.1.16436 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64;
x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105
Safari/537.36
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, 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-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Kevin Schnitzius via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Kevin Schnitzius <kometes AT yahoo DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 075NNoih005325

On Wednesday, August 5, 2020, 06:56:48 PM EDT, Thomas Wolff <towo AT towo DOT net> wrote: 
>Am 04.08.2020 um 12:02 schrieb Thomas Wolff:
>> 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.
> When in this state, on the pty from which mintty receives child process 
> output, select() does not report a ready for reading condition; could it 
> be related to the recent poll/select patch? I could not reproduce it in 
> cygwin 3.0.7.

for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ; do mintty  -i /Cygwin-Terminal.ico  --position @3 --position 120,$i --size 80x24 /bin/bash & done

This does not fail for me.  Nor does it fail from cmd or powershell using a script.

I tried 3.1.4 and 3.1.6 on Windows 10.  I tried up to 100 instances of of mintty...


Kevin
--
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