delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/25/14:59:52

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:date:from:to:cc:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=PtWPsEE0smi8FpO7B6hBMH+jY/aGcrL/nF47d7zh7YZ
6Bi1MzChCX+/FEDFogq2RbdndHHpqrHfgW3Foi7+LIY2z6J3Dj+Grr/7MkSXhsq7
+U5sj2UfndkDlxab9bQB5ULu6ppHS+3sgP9cScUJR1tFdjoVrbzHpxJ8acP/bRPw
=
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:date:from:to:cc:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=hn8JyCu7VJkZj4o1ahMe24r9oTA=; b=iTMVBd5V1ih0673hA
DF3qpTQsQie4BSI/dkUDuDWUYtzhXGhsZQXXM3djoPD0iGg6kUcbSxhhtFhUMVhW
8TdkO091j25G1R35i3tJvqF8nCppqEnWpHTV+EnvvdWyxYaARzv6k07lNVxG/8bj
iK3j0EBS3v077PsyZzwGiLhVRk=
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.6 required=5.0 tests=BAYES_50,RDNS_NONE autolearn=no version=3.3.2
X-HELO: mailscanner01.zoner.fi
Date: Mon, 25 Nov 2013 21:58:42 +0200
From: Lasse Collin <lasse DOT collin AT tukaani DOT org>
To: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
Cc: Tom Honermann <thonermann AT coverity DOT com>,
Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: Intermittent failures retrieving process exit codes
Message-ID: <20131125215842.0ff53134@tukaani.org>
In-Reply-To: <EFA04305-A94A-46F4-BCCE-8FB3ADA45E72@Denis-Excoffier.org>
References: <50C2498C DOT 2000003 AT coverity DOT com> <50C276AC DOT 9090301 AT mailme DOT ath DOT cx> <50D401EF DOT 9040705 AT coverity DOT com> <52844B2E DOT 5050902 AT coverity DOT com> <EFA04305-A94A-46F4-BCCE-8FB3ADA45E72 AT Denis-Excoffier DOT org>
Mime-Version: 1.0
X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
Received-SPF: none
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rAPJxmWn024392

On 2013-11-15 Denis Excoffier wrote:
> Very briefly, my problem is that when i "tar xf
> —use-compress-program=xz", i get:
> tar: Unexpected EOF in archive
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> and the last file of the archive is truncated at some 512bytes block.
> This occurs on Windows 7 (not on XP); with xz-5.1.3alpha (not with
> xz-5.1.2alpha or xz-5.0.5); never on most tar.xz files; almost always
> on some (rare) tar.xz files (one notable example is
> bc-1.06.95.tar.bz2 bunzip2’ed and then xz’ed); depends on the .tar
> file itself, not on the option (like -9e, -0) used to create
> the .tar.xz; never with "tar tf"; and with all tar’s i have tested.
> The return code of all the involved xz -d commands is always zero
> though. Perhaps after all, this is unrelated?

xz 5.1.3alpha has some new file I/O code that uses non-blocking file
descriptors, the self-pipe trick, and poll(). It's there to fix a race
condition in signal handling. Since you say it works with 5.1.2alpha, I
wonder could there be a bug with the new I/O code in xz or if the code
in xz triggers a bug in Cygwin or Windows.

If you haven't already tried, please compile both 5.1.2alpha and
5.1.3alpha from source while keeping everything else unchanged, and see
if the bug really only occurs with 5.1.3alpha.

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode

--
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