Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
25484
Status:
rejected
Priority:
Low/Low
Queue:

People
Owner:
SHLOMIF [...] cpan.org
Requestors:
hergen.lange [...] olb.de
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
1.18
Fixed in:
(no value)



Subject: format error: CRC or size mismatch after reading data descriptor
I get errors (see below) when i try to unzip a ZIP Archive. The ZIP Files is not corrupt, because i can umcompress with unix unzip and WinZip. I cannot upload the Zip File because it contains Software from Saperion. Versions used: Archive-Zip-1.18 Compress-Raw-Bzip2-2.004 Compress-Raw-Zlib-2.004 Compress-Zlib-2.004 File-Which-0.05 IO-Compress-Base-2.004 IO-Compress-Bzip2-2.004 IO-Compress-Zlib-2.004 $ unzipAll.pl iSaperion_example.zip format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x8479220)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x8479220)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x8479220)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84791e4)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84791e4)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84791e4)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x8495604)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x8495604)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x8495604)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x848c234)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x848c234)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x848c234)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x848ca38)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x848ca38)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x848ca38)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84a8640)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84a8640)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84a8640)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84a8ba4)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84a8ba4)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84a8ba4)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 format error: CRC or size mismatch after reading data descriptor at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84a879c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84a879c)', 'Archive::Zip::DirectoryMember') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84a879c)') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)', 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', 'iSaperion_example.zip') called at ./ex.pl line 27 mkdir /tmp/iSaperion_example_for_insiders: Die Datei existiert bereits at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1800
Hi Hergen! On Fri Mar 16 08:12:24 2007, hergen wrote:
Show quoted text
> I get errors (see below) when i try to unzip a ZIP Archive. > The ZIP Files is not corrupt, because i can umcompress with unix
unzip
Show quoted text
> and WinZip. > I cannot upload the Zip File because it contains Software from > Saperion. > Versions used: > > Archive-Zip-1.18 > Compress-Raw-Bzip2-2.004 > Compress-Raw-Zlib-2.004 > Compress-Zlib-2.004 > File-Which-0.05 > IO-Compress-Base-2.004 > IO-Compress-Bzip2-2.004 > IO-Compress-Zlib-2.004 > > $ unzipAll.pl iSaperion_example.zip > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 >
Well, without the (or any other) offending data in question, and while being unable to reproduce this bug, this bug report is not very helpful. If you can, please try to see what's wrong by yourself, and supply us with a Zip file that reproduces this behaviour. Otherwise, I'll probably have to close this bug report. Regards, Shlomi Fish
Show quoted text
>
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x8479220)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x8479220)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x8479220)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84791e4)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84791e4)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84791e4)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x8495604)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x8495604)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x8495604)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x848c234)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x848c234)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x848c234)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x848ca38)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x848ca38)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x848ca38)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84a8640)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84a8640)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84a8640)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84a8ba4)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84a8ba4)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84a8ba4)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > format error: CRC or size mismatch after reading data descriptor > at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2868 > >
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x84a879c)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 2705 > >
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x84a879c)',
Show quoted text
> 'Archive::Zip::DirectoryMember') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1430 > >
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x84a879c)')
Show quoted text
> called at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 996 > >
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x8167c28)',
Show quoted text
> 'IO::File=GLOB(0x8478fe0)', 'iSaperion_example.zip') called at > /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 940 > > Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x8167c28)', > 'iSaperion_example.zip') called at ./ex.pl line 27 > mkdir /tmp/iSaperion_example_for_insiders: Die Datei existiert
bereits
Show quoted text
> at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 1800
There doesn't seem to be a way to reproduce this bug. The author was notified two weeks ago and hasn't responded with a good reproduction recipe or analysis. Thus, I'm closing this bug.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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