cygwin 3.3.x: another problem that may be related to pipes

Takashi Yano takashi.yano@nifty.ne.jp
Mon Nov 22 23:17:41 GMT 2021


On Mon, 22 Nov 2021 22:23:30 +0000 (UTC)
bf wrote:
> On Tue, 23 Nov 2021 00:29:24 +0900
> Takashi Yano wrote:
> > On Sun, 14 Nov 2021 20:50:59 +0000 (UTC)
> > bf wrote:
> > > I've a shell script that processes several hundred xz-compressed text files with a pipeline of the form:
> > > 
> > > find . -depth -type f  ... -print0 | \
> > > xargs -0tI @ xzcat -- @ | \
> > > iconv --byte-subst='�' --unicode-subst='�' --widechar-subst='�' -f MS-ANSI -t UTF-8 -- | \
> > > grep ... \
> > > sed ... | \
> > > sort ... | \
> > > sort ...
> > > 
> > > . Since updating to cygwin 3.3.x (but not on cygwin 3.2.x) the script consistently fails when decompressing a portion of the files, resulting in lost data, and error messages of the form:
> > > 
> > > xzcat: (stdout): Write error: Bad address
> > 
> > Please try the latest developer snapshot: http://cygwin.com/snapshots/
> 
> When using the cygwin snapshot of 2021-11-22 13:02:50 UTC, I am unable to reproduce the errors that I saw earlier with cygwin 3.3.x.
> 
> Thank you for your time and effort.

Thanks for testing.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list