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.4.1 sourceware.org ABF693858D39 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 223020EA006092 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1646265720; bh=F/9G/0XmuESyArHp9ZueXaTnlkxZs59J/raDnR9AZBU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OuCHCI+pnwMg3lQZcZvrl2dfIdH/sinom7Fjmlccu/RqxfgRD6C2MKQyfjEQkWqTZ EqYL5TW9kERSebDLfFyZjnp3kFaC5bqWyWxg/PlOtxIyWCkcfBUqs75g0aNu6K8jh9 8AXk5pRfap0fjbqcPYobixdkZByuBKNZPKoGH3b3qBymquvdsK8ZP2p1idsuYx59se vZlIfCLvgLoKZ7HXsHNvVj/b9yPwmgfPfmq44h2Aima8ZYXNeM1QdNBJeuhiCieLWd abAoPEiFVjLS7XokRrsJI/XWRuyBCGckuQd59yoM5RotiK4KVXQqm6kLPMes+DJnWs xNt67wIjZVkSA== X-Nifty-SrcIP: [119.150.36.16] Date: Thu, 3 Mar 2022 09:02:08 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: Typed characters are mis-ordered when CPU usage is high Message-Id: <20220303090208.4a04e35756b7868fe9b4701d@nifty.ne.jp> In-Reply-To: References: <20220227235303 DOT 5d6239724ed83b145772134b AT nifty DOT ne DOT jp> <20220302081259 DOT 2a7e522ef1a9e3e6da0aa259 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , Cc: Orgad Shaneh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Wed, 2 Mar 2022 22:13:30 +0200 Orgad Shaneh wrote: > On Wed, Mar 2, 2022 at 1:13 AM Takashi Yano wrote: > > > > Hi Orgad, > > > > On Sun, 27 Feb 2022 23:53:03 +0900 > > Takashi Yano wrote: > > > On Sun, 27 Feb 2022 16:39:24 +0200 > > > Orgad Shaneh wrote: > > > > Hi, > > > > > > > > I'm using cygwin runtime 3.3.4-2. > > > > > > > > When a foreground job is running, and the general CPU usage of the > > > > machine is high, characters are mis-ordered. > > > > > > > > To reproduce, I use this script to produce load: > > > > #!/bin/sh > > > > > > > > for i in $(seq $(nproc)); do > > > > while true; do :; done & > > > > done > > > > wait > > > > > > > > Run it in the background, then run a long foreground job, and while it > > > > is running, type something. > > > > > > > > Example: > > > > $ spin.sh & > > > > $ sleep 3 # While it is running, I quickly typed git status > > > > $ sigt tatus > > > > > > > > This reproduces on Windows Terminal and on cmd (Cygwin.bat) > > > > > > Thanks for the report. > > > > > > I think this is due to a bug which I recently fixed. > > > https://cygwin.com/pipermail/cygwin-patches/2022q1/011791.html > > > > Now, new developer snapshot is ready: https://cygwin.com/snapshots/ > > Please try. > > Tested. Looks much better. Thanks! Thanks for testing. But what do you mean by 'better'? Do you mean that the problem still happens in lower probability? > Is a release planned soon? This fix was also applied in cygwin-3_3-branch, so the next release (probabliy 3.3.5) will come with the fix. -- 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