Re: Git broken with cygwin-1.7

2009-02-24 Thread Christopher Faylor
On Tue, Feb 24, 2009 at 06:42:17AM -0700, Eric Blake wrote:
>According to Eric Blake on 2/24/2009 6:39 AM:
>>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.
>
>Phooey - it passes under strace.  I hate finding heisenbugs.

Have you tried:

strace -b100 ...

I added that buffering capability because it sometimes help find this type
of problem.

cgf

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



Re: Git broken with cygwin-1.7

2009-02-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Eric Blake on 2/24/2009 6:39 AM:
> 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.

Phooey - it passes under strace.  I hate finding heisenbugs.

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

Eric Blake e...@byu.net
-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+TgACgkQ84KuGfSFAYDxvgCg0qugRifF71GUCgcmxcWKKV1v
5soAn2Zxzzw4SUDo7KSwCW882kK0et4A
=wxwV
-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/



Re: Git broken with cygwin-1.7

2009-02-24 Thread Eric Blake
-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 e...@byu.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/



Git broken with cygwin-1.7

2009-02-24 Thread Vincent R.
Hi,

Everytime I try to checkout source code with git on cygwin-1.7 it fails
while the same command
works fine on cygwin-1.5/
For instance :

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

CYGWIN_NT-5.1 gynoid 1.7.0(0.200/5/3) 2009-02-20 17:20 i686 Cygwin
git version 1.6.1.2


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