Mail Archives: cygwin/2009/03/27/08:11:46
On Mar 26 21:19, Andy Moreton wrote:
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
>
> Produces this output:
>
> Initialized empty Git repository in /usr/local/src/kernel.org/linux-2.6/.git/
> remote: Counting objects: 1080230, done.
> remote: Compressing objects: 100% (175739/175739), done.
> fatal: read error on input: Bad address328.00 KiB | 33 KiB/s
> fatal: index-pack failed
>
> The relevant portion of the strace output is:
> --------------------------------------------------------------------------------
> 847 506042200 [main] git-index-pack 2084 readv: readv (0, 0x22C844, 1) blocking, sigcatchers 1
> 29196 506071396 [main] git-index-pack 2084 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.7.0-44/winsup/cygwin/fhandler.cc:1747 windows error 998
> 77 506071473 [main] git-index-pack 2084 geterrno_from_win_error: windows error 998 == errno 14
> 134 506071607 [main] git-index-pack 2084 readv: -1 = readv (0, 0x22C844, 1), errno 14
> --------------------------------------------------------------------------------
This needs help by the git maintainer. Eric?
As far as I could debug this, what happens is that read() is called
by git with the parameters address = 0x4051d0 and len = 4096.
The len is not the problem, but the address is:
$ objdump -h /bin/git
/bin/git: file format pei-i386
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00052a58 00401000 00401000 00000400 2**4
CONTENTS, ALLOC, LOAD, CODE
1 .data 000145ec 00454000 00454000 00053000 2**5
CONTENTS, ALLOC, LOAD, DATA
2 .rdata 00000330 00469000 00469000 00067600 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .bss 0000aa90 0046a000 0046a000 00000000 2**3
ALLOC
4 .idata 00008748 00475000 00475000 00067a00 2**2
CONTENTS, ALLOC, LOAD, DATA
So the buffer address for the read, 0x4051d0, is well within the text
segment. That can't be right.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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 -