Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 14:00:49 +1000 (EST)
From:      Andrew <andrew@amy.ugh.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   gnu/55452: gzip doesn't handle large files
Message-ID:  <200308110400.h7B40n92055894@amy.local>
Resent-Message-ID: <200308110420.h7B4KMc9070948@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55452
>Category:       gnu
>Synopsis:       gzip doesn't handle large files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 10 21:20:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
UgH!
>Environment:
System: FreeBSD amy.local 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Fri Jul 25 00:40:38 GMT 2003 andrew@amy.local:/usr/obj/usr/src/sys/AMY i386


>Description:

The gzip in the base system doesn't not cope with large files. I'm not sure
exactly when the file is considred large but I think it is when the
uncompressed files are > 2GB. gzip fails silently. zcat will just show the
first part of the file. gunzip will expand the first part of a file then
remove the .gz file, effectively deleting a lot of data - again producing no
error message.

>How-To-Repeat:

zcat or gzip a large file...I have a large number of log files whose
uncompressed size is 2 - 4GB that all seem to exhibit the behaviour.

>Fix:

The gzip from the ports collection doesn't seem to have the problem so I'm
assuming its been fixed in later versions of gzip. Perhaps the version in the
base system can be upgraded.

Base system (non-working) gzip:

gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H ASMV 

Ports (working) gzip:

gzip 1.3.5
(2002-09-30)
Copyright 2002 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT ASMV 
Written by Jean-loup Gailly.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308110400.h7B40n92055894>