X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B21763857008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1597140148; bh=3Md2KfKF101kxMJmkYc1S7XxHbDuhGrSPonwPosNxaY=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Rxw13DBMHYn6pec3tcPwYcpy+rAwQFi9SdaeAcYEfKWzdQIw3C/PcLrxamGVzguSc yZPIPy1XtlE+vXVaG4G/V5KAFK79zatjpGBwzBT+WNMF7SR+HhDWT48MfJELxWbseA Us8SJZY3NvuURZd5c0/3C86CCQlbP95ABcYqS30I= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A13D83857C65 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 07BA1rNm003010 X-Nifty-SrcIP: [124.155.38.192] Date: Tue, 11 Aug 2020 19:02:00 +0900 To: cygwin AT cygwin DOT com Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore Message-Id: <20200811190200.cc385900e784c6cd076f53ba@nifty.ne.jp> In-Reply-To: <20200811093758.GF53219@calimero.vinschen.de> References: <1988bd34-7a17-e70f-bf23-0044f30c8687 AT towo DOT net> <1193403444 DOT 420395 DOT 1596669799506 AT mail DOT yahoo DOT com> <3d594543-c992-a22c-4631-f786cf34f76b AT towo DOT net> <20200811135948 DOT 959c10de83b8ccfa35f4281a AT nifty DOT ne DOT jp> <20200811093758 DOT GF53219 AT calimero DOT vinschen DOT de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 > > > >> 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. -- Takashi Yano -- 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