Typed characters are mis-ordered when CPU usage is high
Takashi Yano
takashi.yano@nifty.ne.jp
Tue Mar 1 23:12:59 GMT 2022
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.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin
mailing list