delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/10/08:17:52

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 4A5103858410
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=+pHD5qy+UsW6v6cH5mPR03F4sTCF2Wf0/UqiEfM0SFs=;
b=KBb7/uKeD5vqKD4AWz0iW60m8WxWn68E7J9V0GsBhBkXnyG5vGQRuxuX0SPeuTVCCm
sfcQnRNuhJ7QmJVgXcxRNGvJ6l5D6a2YjN31NU+lUsnQCOvgOikqABLPCI8vgl/POMdC
ZiunMlECRzRWsO+c3YTpihp977FwqhJFrwC3knMSPeHkDNVrFaNZmoHZf4OIKsotXVW5
BRJwW77Oea5V8XVPGXC2wYS4uIjd0UgbqsJZ7GR60eacDEREaCha53zgp3LRXRYErr1F
btyheCdKBfHwOD9HDmwPaEyXFM8YLwumFLaarfMHShcSlO7HQ0IBW/J2GcfKr712OmCU
JOhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=+pHD5qy+UsW6v6cH5mPR03F4sTCF2Wf0/UqiEfM0SFs=;
b=IO/vd6yZ6OOc47X1s4lIqhtRQffFTCzVD1e9DNnaDhqCwzuLhLO5h58aH+QvXQJY9I
M+iiN1iDcCY0afAAnGL6DWlK+irUgyAa7wE4WJnutTiK70bYt+8/bNvpn7APfavvYySS
arfPkwOjrTmrvnqE5Pt2XHgdsWI2DG230GljoCPPFBK0prD3j6td+4BDQznCeVcIIuMQ
RYUGXbw6N6VOfv2rIP9PAenHnTxGle5h/d2T7v7HwGDs1jt6vxgL4PPeCCgEUWIRVEvC
tc+RsRuY7oIl8Gwaj8eoaK00a70KSHtJZrEguEKp84vlAKdtAxlE7Hq64gNhIBvbK/XY
Bo7w==
X-Gm-Message-State: AOAM533S9CaR/suiUGiDV92gLnY1JmXLuyh1Q5udGU0gwI7kfdxA/R2g
EjdWdOj63HKic2s4AklXdHlSOAgxi0o5u8HjPKI=
X-Google-Smtp-Source: ABdhPJxYQBrL9RXj1m4DWNLTOg4DCrTW+AXEJ2xuIKs6VPNG3gOK6bIJKITWZzoUlvUk0ZoJurs+lCxXtOU6uaDOZI8=
X-Received: by 2002:a02:6f0a:0:b0:314:e984:b8aa with SMTP id
x10-20020a026f0a000000b00314e984b8aamr4053906jab.127.1646918234245; Thu, 10
Mar 2022 05:17:14 -0800 (PST)
MIME-Version: 1.0
References: <CAGHpTBKbqxWQ+WOc=UZH1a155gHhNc4ogVE0sP=rCw7q5xoNpQ AT mail DOT gmail DOT com>
<20220227235303 DOT 5d6239724ed83b145772134b AT nifty DOT ne DOT jp>
<20220302081259 DOT 2a7e522ef1a9e3e6da0aa259 AT nifty DOT ne DOT jp>
<CAGHpTBLc9waVzjKWb84C5KS+s9uKENrOMAxxfBBrvPR-zKKtPQ AT mail DOT gmail DOT com>
<20220303090208 DOT 4a04e35756b7868fe9b4701d AT nifty DOT ne DOT jp>
In-Reply-To: <20220303090208.4a04e35756b7868fe9b4701d@nifty.ne.jp>
From: Orgad Shaneh <orgads AT gmail DOT com>
Date: Thu, 10 Mar 2022 15:17:03 +0200
Message-ID: <CAGHpTBKU5XQJ6mjsvb94LnbJb5xj3uoRMtt3KgsMx1NjpM5hSg@mail.gmail.com>
Subject: Re: Typed characters are mis-ordered when CPU usage is high
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Thu, Mar 3, 2022 at 2:02 AM Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> wrote:
>
> On Wed, 2 Mar 2022 22:13:30 +0200
> Orgad Shaneh wrote:
> > On Wed, Mar 2, 2022 at 1:13 AM Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> 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?


After using it on more scenarios (3.3 branch), I see have strange problems.

For example, if I run git log -1 and immediately type, my input is
lost until the prompt appears again.

It doesn't happen with other commands like git status, I'm not sure
why there's a difference.

- Orgad

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