Bug 66008 - gzip has issues for files larger than 4GB...
Summary: gzip has issues for files larger than 4GB...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: amd64 (show other bugs)
Version: 5.2.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-amd64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 01:40 UTC by Peter Losher
Modified: 2004-05-03 00:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Losher 2004-04-27 01:40:24 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:17 UTC
State Changed
From-To: open->closed

believed fix by commit to gzip.h