Bug 66009

Summary: gzip has issues for files larger than 4GB...
Product: Base System Reporter: Peter Losher <Peter_Losher>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.2.1-RELEASE   
Hardware: Any   
OS: Any   

Description Peter Losher 2004-04-27 01:50:25 UTC
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.

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)
How-To-Repeat: Compress a 4GB+ file on a amd64 system and then gunzip it.
Comment 1 David E. O'Brien freebsd_committer freebsd_triage 2004-05-03 00:08:33 UTC
State Changed
From-To: open->closed

believed fix by commit to gzip.h.