delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/14/15:26:04

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=wY
pnhSA7G4YNF9dSrnYDymZmm1tKExDDgt2KWh/iEcyWzXK5lrdbdFELXgAi2sw/ed
V6hZWqj6cnZ7T2mJS/QdyF4z9KlyudwVR+UajTXjRk6CcqZCdrmWXZTHhomO9u4p
LQ4S/o7kPBeS7P3OEQEDpWJohuQiXKLQutoZ1ffm8=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=X1ybbFWQ
Blox5XSWC4DAwQAXOs8=; b=pE6tXdThFPSPESfOj/fNqZOL7XGBHTVSMEPK2q6Z
DLc/sb+C4t2D7kV7EGz6VvCVgMfw7/0E8VqRTVeMabzKTkMI6cbSvCQ7o4yKywBV
YOIViV9mo1M3+Fb8+o2uMeKv5lrCznN2pVl+3xfxkF2KWkOlis9Xc/H7j2qfJ+qv
HDE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f179.google.com
MIME-Version: 1.0
X-Received: by 10.50.222.225 with SMTP id qp1mr26379341igc.49.1389731141909; Tue, 14 Jan 2014 12:25:41 -0800 (PST)
In-Reply-To: <20140113141943.GD21977@calimero.vinschen.de>
References: <CAM7Q9ZuqEKpCFNE0SXFe2Vk35-HRWQ=7waOvDGQQMTgMZ1eSVQ AT mail DOT gmail DOT com> <CAM7Q9Zsu9V-LPgogq=0Tvb0qAmdfRMw6uAJvTS4CeXGUrZ1RMg AT mail DOT gmail DOT com> <20140113141943 DOT GD21977 AT calimero DOT vinschen DOT de>
Date: Tue, 14 Jan 2014 14:25:41 -0600
Message-ID: <CAM7Q9ZuXqR0uWfEFqMi7kzs44=skAH-PTEBgC+jsYi9MEQ6+tg@mail.gmail.com>
Subject: Re: git clone fails on large repos when using cygcrypto-1.0.0.dll, works with 0.9.8
From: "Chris O'Bryan" <cobryan+cygwin AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Thanks for trying to reproduce this. Could I trouble you to try a
larger repo? I just managed to successfully check out the 10MB ffmpeg
example 6 times in a row with no issue using 1.0.0, but can never
successfully clone our 600MB internal repo. The error seems
intermittent, and a larger repo seems to provide many more chances for
it to mess up.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Cloning into 'linux'...
remote: Counting objects: 3339228, done.
remote: Compressing objects: 100% (500892/500892), done.
remote: Total 3339228 (delta 2809875), reused 3338567 (delta 2809378)
Receiving objects: 100% (3339228/3339228), 697.06 MiB | 976.00 KiB/s, done.
fatal: pack is corrupted (SHA1 mismatch)
fatal: index-pack failed

Thanks,
Chris

On Mon, Jan 13, 2014 at 8:19 AM, Corinna Vinschen wrote:
> 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:
>>
>> 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
>>
>> 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 .
>>
>> 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.
>>
>> 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
>>
>> 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
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019