3.2.0-1: possible regression Cygwin DDL bug (W10) when using multiple pipes
Takashi Yano
takashi.yano@nifty.ne.jp
Wed Apr 28 14:36:30 GMT 2021
On Wed, 28 Apr 2021 15:38:13 +0200
M2 via Cygwin <cygwin@cygwin.com> wrote:
> Hi,
> I found a possible regression issue between cygwin 3.1.7-1 and 3.2.0-1.
>
> The issue happens with "short" output in multiple piping, such as the following example:
>
> dir | grep c | sed "s/^/foo/" | sed "s/oo/OO/"
>
> (the case I run is different, but the bug is exposed by something silly/simple as this)
>
>
> In 3.1.7, all is fine and you get what you expect.
>
> In 3.2.0, 3 out of 4 executions hang: the last command on the pipeline (i.e. `sed "s/oo/OO/"`)
> hangs forever, while all preceding commands (i.e. both `grep c` and `sed "s/^/foo/"`) terminate correctly.
>
> Attached, cygcheck outputs for both 3.1.7 and 3.2.0
I cannot reproduce your problem.
In 64 bit cygwin:
yano@Express5800-S70 ~
$ uname -a
CYGWIN_NT-10.0 Express5800-S70 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
yano@Express5800-S70 ~
$ mkdir abc && cd abc && touch a b c
yano@Express5800-S70 ~/abc
$ dir | grep c | sed "s/^/foo/" | sed "s/oo/OO/"
fOOa b c
yano@Express5800-S70 ~/abc
$
In 32 bit cygwin:
yano@Express5800-S70 ~
$ uname -a
CYGWIN_NT-10.0-WOW Express5800-S70 3.2.0(0.340/5/3) 2021-03-29 08:37 i686 Cygwin
yano@Express5800-S70 ~
$ mkdir abc && cd abc && touch a b c
yano@Express5800-S70 ~/abc
$ dir | grep c | sed "s/^/foo/" | sed "s/oo/OO/"
fOOa b c
yano@Express5800-S70 ~/abc
$
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin
mailing list