Subject: port-i386/29756: gzip -tvv error on netbsd2.0
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <robert@giga.or.at>
List: netbsd-bugs
Date: 03/21/2005 16:28:00
>Number:         29756
>Category:       port-i386
>Synopsis:       gzip -tvv error on netbsd2.0
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 21 16:28:00 +0000 2005
>Originator:     Robert Vargason
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
	
	
System: NetBSD oxana 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	

I get a gzip error on netbsd2.0 machines on large files,
but do not get the error when using a gzip from the 1.6 distribution
or when checking the same file on a netbsd1.6 machine.

# ll depot.tar.gz
-rw-r-----  1 robert  wheel  37703973426 Mar 21 06:06 depot.tar.gz
# md5 depot.tar.gz
MD5 (depot.tar.gz) = 3e9c81a09e7dfcfb7e8fe421ebfe5ddc

on the 1.6 machine I get:

# gzip -tvv depot.tar.gz
depot.tar.gz:      OK

on the 2.0 machine I get:

# gzip -tvv depot.tar.gz
gzip: invalid compressed data--length error
depot.tar.gz:       NOT OK

using a gzip from the 1.6 distribution on the same 2.0 machine and same file

# ./gzip16 -tvv depot.tar.gz
depot.tar.gz:      OK

>How-To-Repeat:
	
gzip a very large file (20GB+ ?) on a netbsd2.0 machine and then try
gzip -tvv on it.

>Fix:
	

>Unformatted: