www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/05/01:43:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=bEWmiQd/6dgEIAfH
LJc4L7V10c6AjM98bKi5XjgQW3eaDanWo4tgzp51hF6ePVwHpdzZ4wUJ2cablXgC
guFm7ymU4rE3LW6U5IZlM4J4EuqNYrQUhA9VujaYiaKANTewmyZTfbq01/eUq2Sr
FMffu2hTCHXl3R/LawvVf7Wbvn4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=RdtUFp/SOE58ulYp53XgjC
NJrbg=; b=M+ULq66nBp/JjxSJlzKCXD2ABAYkq4BZlwX5ebgsSN8w7grPBsEBX9
8Z9A17FH/kKc1lxv8fYY7hkTtp5FgT2z88cS6J13cShbHVP16gJAo5dm+N3yfYIy
pfybbFRYNhplonNODuzElGRVHfr8OokP5TN48t3Cv7APU2eSNVdSc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*MI:sk:A AT mail., bala, H*MI:sk:CAPJ9Yc, H*MI:sk:xveQnM1
X-HELO: mail-wr0-f180.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=fOszeW8ov5oH1UhDUkiRLNPxJA3Xg7psi8C/mlUvOdU=; b=CfsVuZGNueOD3Ui/rZdsuan441MBoqGTE0bZCRk0kFN+lwcCd3hMbq+2blNYR/katL 5ciTzVycEyze1ENlyeXu9OXTjD0X0hZvZY3onrkedOiOaxjLUsT7YV8fkzj94ZwKKS4Z dZHP9oLck5vkJMgu3hEWz0GQ9JGEm6yRqJxNUDRYP9QuoAx2cxWtWGhfykaxnNfhxm0a anR870MzYLPzWWIcm4+599dELc8lkWVyMB1GQiO1mSsyeq5Snv+o8eJvFh8Hx4+9eGVQ 8YCXNTd+qdUcmfhKb/ioL/ah/2sycnk/9j56ItX+UF7eYq1xOrjFWjAL2KN2UWpCb0IO 7s4w==
X-Gm-Message-State: AIkVDXKx3ZzXofoutcA/pwfh3jIH8tJPSqEXzLB98NW0R/mkm1DHs9vzmZeG+NimNm5SGg==
X-Received: by 10.223.169.115 with SMTP id u106mr4239460wrc.54.1486276629858; Sat, 04 Feb 2017 22:37:09 -0800 (PST)
Subject: Re: Bug in lrzip 0.631-1 (32 bit version) with -d -o - options
To: cygwin AT cygwin DOT com
References: <CAPJ9Yc8SQ_btEtyrZhqR22W4AUY1=xveQnM1_A0ENdyUUEgP=A AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <5787b681-2927-9067-d7da-70c0e9a29c93@gmail.com>
Date: Sun, 5 Feb 2017 07:37:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <CAPJ9Yc8SQ_btEtyrZhqR22W4AUY1=xveQnM1_A0ENdyUUEgP=A@mail.gmail.com>
X-IsSubscribed: yes

On 25/01/2017 23:15, David Balažic wrote:
> Hi!
>
> 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.
>
[cut]
>
>
> 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.
>
>

>
> Regards,
> David
>

can you check if latest cygwin test solves the issue ?
There was a change on pipe handling.

https://cygwin.com/ml/cygwin-announce/2017-02/msg00007.html

- Always try to write all incoming bytes to blocking pipes, as required
   by POSIX.
   Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00087.html

Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019