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:
116471
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
michael.mcgill [...] orchestro.com
Cc:
AdminCc:

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



Subject: Problem with Archive-Zip and very large files
Date: Mon, 25 Jul 2016 19:00:37 +0000
To: "bug-Archive-Zip@rt.cpan.org" <bug-Archive-Zip@rt.cpan.org>
From: Michael McGill <michael.mcgill@orchestro.com>

 

I am running on windows. I suspect this is a file size issue.

 

I just installed version 1.57 or Archive-Zip and it had the same issue. It reports:

Zip_Error:format error: bad signature: 0x4e45565f at offset 288506414 in file My-File.zip

 

The input file is:

07/25/2016  12:39 PM       288,506,566 My-File.zip

 

When I decompressed the file with 7-zip, it appears to be fine. This is the file size:

07/24/2016  01:54 PM     4,317,670,099 My-File.txt

 

 

>perl -V

Set up gcc environment - 3.4.5 (mingw-vista special r3)

Summary of my perl5 (revision 5 version 16 subversion 3) configuration:

 

  Platform:

    osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread

    uname=''

    config_args='undef'

    hint=recommended, useposix=true, d_sigaction=undef

    useithreads=define, usemultiplicity=define

    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef

    use64bitint=undef, use64bitall=undef, uselongdouble=undef

    usemymalloc=n, bincompat5005=undef

  Compiler:

    cc='C:\Perl\site\bin\gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_ST

RICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_

IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUTE -fno-strict-aliasin

g -mms-bitfields',

    optimize='-O2',

    cppflags='-DWIN32'

    ccversion='', gccversion='3.4.5 (mingw-vista special r3)', gccosandvers=''

    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234

    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8

    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksi

ze=8

    alignbytes=8, prototype=define

  Linker and Libraries:

    ld='C:\Perl\site\bin\g++.exe', ldflags ='-L"C:\Perl\lib\CORE"'

    libpth=\lib

    libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32

-lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -

lodbccp32 -lcomctl32 -lmsvcrt

    perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshel

l32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc

32 -lodbccp32 -lcomctl32 -lmsvcrt

    libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib

    gnulibc_version=''

  Dynamic Linking:

    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '

    cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"'

 

 

Characteristics of this binary (from libperl):

  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY

                        PERLIO_LAYERS PERL_DONT_CREATE_GVSV

                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS

                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC

                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE

                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE

                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF

                        USE_SITECUSTOMIZE

  Locally applied patches:

        ActivePerl Build 1603 [296746]

  Built under MSWin32

  Compiled at Mar 13 2013 11:29:21

  @INC:

    C:/perl/site/lib

    C:/perl/lib

    .

 

Best regards,

Michael McGill

 

 

 

cid:image001.png@01CE064D.DA1FF920

Michael McGill | ORCHESTRO  (formerly Vision Chain)

michael.mcgill@orchestro.com

+1 703-640-3315

4330 East West Hwy, Suite 1120

Bethesda, MD 20814

www.orchestro.com

 

 

Image displayed inline above

Subject: Re: [rt.cpan.org #116471] Problem with Archive-Zip and very large files
Date: Mon, 25 Jul 2016 19:20:16 +0000
To: bug-Archive-Zip@rt.cpan.org
From: Fred Moyer <fred@redhotpenguin.com>

Hi Michael,

Archive-Zip doesn't support > 4 gig files. I looked at adding 64 bit file support, but it appeared to be non trivial.


On Mon, Jul 25, 2016, 12:01 PM Michael McGill via RT <bug-Archive-Zip@rt.cpan.org> wrote:
Show quoted text
Mon Jul 25 15:01:00 2016: Request 116471 was acted upon.
Transaction: Ticket created by michael.mcgill@orchestro.com
       Queue: Archive-Zip
     Subject: Problem with Archive-Zip and very large files
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: michael.mcgill@orchestro.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116471 >



I am running on windows. I suspect this is a file size issue.

I just installed version 1.57 or Archive-Zip and it had the same issue. It reports:
Zip_Error:format error: bad signature: 0x4e45565f at offset 288506414 in file My-File.zip

The input file is:
07/25/2016  12:39 PM       288,506,566 My-File.zip

When I decompressed the file with 7-zip, it appears to be fine. This is the file size:
07/24/2016  01:54 PM     4,317,670,099 My-File.txt


>perl -V
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:

  Platform:
    osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='C:\Perl\site\bin\gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_ST
RICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUTE -fno-strict-aliasin
g -mms-bitfields',
    optimize='-O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='3.4.5 (mingw-vista special r3)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksi
ze=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='C:\Perl\site\bin\g++.exe', ldflags ='-L"C:\Perl\lib\CORE"'
    libpth=\lib
    libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32
-lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -
lodbccp32 -lcomctl32 -lmsvcrt
    perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshel
l32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc
32 -lodbccp32 -lcomctl32 -lmsvcrt
    libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"'


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_SITECUSTOMIZE
  Locally applied patches:
        ActivePerl Build 1603 [296746]
  Built under MSWin32
  Compiled at Mar 13 2013 11:29:21
  @INC:
    C:/perl/site/lib
    C:/perl/lib
    .

Best regards,
Michael McGill



[cid:image001.png@01CE064D.DA1FF920]

Michael McGill | ORCHESTRO  (formerly Vision Chain)
michael.mcgill@orchestro.com<mailto:michael.mcgill@orchestro.com>
+1 703-640-3315
4330 East West Hwy, Suite 1120
Bethesda, MD 20814
www.orchestro.com<http://www.orchestro.com/>




Fixed in 1.67


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.