X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50FFC3861821
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1597141815;
	bh=WeE4F+RnB1Wdppx4xwtAlpxbspxTsyU6rSl4eIUWgY0=;
	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=iL5sLioKkBaAvSlksJRAdExdqmvdATU1++K532TuVRsvlLzFQDcylTnUdaj3eavsq
	 Vb7YlXSIaAc7nqQqYoU8xLaDLORCPUCLRJHxdY6tKcsJdtEdy2P/vyV5sqLEJB959K
	 uf3qtLPT9h6TrX7R5JPLzM0XWj9guh7/Rwn4+TOc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 84EA43857C77
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
 spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com
Date: Tue, 11 Aug 2020 12:30:08 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
Message-ID: <20200811103008.GH53219@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <BYAPR07MB59428411CD00101EF02400B4B64D0@BYAPR07MB5942.namprd07.prod.outlook.com>
 <ff57a2c8-6753-02d6-7a85-9657d70bc897@towo.net>
 <1988bd34-7a17-e70f-bf23-0044f30c8687@towo.net>
 <1193403444.420395.1596669799506@mail.yahoo.com>
 <cc296c5f-c958-21bf-3a14-9584180de591@towo.net>
 <3d594543-c992-a22c-4631-f786cf34f76b@towo.net>
 <20200811135948.959c10de83b8ccfa35f4281a@nifty.ne.jp>
 <20200811093758.GF53219@calimero.vinschen.de>
 <20200811190200.cc385900e784c6cd076f53ba@nifty.ne.jp>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <20200811190200.cc385900e784c6cd076f53ba@nifty.ne.jp>
X-Provags-ID: V03:K1:HAdtfxtMgvkZmWmwjs0GECV0L0cQh5Iz69MJ8lH+CVhWCaMDehS
 cENjdecoLRPT+o2lUIHg07FjVV07s5WjBGFC0+2VXBZJDOBC0sy7g/Q1sykHoXLASomN0H5
 VM/6VAG3iByIOyF8Qpx4CFyY+VRjg0xS2WiD7Z57qlFG1it1wcPNxGDNm6uvZ1UpaR2FjmI
 2F5BAiQWrrLXblZZzxFBA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:sxKpuiJcn7A=:zLbolW/xx0IvygzfA3r3OM
 PE7gCMO40YiSXkAU1fXP4AqzjXz7q8SAU66agU+sPbf605EIJPGj7RxlnUjwTj3ljI8TDHUoC
 TYVLtNXd8Nv6zy5XHBWbcUR2ixmT8qXXwo7LmzGwBAb9USTRIbbDKd9DaWstIEsXbB4QhOMTI
 sFGrQBKdbn9qJvVhph964QYMMcw5+kQhxLxjq1n5ifDFegxfnqpm1kI1mNRTM8Jw33IvNoiHR
 0MIdy25cq5+KCiuTa87oih3uCzOirJcdbxyN+bHqz4IAeNyw+HlbPWXo6nIMmw7zxTMBaFPcT
 40RZJ/uj9nE7eCvSz3vQYHdfdY5SKN9n3ZdxnGLgK+NhLwQJLf0QfIrwlfuYZPlgc5BniJKaN
 SFkeuqZc7SZpJSvlZU+0G3Ar/0eKKFE86rSxgldEc7NCyjwot46QiIHbFR03ZGU0LvIQnOZnj
 D9V8qhcSWt+CaGz/B0M17L8WU7P+LtjabaoT2BFFl1iCK+WAumHrbK/u3DVPjwaP4R1UseTm3
 rmX052Rl9wOxiHw/OmdjL+OidF3PFeIQg3HMqgFJN7CDZExUv1aKiqjOB/ezyyP5M/iZb955N
 M4wtNIP+DrL8QVayQbJBYChkwvlEehe8OKVZEO5L2UhL9am0i6PrF0SuOxRld+vxFAfFvHwzP
 xYQYQhrB8ohPfc1tOHEOQCknSFwfP/2d4xMmMW65C176la/DhQ2Vec73hcAS3mfLbxFdFqy1a
 cy6GZfITMwWtstdWAHffiR07LU/BzxTh1HHxE2F0QQHcN9Fpcg+wDwavQMcthIlh/qoTt3F2B
 Akd8Xcg2526zEgULFtBJTqnPolBpfgN+ze8GYmI2I0tRTh453v7+i5L+xzdK/oMT2dwSxZMqh
 mTDZeIliiEyXkqm5GMsg==
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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On Aug 11 19:02, Takashi Yano via Cygwin wrote:
> On Tue, 11 Aug 2020 11:37:58 +0200
> Corinna Vinschen wrote:
> > 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@towo.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?
> 
> Thanks so much. That would be more convenient for potential testers.

Done.  Please try the latest snapshot from https://cygwin.com/snapshots/


Thanks,
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
