From andrew@amy.ugh.net.au  Sun Aug 10 21:18:19 2003
Return-Path: <andrew@amy.ugh.net.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2031237B5BB
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Aug 2003 21:15:43 -0700 (PDT)
Received: from mail.alwaysonline.net.au (sikuzote.AlwaysONLINE.net.au [202.181.16.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 02EDB441B4
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Aug 2003 20:59:09 -0700 (PDT)
	(envelope-from andrew@amy.ugh.net.au)
Received: from amy.ugh.net.au (amy.ugh.net.au [202.181.20.95])
	by mail.alwaysonline.net.au (Postfix) with ESMTP id 61B48766
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Aug 2003 13:59:40 +1000 (EST)
Received: from amy.local (andrew@localhost [127.0.0.1])
	by amy.ugh.net.au (8.12.9/8.12.9) with ESMTP id h7B40o2i055895
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Aug 2003 14:00:50 +1000 (EST)
	(envelope-from andrew@amy.local)
Received: (from andrew@localhost)
	by amy.local (8.12.9/8.12.9/Submit) id h7B40n92055894;
	Mon, 11 Aug 2003 14:00:49 +1000 (EST)
Message-Id: <200308110400.h7B40n92055894@amy.local>
Date: Mon, 11 Aug 2003 14:00:49 +1000 (EST)
From: Andrew <andrew@amy.ugh.net.au>
Reply-To: Andrew <andrew@amy.ugh.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gzip doesn't handle large files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55452
>Category:       gnu
>Synopsis:       gzip doesn't handle large files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 10 21:20:22 PDT 2003
>Closed-Date:    Sat Aug 28 11:48:40 GMT 2004
>Last-Modified:  Sat Aug 28 11:48:40 GMT 2004
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: tjr 
State-Changed-When: Mon Aug 23 11:02:54 GMT 2004 
State-Changed-Why:  
Does this problem still exist in -CURRENT? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55452 
State-Changed-From-To: feedback->closed 
State-Changed-By: tjr 
State-Changed-When: Sat Aug 28 11:47:15 GMT 2004 
State-Changed-Why:  
Mail to submitter is bouncing. The problem described in this PR is believed 
to have been fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55452 
>Unformatted:
