From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id 29D153858D35 for ; Sun, 27 Feb 2022 14:53:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 29D153858D35 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 Received: from Express5800-S70 (ak036016.dynamic.ppp.asahi-net.or.jp [119.150.36.16]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 21REr0dg018641; Sun, 27 Feb 2022 23:53:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 21REr0dg018641 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1645973581; bh=UtG9lPpJTR/oMeA7IsCtgIGbD1A33gG/Iq5l/Y97jjE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=12XJPo3/lwZLc2EdUHQEyNq3J/qr3wnkhNPckWtwoFu8YnPMDFXjwPtNDaQxNiU0C v/1fEkE8xofLgxZufklLaKvDU61zL8eFYrDnetI44RCm0M6mA0NwgcS39ALSfRVNgI S8TGcqb77lIzkn5PecBnJmSubfwYgXLDtTRGfs1ylxPHGJQKbsXMWAcHKwmhgHO/ee tH4/bbqfZIW/1AcC42SbO2sAJORsznlmemGqNAHKmh1IOVqU7CclMq+OWAX7QBM7jc kxARtW7x86XBgKrPPnXGS8GJ9hVlSqgcwpA/34Rkmlo7VR59SXK1Rpg1BkZu8z0fAQ 3D6TyBKJF830A== X-Nifty-SrcIP: [119.150.36.16] Date: Sun, 27 Feb 2022 23:53:03 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: orgads@gmail.com Subject: Re: Typed characters are mis-ordered when CPU usage is high Message-Id: <20220227235303.5d6239724ed83b145772134b@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Sun, 27 Feb 2022 14:53:36 -0000 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 -- Takashi Yano