This is the mail archive of the
mailing list for the Cygwin project.
Re: Bug in lrzip 0.631-1 (32 bit version) with -d -o - options
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 5 Feb 2017 07:37:02 +0100
- Subject: Re: Bug in lrzip 0.631-1 (32 bit version) with -d -o - options
- Authentication-results: sourceware.org; auth=none
- References: <CAPJ9Yc8SQ_btEtyrZhqR22W4AUY1=xveQnM1_A0ENdyUUEgP=A@mail.gmail.com>
On 25/01/2017 23:15, David Balažic wrote:
The 32 bit version of lrzip 0.631-1 contains a bug that corrupts the
decompressed dat in some circumstances.
I reproduced the problem on 2 PCs (the md5sum of the broken output was
the same on both systems).
I seems to happen when the (de)compressed file size is bigger than the
available RAM (note that the 32 bit version uses max 4GB in any case)
and lrzip resorts to using a temporary file.
Simply decompressing the file (lrzip -d -o sda.img sda.img.lrz2) to
filesystem works fine, only when piped to stdout the problem happens.
The 64 bit version does not have this problem.
can you check if latest cygwin test solves the issue ?
There was a change on pipe handling.
- Always try to write all incoming bytes to blocking pipes, as required
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple