delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/14/01:29: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=IV
/qISXG8PFhxb1pIod3YEFNTcGMhABpFSmP+REMoI8JAhYqFOvOzDud+l29tGgQlc
NsMvPYmDPeEgvygZ8CxwVzoCQoI6M1po1KRLj6QgDVr3Lq382MhOoHyJcOUlDBUS
HRV74oJKoFXbGbB7YulT8cJjZ1gbeAsI8UxLMHeP4=
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=ZkeLvRr3
k0MPBDrUjO9sYRKgSu8=; b=FXzYPiRUx+KUTDOGLZk9cRdvl5OPeMONpfplzdOf
NOhl0hJWr0liY5vIYtp8anKGwVMrfBHHVUoOqBd3vLhswI7IxPkeDzEufU3p/pDm
ytflt+GbdPvWu38j+ivEBuqynk+MmuiGFKEnTUP7ZksO39KS0JeBKX/mcrW6YsUg
T80=
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=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ea0-f175.google.com
MIME-Version: 1.0
X-Received: by 10.14.99.129 with SMTP id x1mr32565560eef.89.1389680926439; Mon, 13 Jan 2014 22:28:46 -0800 (PST)
In-Reply-To: <CAM7Q9Zsu9V-LPgogq=0Tvb0qAmdfRMw6uAJvTS4CeXGUrZ1RMg@mail.gmail.com>
References: <CAM7Q9ZuqEKpCFNE0SXFe2Vk35-HRWQ=7waOvDGQQMTgMZ1eSVQ AT mail DOT gmail DOT com> <CAM7Q9Zsu9V-LPgogq=0Tvb0qAmdfRMw6uAJvTS4CeXGUrZ1RMg AT mail DOT gmail DOT com>
Date: Mon, 13 Jan 2014 22:28:46 -0800
Message-ID: <CALgEz7qoYzUX+m=WHRNPSJBeUAy3HHJNivfDfv0aTSTtJq9OZg@mail.gmail.com>
Subject: Re: git clone fails on large repos when using cygcrypto-1.0.0.dll, works with 0.9.8
From: Balaji Venkataraman <balaji DOT s DOT venkataraman AT gmail DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

On Fri, Jan 10, 2014 at 9:27 AM, 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

I have been seeing similar problems with a few repos at work for quite
some time (at least a few months) and never quite understood why
cloning would fail mysteriously sometimes with a variety of errors -
including 'object blah does not exist' etc. This when using the the
latest git form Cygwin ports on Cygwin 32. Also this only happens w/
large repos and since I do not clone often, the problem was not a real
annoyance.

I can confirm the problem definitely exists and I was able to
reproduce it on the first try. See below. Nice sleuthing work to track
down the potential culprit. Would be great if this is fixed. Thanks.

-- output --
x86$ git clone --depth 916 git://source.ffmpeg.org/ffmpeg
Cloning into 'ffmpeg'...
remote: Counting objects: 17048, done.
remote: Compressing objects: 100% (8404/8404), done.
remote: Total 17048 (delta 11235), reused 12401 (delta 8470)
Receiving objects: 100% (17048/17048), 13.40 MiB | 132.00 KiB/s, done.

fatal: pack is corrupted (SHA1 mismatch)
fatal: --shallow-file failed

x86$ git --version
git version 1.8.3.4

[run setup.exe downgrade git]

x86$ git --version
git version 1.7.9

x86$ git clone --depth 916 git://source.ffmpeg.org/ffmpeg
Cloning into 'ffmpeg'...
remote: Counting objects: 169826, done.
remote: Compressing objects: 100% (45431/45431), done.
remote: Total 169826 (delta 136659), reused 156169 (delta 123946)
Receiving objects: 100% (169826/169826), 46.02 MiB | 138 KiB/s, done.
Resolving deltas: 100% (136659/136659), done.

--
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