Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 00:42:02 -0600
From:      Christopher Farley <chris@northernbrewer.com>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 2GB limit on gzip?
Message-ID:  <20010313004200.A83508@northernbrewer.com>
In-Reply-To: <20010312223210.A83134@northernbrewer.com>; from chris@northernbrewer.com on Mon, Mar 12, 2001 at 10:32:12PM -0600
References:  <20010312165812.A82168@northernbrewer.com> <20010312173441.A25752@dan.emsphone.com> <20010312195330.A82645@northernbrewer.com> <20010312213743.A7606@dan.emsphone.com> <20010312223210.A83134@northernbrewer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On my FreeBSD 4.3-BETA (Wed Mar 7) machine, I can reproduce this problem
repeatedly. I can not reproduce this problem on my my FreeBSD 4.2-STABLE
(Fri Feb 23) machine.

#########################################################################
/tmp> dd if=/dev/urandom bs=1000000 count=2000 | gzip > /tmp/largefile.gz
 
/tmp> cat largefile.gz | gunzip > test
unzip: stdin: invalid compressed data--crc error

/tmp> cat largefile.gz | gunzip | diff test -
Binary files test and - differ

/tmp> ls -laF
-rw-r--r--   1 chris  wheel  2000323844 Mar 12 23:33 largefile.gz
-rw-r--r--   1 chris  wheel  2000000000 Mar 12 23:40 test
#########################################################################

The problematic machine can gunzip smaller files without any problem,
and I have not as yet determined how big a file needs to be before there
is a problem. 

As stated before, this is a problem with both gzip/gunzip and bzip2/bunzip2. 

Any ideas? I'm going to re-build the system tonight from source.

-- 
Christopher Farley
www.northernbrewer.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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