Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 17:39:38 -0700 (PDT)
From:      Peter Losher <Peter_Losher@isc.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/66008: gzip has issues for files larger than 4GB...
Message-ID:  <200404270039.i3R0dcm8060454@www.freebsd.org>
Resent-Message-ID: <200404270040.i3R0eO9S097550@freefall.freebsd.org>

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

>Number:         66008
>Category:       amd64
>Synopsis:       gzip has issues for files larger than 4GB...
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 26 17:40:24 PDT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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