delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/11/13:37:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 11E263857C77
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net
Subject: Re: Race condition hangs on multiple mintty/tcsh? Brad Wetmore
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>
<20200811093758 DOT GF53219 AT calimero DOT vinschen DOT de>
<20200811190200 DOT cc385900e784c6cd076f53ba AT nifty DOT ne DOT jp>
<20200811103008 DOT GH53219 AT calimero DOT vinschen DOT de>
From: Thomas Wolff <towo AT towo DOT net>
X-Tagtoolbar-Keys: D20200811193703785
Message-ID: <cf31ce0f-99f8-68a4-772b-b632e1fb969e@towo.net>
Date: Tue, 11 Aug 2020 19:37:03 +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: <20200811103008.GH53219@calimero.vinschen.de>
X-Provags-ID: V03:K1:DSqkVaLSCF9A8I85cOEe5Qo6wU1D+Yrs7CBdls6U50Eq+f27Y44
EU0ZR2xJuuGZvqY7NAF6iZCX1aDXZyz8dVV+Km5gi/ZcY6axq003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: No, score=-6.2 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=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
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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 11.08.2020 12:30, Corinna Vinschen wrote:
> 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 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?
>> Thanks so much. That would be more convenient for potential testers.
> Done.  Please try the latest snapshot from https://cygwin.com/snapshots/
Thanks. I could not reproduce the issue on one system in ~27 cases. I'd 
like to retest on another system where I could previously produce the 
issue more frequently, but that's currently broken...
Thomas
--
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