X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=k4Yt7tSzq7q0o6gktqCYiY/UAYszrIrn3IJps6Hq1dZkAJzkRhjUG 0Ia+kj6SLSODNO1KWUJ4MQ8VzSrJntf/1XhKOsFQ/c9NP1nVx+8Ku/Gn8oC3OA9K QukQGQHSXatL6o53FBemYFH+yP7r9LxWW67GX6e4U21sDGtupuvi00= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=yVGYJnbC4ffMqwmmDYZCKHk9UpY=; b=nZ1YgtaS4KguHnEKdBMgMlwUX+gQ BcvbjSY36c0EcZeGLPH6vjgHODJSW0x2X14WzJRhlJ0vr7x7eU2uvOlt2Zi5dGVD NA8+ZgbUFGvqm/MWqSsEhbP8VYGprFtOF0tM5tKrVBI4XrXnN4QI2Kbhbokd+lKf /g9iX0J4NdMlVTk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 13 Jan 2014 15:19:43 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: git clone fails on large repos when using cygcrypto-1.0.0.dll, works with 0.9.8 Message-ID: <20140113141943.GD21977@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BRE3mIcgqKzpedwo" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --BRE3mIcgqKzpedwo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 10 11:27, Chris O'Bryan wrote: > I've been having issues cloning large repos with git under Cygwin, but > only when I compiled git myself. The version of Git that Cygwin's > setup.exe downloads works fine, while mine would intermittently fail > with messages like this: >=20 > Cloning into 'testrepo'... > remote: Counting objects: 41107, done > remote: Finding sources: 100% (15143/15143) > remote: Total 149668 (delta 9296), reused 148822 (delta 9296) > Receiving objects: 100% (149668/149668), 613.20 MiB | 6.64 MiB/s, done. > fatal: pack is corrupted (SHA1 mismatch) > fatal: index-pack failed >=20 > Sometimes the clone would work, but not very often. Sometimes the > error wouldn't be SHA1 mismatch, but the result would still be cloning > failed. I found it odd that the binary from setup.exe worked, but my > compile of the same version would fail. I did a diff of the 'objdump > -x' from my compile and the binary from setup.exe, and the only > significant difference was my compile used cygcrypto-1.0.0.dll, and > the working version used cygcrypto-0.9.8.dll . >=20 > I tried simply replacing cygcrypto-1.0.0.dll with a copy of > cygcrypto-0.9.8.dll and my problems went away. It seems like there may > be some regression from 0.9.8 to 1.0.0 that is causing git to > intermittently fail. >=20 > Here is a link to someone else running into what appears to be the > same issue using the FFmpeg repo: > http://stackoverflow.com/questions/17764079/clone-failing-at-large-depths= /21049635 >=20 > If anyone else is running into issues cloning with git on Cygwin (even > if the error is not the exact same message), could you try temporarily > replacing your cygcrypto-1.0.0.dll and check if this fixes your > issues? I can't reproduce this. I tried this on 64 bit Cygwin which has git 1.7.9 linked against libcrypto-1.0.0. Then I tried 32 bit 1.7.9 with libcrypto-0.9.8 as well as with libcrypto-1.0.0. Then I tried the 32 bit cygwinports version git-1.8.3.4, built against libcrypto-1.0.0. I can clone the ffmpeg repo as in the aforementioned example as often as I like, but I never get a problem. This is with Cygwin 1.7.27 and OpenSSL 1.0.1f. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --BRE3mIcgqKzpedwo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS0/X/AAoJEPU2Bp2uRE+gQNUP/RllKpHBBnfI04a5qYfCyJsB jyvy0Nvk4VOFkR4JQV7Bqmd/XiNHAUQo7kGcyLRBoLgJYbk4RI5ElBCbYI70/Pas 79xGGyDgwhAlqc0IRYuQKdUZDyBJT10cEWUFhi+ywh92jAo5n01y+CUfQyhJ2kfJ UkBposzVWwXzPROfV1Fj5FQmFgwTa+0Mxiie6hYuxHtVtLr1n7o6n5IQi3Tah0Y9 ur2byxBZxIsgJ6DEi6tyZ1YJNGf82YEGp9qQnbxzTroSzEaE9Js4g1wC+UFU0V01 plWodrKqf5zLlikX1RcQsxUoGCjfC3aKhuNItNa4AEJXSn1aw6KFYnhxgewz4cQ2 bbvQistBIk2TtZ2Iy31zPPZxJKuxnfS4+WVcz/9KsH5mizWZJuDgw8SdSNNUpJgX OZw957sPol+dCU4CmCLAWzBdLLlScrcYZrg+hEfM+xiqGdP3csM3JfxM8NcVZ/2A QFTdjPgPM8s+07I3vVHf7lxhSixuhfY73vQFsCnxs3zHW/eM9vAtvetBypEhcFNh ayXXYDnc6DmL6teysTpKkDnTQXWCrjt90wFk9SO3JgTFITHRZLhpsMr1TDTRcsII DG0OEqfMzuyfKShxEqCIRkY/IO0o+7YxdRArk85PKZpFM0Zl6nfYnw4VkzGPlGNC A/sJIE8nmYxxQr+MryI0 =cm2V -----END PGP SIGNATURE----- --BRE3mIcgqKzpedwo--