Typed characters are mis-ordered when CPU usage is high

Orgad Shaneh orgads@gmail.com
Wed Mar 2 20:13:30 GMT 2022


On Wed, Mar 2, 2022 at 1:13 AM Takashi Yano <takashi.yano@nifty.ne.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!

Is a release planned soon?

- Orgad


More information about the Cygwin mailing list