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=d1 CUJZjr5ZfGYtu2cG4asH/ogL1jkeQxfc6OhQyJSyItuvmBEt9phG+nlylFuWN+9Q 6GBP0/UYa3otSkE/Ip+wu/HibBqfrXTSDSOspUsWHGEpKfPbOjQy9YC+EONaclCj /Lov5IWCHe6CIFgdKcoB8z/uONjMf4Up48S+yt2pg= 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=9YIlV9pg DUHoPP5LjY62SDtaqxc=; b=wjMjCW3jWPIsW3zWSpxO8DKCZY/E5Qg2w0YTKm9m iBGoghOLQckm5NX3a2tVWp4ukF90HXKYFUlQ3AJGdzXSHx/E0WCNZ43j/s9ZPTPs ZckCy7gLPAghCskx9uBXdWMYusrNi5oTZKKfYK8N7YA3sd0VuMLzVDvQQYu7giVx hcE= 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.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f46.google.com MIME-Version: 1.0 X-Received: by 10.66.242.17 with SMTP id wm17mr13025128pac.102.1389374825264; Fri, 10 Jan 2014 09:27:05 -0800 (PST) In-Reply-To: <CAM7Q9ZuqEKpCFNE0SXFe2Vk35-HRWQ=7waOvDGQQMTgMZ1eSVQ@mail.gmail.com> References: <CAM7Q9ZuqEKpCFNE0SXFe2Vk35-HRWQ=7waOvDGQQMTgMZ1eSVQ AT mail DOT gmail DOT com> Date: Fri, 10 Jan 2014 11:27:05 -0600 Message-ID: <CAM7Q9Zsu9V-LPgogq=0Tvb0qAmdfRMw6uAJvTS4CeXGUrZ1RMg@mail.gmail.com> Subject: Fwd: 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 Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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? Thanks, Chris -- 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