www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/24/08:39:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <49A3F88B.9090305@byu.net>
Date: Tue, 24 Feb 2009 06:39:23 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, forumer AT smartmobili DOT com
Subject: Re: Git broken with cygwin-1.7
References: <e8c30a42e1a0926b67d4704f9b921b51 AT mail DOT smartmobili DOT com>
In-Reply-To: <e8c30a42e1a0926b67d4704f9b921b51@mail.smartmobili.com>
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Vincent R. on 2/24/2009 6:07 AM:
> git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
> Initialized empty Git repository in /home/Vincent/projects/sparse/.git/
> remote: Counting objects: 7642, done.
> remote: Compressing objects: 100% (2414/2414), done.
> fatal: read error on input: Bad address99 KiB | 103 KiB/s
> fatal: index-pack failed

You can work around this by cloning via http protocol instead of git.  I
have seen occasional read errors as well, but have had a hard time
reliably reproducing them.  I guess it's a good thing to report that your
sample failed in the same place for me.

The fact that the error is EFAULT makes it hard to tell whether git is
making an incorrect call, or whether it really is tickling a cygwin
regression (perhaps in mmap or pread).  Perhaps an strace will help
isolate this.  I'll see if I can come up with a simpler test case.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin git maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmj+IsACgkQ84KuGfSFAYB6CwCdGvPzyZmg/KnbKFNIBLFMcjEH
nP0An1hE/Xam51RGp54D19oRw9OnkTRL
=uvCH
-----END PGP SIGNATURE-----

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

- Raw text -


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