Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 74255
Status: open
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: david [...] justatheory.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From david [...] justatheory.com Mon Jan 23 00: 52:29 2012
CC: Alan Haggai Alavi <alanhaggai [...] alanhaggai.org>
MIME-Version: 1.0 (Apple Message framework v1251.1)
X-Spam-Status: No, score=-1.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1] autolearn=ham
X-Mailer: Apple Mail (2.1251.1)
X-Spam-Flag: NO
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <528C48E0-61D8-42CC-8FB5-452590FF17D9 [...] justatheory.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_69ED84AF-8636-4EBA-81DF-C935E6645E30"; protocol="application/pkcs7-signature"; micalg=sha1
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.9
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 5BFC02412BB for <cpan-bug+archive-zip [...] hipster.bestpractical.com>; Mon, 23 Jan 2012 00:52:29 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fSIsadxDxZyh for <cpan-bug+archive-zip [...] hipster.bestpractical.com>; Mon, 23 Jan 2012 00:52:27 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 514FB24120E for <bug-archive-zip [...] rt.cpan.org>; Mon, 23 Jan 2012 00:52:27 -0500 (EST)
Received: (qmail 16894 invoked by uid 103); 23 Jan 2012 05:52:26 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 23 Jan 2012 05:52:26 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sun, 22 Jan 2012 21:52:23 -0800
Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id B47B625F5; Mon, 23 Jan 2012 00:52:15 -0500 (EST)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id A9F1225F4; Mon, 23 Jan 2012 00:52:15 -0500 (EST)
Received: from [10.0.1.7] (unknown [50.137.40.254]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 03F8F25F3; Mon, 23 Jan 2012 00:52:14 -0500 (EST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Delivered-To: cpan-bug+archive-zip [...] hipster.bestpractical.com
Subject: CRC Error on Second Extraction of File
Return-Path: <david [...] justatheory.com>
X-RT-Mail-Extension: archive-zip
X-Original-To: cpan-bug+archive-zip [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from :content-type:subject:date:message-id:cc:to:mime-version; s= sasl; bh=YrhgHXBMmg7TwD5Q5hkZV6d2tzc=; b=dYfaZ37+90C9LSrdYFO9YR1 gX+e7F1Rz/7NyqUkKoRYCJJPM7vUBQXPHtQVaDB6NwV3ctmi1t30FBl9wSmJxS+K k6XFYqk4rOlJt+nWVSa/mfM1Winoxz94gSadtHgbQvzCvWqDgDwOsqZftTDb5MX7 0v2TLZliX53jU66ae9w8=
Date: Sun, 22 Jan 2012 21:52:13 -0800
X-Spam-Level:
To: bug-archive-zip [...] rt.cpan.org
X-Pobox-Relay-ID: 66F1693A-4586-11E1-93B6-9DB42E706CDE-76319746!b-pb-sasl-quonix.pobox.com
From: "David E. Wheeler" <david [...] justatheory.com>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: windows-1252
Content-Length: 1483
Download (untitled) / with headers
text/plain 1.4k
First download this zip file: http://api.pgxn.org/dist/sha/1.1.0/sha-1.1.0.zip Then Run this command: perl -MArchive::Zip -E 'my $z = Archive::Zip->new; $z->read(shift); $z->extractTree; say +($z->membersMatching(qr{sha-1.1.0/README}))[0]->contents' sha-1.1.0.zip The output should be something like: Show quoted text
> format error: CRC or size mismatch while skipping data descriptor > at /var/virtuals/pgxn/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Archive/Zip/ZipFileMember.pm line 189 > Archive::Zip::ZipFileMember::_skipLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x1f16cc8)') called at /var/virtuals/pgxn/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Archive/Zip/ZipFileMember.pm line 395 > Archive::Zip::ZipFileMember::rewindData('Archive::Zip::ZipFileMember=HASH(0x1f16cc8)') called at /var/virtuals/pgxn/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Archive/Zip/Member.pm line 960 > Archive::Zip::Member::contents('Archive::Zip::ZipFileMember=HASH(0x1f16cc8)') called at -e line 1 > 3
Then try the same command, but remove the `extractTree` call: perl -MArchive::Zip -E 'my $z = Archive::Zip->new; $z->read(shift); say +($z->membersMatching(qr{sha-1.1.0/README}))[0]->contents' sha-1.1.0.zip The README file contents will be output with no errors. I realize that there may be something wonky with this zip file, but I don’t understand why the README’s contents can be extracted once without error, but not a second time. Thoughts? Thanks, David
content-type: application/pkcs7-signature; name="smime.p7s"
content-disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64
Content-Length: 4365
Download smime.p7s
application/pkcs7-signature 4.2k

Message body not shown because it is not plain text.

From dwheeler [...] cpan.org Mon Jan 23 00: 54:45 2012
MIME-Version: 1.0 (Apple Message framework v1251.1)
X-Spam-Status: No, score=-4.4 tagged_above=-99.9 required=10 tests=[AWL=-2.500, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-14882-1327297950-1772.74255-3-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1251.1)
X-Spam-Flag: NO
References: <RT-Ticket-74255 [...] rt.cpan.org> <528C48E0-61D8-42CC-8FB5-452590FF17D9 [...] justatheory.com> <rt-3.8.HEAD-14882-1327297950-1772.74255-3-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: text/plain; charset="utf-8"
Message-ID: <4899ADCC-0FAA-46E9-8039-7DB671560633 [...] cpan.org>
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.4
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6A8182412BB for <cpan-bug+Archive-Zip [...] hipster.bestpractical.com>; Mon, 23 Jan 2012 00:54:45 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a1y2r6LzWMwx for <cpan-bug+Archive-Zip [...] hipster.bestpractical.com>; Mon, 23 Jan 2012 00:54:44 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4538D24120E for <bug-Archive-Zip [...] rt.cpan.org>; Mon, 23 Jan 2012 00:54:44 -0500 (EST)
Received: (qmail 17044 invoked by uid 103); 23 Jan 2012 05:54:43 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 23 Jan 2012 05:54:43 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sun, 22 Jan 2012 21:54:41 -0800
Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id CEEF12614 for <bug-Archive-Zip [...] rt.cpan.org>; Mon, 23 Jan 2012 00:54:38 -0500 (EST)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id C60252613 for <bug-Archive-Zip [...] rt.cpan.org>; Mon, 23 Jan 2012 00:54:38 -0500 (EST)
Received: from [10.0.1.7] (unknown [50.137.40.254]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 6AE082612 for <bug-Archive-Zip [...] rt.cpan.org>; Mon, 23 Jan 2012 00:54:38 -0500 (EST)
Delivered-To: cpan-bug+Archive-Zip [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #74255] AutoReply: CRC Error on Second Extraction of File
Return-Path: <dwheeler [...] cpan.org>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s=sasl; bh= jvK0xD17QYpm/sBe2kJ0gGz+8+E=; b=Aum2Xz+ongpssCVal55NgJ2+lYkmGRes QTn3ZweYgAfLmONg+N0x7QgzWthN9UIBaRLwtbayxKNxr0mjDV8mTdKTtU5t3Bd4 MsAO+trMWdxaTDZ+WFy2BRwKWiSI2wA7jrXje0x1g4JA/KQyvOKdRH2Ypj+3AI85 A7cSba6kzVk=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Archive-Zip [...] hipster.bestpractical.com
X-RT-Mail-Extension: archive-zip
Date: Sun, 22 Jan 2012 21:54:37 -0800
X-Spam-Level:
To: bug-Archive-Zip [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: BC5420F2-4586-11E1-B6D8-9DB42E706CDE-76319746!b-pb-sasl-quonix.pobox.com
From: "David E. Wheeler" <dwheeler [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-14878-1327298086-1116.74255-0-0 [...] rt.cpan.org>
Content-Length: 92
BTW, this is Archive::Zip 1.30 on Debian Linux (I think) and a perlbrew-built Perl 5.14.2.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-14878-1327298086-1116.74255-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-74255 [...] rt.cpan.org> <528C48E0-61D8-42CC-8FB5-452590FF17D9 [...] justatheory.com> <rt-3.8.HEAD-14882-1327297950-1772.74255-3-0 [...] rt.cpan.org> <4899ADCC-0FAA-46E9-8039-7DB671560633 [...] cpan.org> <rt-3.8.HEAD-14878-1327298086-1116.74255-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-14878-1327300665-336.74255-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 175
Download (untitled) / with headers
text/plain 175b
On 2012-01-23 00:54:46, DWHEELER wrote: Show quoted text
> BTW, this is Archive::Zip 1.30 on Debian Linux (I think) and a > perlbrew-built Perl 5.14.2.
Also occurs with Archive::Zip 1.31_04.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.