From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 10 21:21:00 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9017037BA6F for ; Sun, 10 Aug 2003 21:20:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2178143FB1 for ; Sun, 10 Aug 2003 21:20:23 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7B4KMUp070949 for ; Sun, 10 Aug 2003 21:20:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7B4KMc9070948; Sun, 10 Aug 2003 21:20:22 -0700 (PDT) Resent-Date: Sun, 10 Aug 2003 21:20:22 -0700 (PDT) Resent-Message-Id: <200308110420.h7B4KMc9070948@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2031237B5BB for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: gnu/55452: gzip doesn't handle large files X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 04:21:01 -0000 >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: