From owner-freebsd-hubs Thu May 10 1: 2:26 2001 Delivered-To: freebsd-hubs@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 223CA37B423 for ; Thu, 10 May 2001 01:02:22 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f4A82LM28062 for ; Thu, 10 May 2001 01:02:21 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id D2EF3380E; Thu, 10 May 2001 01:02:21 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Daniel Lang Cc: Jon Dugan , hubs@FreeBSD.ORG Subject: Re: rsync woes In-Reply-To: <20010510093316.B14626@atrbg11.informatik.tu-muenchen.de> Date: Thu, 10 May 2001 01:02:21 -0700 From: Peter Wemm Message-Id: <20010510080221.D2EF3380E@overcee.netplex.com.au> Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Daniel Lang wrote: > Hi, > > Peter Wemm wrote on Wed, May 09, 2001 at 09:03:27PM -0700: > [..] > > I think I know what is going on. rsync is using an embedded zlib-1.1.2 > > library. We got burned a few times with 1.1.2 ourselves, and have 1.1.3 > > in the tree. The changelog for 1.1.3 says: > > > > Changes in 1.1.3 (9 July 1998) > > - fix "an inflate input buffer bug that shows up on rare but persistent > > occasions" (Mark) > > ... > > > > I half suspect this is the reason for the problems. :-( I wonder how many > > tweaks were made to the embedded copy? > > Hmm, but the iso's shouldn't be transferred compressed. At least > I understood Peter that way, that .tgz and .iso will be excluded > from compression. So why should deflate() be called at all ? > Or is it, that the whole stream is piped through, but with a > compression level of 0 or something ? It looks to me that the problem with the zlib stuff happens at the boundaries. Looking at some of the zlib diffs suggested a few scenarios that might have caused this problem (ie: padding where it isn't supposed to be, etc). Yes, the docs are very explicit that .iso, .tgz etc are not compressed. I have not personally read the rsync code where this is handled. *grumble* *grumble* *kick rsync* *grumble* *looks at cvsupd again* Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message