delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/11/05:38:46

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11A00385EC56
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1597138688;
bh=6/ggyGhQaVbFdsv6X/bfx6KwWdOKf+VcSZhUXxMAF8M=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:From;
b=qHjffQmKRDqggx74SZNW7X8KnzeVxbPe53rBztad1Tktk8hT0OTYbQ7azklohc2nU
a5xw1i3lSgmBEO4ZJ5j5iPk4wLG5+plZsPt3225boeFyrYa2VsYK9aYWbafp4K2njb
l7goQCXEhiFqOMOepD1Ab+5OoA38l5VDNcbcLxTY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A95FF3857C63
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com
Date: Tue, 11 Aug 2020 11:37:58 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
Message-ID: <20200811093758.GF53219@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
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>
<1193403444 DOT 420395 DOT 1596669799506 AT mail DOT yahoo DOT com>
<cc296c5f-c958-21bf-3a14-9584180de591 AT towo DOT net>
<3d594543-c992-a22c-4631-f786cf34f76b AT towo DOT net>
<20200811135948 DOT 959c10de83b8ccfa35f4281a AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20200811135948.959c10de83b8ccfa35f4281a@nifty.ne.jp>
X-Provags-ID: V03:K1:IU9yZLEhS8kHCY2g4/UK9WBAxdRdIKLuADH5+upexFKkp+X6/lN
IQufdcICjE8oe96bxL51rW0h3P+kTr1VMlmjHdiGTkd36Qw7Dvd0y4j6ahgnQxkJh3bc4uG
V/YiWbWLFKMXa4jYCZNHGtc7wBZGiYhpo/2s6DKY0QPOs/3W5QfE9aRFEUdqI8b/Nnp5Erq
Zw/3x+27SVtUfbdDqLKFg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:tBO+n9BFuIs=:9drxVgg8eO6GqLYvStGTf2
wETcevQiU9kvYCRUTJUD6mTBV9u1Adf3MImwBJp+dCwBkLYKUYHpSUcjFZ7yj35FARnxvmACk
Sv1HvBKg27qEsKQDMBuWxnlm6QdaIPSKiWekh3Pjrof9hffBnKZwFMkQqcf0Ai4RMIkntNiZX
BjSlN51elGvQo4ULPc1tF8Yw0lm3IziNeowvV/vjImQcgrS3bYK8tHbkm9BE+c3HKxq3Z6dRf
KLY0n+xQqALcoU63bft35FvOWSW8jwQjAnmbqVb/ml3ijtFqiKGBrHvkztwIPY0bGFYzJNLE+
/1/ethVISK5j0vW26H5sKn5Eyi6Xu1m1q2xZbkliHiaBZTO5qPtS5WaeD5CBJFKPGg7jPAdf1
xVpH8MEUEC1il+8DgGc/B2JYzHPp78Ee1vmjhyGhlBfxKRSdkZB5yJeVw8x1QvRKYfOwOW84g
+zG662I+kOeIbjFP33DvO4oRkRIBoZCxYwr/y+6DkiQ5AMLzG8UbdQzUEYoISLrxoUck27Kt7
WV4Yat1cwU2rwF1JUFxmvf15BgTbMAwpGUfGPwvGYt7W6Gh7MmMwvXbLMJl1duwSGS3Lu1/bk
dbb2Ify8DG2FZqb4qS/GDxduKo7K2qsKJ86gM93C5v8CP2AmSFf2jmCMmJYxYfDlFv8hH4Ow0
zqr9s0H3PkHRdzwa93lwG6vvfEJ1ceg7FIVMO0lXMYEkpHACP8yOX03xJ6JICD5YtDs/CHvR+
/BTNbMzqO7bQrcx7p4cqvngk8aeVIEJc3MTCv/X9Plkiv2MuT8CiwRH1crDoGRZ5xX2xyCJZ3
uZC0FsoqKUpgC1A8iWb1yo/qqyyFXxwDhL4YOrc2HbFEUfTP0dse6b9nRP1HfUTJj9oyg+ro/
YTXXjCjf7rVkwoo/8PHg==
X-Spam-Status: No, score=-99.7 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Aug 11 13:59, Takashi Yano via Cygwin wrote:
> Hi Thomas,
> 
> On Thu, 6 Aug 2020 15:31:24 +0200
> Thomas Wolff wrote:
> > Am 06.08.2020 um 13:46 schrieb Thomas Wolff:
> > > Am 06.08.2020 um 01:23 schrieb Kevin Schnitzius via Cygwin:
> > >> 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.
> > >>>>> [...]
> > > I could reproduce one case of one of three terminals being 
> > > unresponsive also with xterm.
> > And it also happens if I drop select() from mintty (and use just 
> > non-blocking read()).
> > > 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?


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
--
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