From nobody@FreeBSD.org  Mon Apr 26 17:39:38 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E3BB616A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 Apr 2004 17:39:38 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DAC5543D31
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 Apr 2004 17:39:38 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i3R0dcdu060455
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 26 Apr 2004 17:39:38 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i3R0dcm8060454;
	Mon, 26 Apr 2004 17:39:38 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404270039.i3R0dcm8060454@www.freebsd.org>
Date: Mon, 26 Apr 2004 17:39:38 -0700 (PDT)
From: Peter Losher <Peter_Losher@isc.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gzip has issues for files larger than 4GB...
X-Send-Pr-Version: www-2.3

>Number:         66008
>Category:       amd64
>Synopsis:       gzip has issues for files larger than 4GB...
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 26 17:40:24 PDT 2004
>Closed-Date:    Sun May 02 16:08:29 PDT 2004
>Last-Modified:  Sun May 02 16:08:29 PDT 2004
>Originator:     Peter Losher
>Release:        FreeBSD 5.2.1-RELEASE
>Organization:
ISC
>Environment:
FreeBSD kaboom.isc.org 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #2: Wed Apr 21 09:01:21 PDT 2004     root@kaboom.isc.org:/usr/src/sys/amd64/compile/KABOOM64  amd64
>Description:
After compressing a 2GB file on a amd64 system, decompressing it throws up an error:

gunzip: test1.gz: invalid compressed data--format violated

This also may be a issue on other 64-bit platforms in general, but I don't have FreeBSD on any of that hardware to test this on.

>How-To-Repeat:
Compress a 4GB+ file on a amd64 system and then gunzip it.      
>Fix:
Apply patch from the GZip developers:
http://www.gzip.org/4g-patch.tar

or this patch from the amd64 list:
http://marc.10east.com/?l=freebsd-amd64&m=108277176430545&w=2
(Thanks to Tim Robbins)

      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Sun May 2 16:08:17 PDT 2004 
State-Changed-Why:  
believed fix by commit to gzip.h 

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