Vincent R. wrote:
$ git clone git://git.gnome.org/glib
Initialized empty Git repository in /home/Vincent/glib/.git/
remote: Counting objects: 66572, done.
remote: Compressing objects: 100% (10319/10319), done.
fatal: read error on input: Bad address
fatal: index-pack failed
Exactly the same problem I had a few times ago and that was reported by
other users.
http://www.mail-archive.com/cygwin@cygwin.com/msg94477.html
Could reproduce the problem with a 'git clone' of the above and other
external repositories.
Updating an existing repo with 'git fetch' apparently works.
No problem when a local repo is cloned. No problem on Cygwin 1.5.
According to strace output (attached), the error message "bad address"
is from the child process git-index-pack. Function
fhandler_base::wait_overlapped() returns Windows error 998
(ERROR_NOACCESS). Then readv(0, ., 1) fails with errno 14 (EFAULT).
Problem in git or Cygwin DLL ?
--
Regards,
Christian Franke
...
21 11560214 [main] git 3992 writev: 8192 = write (6, 0x22C474, 1), errno 2
21 11560235 [main] git 3992 readv: readv (3, 0x22C424, 1) blocking,
sigcatchers 5
19 11560254 [main] git 3992 readv: no need to call ready_for_read
28 11560282 [main] git 3992 readv: 4 = readv (3, 0x22C424, 1), errno 2
22 11560304 [main] git 3992 readv: readv (3, 0x22C424, 1) blocking,
sigcatchers 5
19 11560323 [main] git 3992 readv: no need to call ready_for_read
35 11560358 [main] git 3992 readv: 3421 = readv (3, 0x22C424, 1), errno 2
22 11560380 [main] git 3992 readv: readv (3, 0x22C424, 1) blocking,
sigcatchers 5
20 11560400 [main] git 3992 readv: no need to call ready_for_read
13259 3844006 [main] git-index-pack 1740 fhandler_base::wait_overlapped: got a
signal
65 3844071 [main] git-index-pack 1740 __set_errno: int
fhandler_base::wait_overlapped(bool, bool, DWORD*):1709 val 4
27 3844098 [main] git-index-pack 1740 reset_signal_arrived: reset
signal_arrived
22 3844120 [main] git-index-pack 1740 reset_signal_arrived: stackptr[-1]
0x626D3223
21 3844141 [main] git-index-pack 1740 set_process_mask_delta: oldmask 0x0,
newmask 0x2000, deltamask 0x2000
20 3844161 [main] git-index-pack 1740 set_signal_mask: oldmask 0x2000,
newmask 0x0, mask_bits 0x2000
21 3844182 [main] git-index-pack 1740 sig_send: sendsig 0x6F4, pid 1740,
signal -39, its_me 1
27 3844209 [main] git-index-pack 1740 sig_send: wakeup 0x680
34 3844243 [main] git-index-pack 1740 sig_send: Waiting for pack.wakeup 0x680
103 3844346 [sig] git-index-pack 1740 wait_sig: signalling pack.wakeup 0x680
30 3844376 [main] git-index-pack 1740 sig_send: returning 0x0 from sending
signal -39
28 3844404 [main] git-index-pack 1740 fhandler_base::wait_overlapped: err 998
20 3844424 [main] git-index-pack 1740 seterrno_from_win_error:
/ext/build/netrel/src/cygwin-1.7.0-48/winsup/cygwin/fhandler.cc:1732 windows
error 998
23 3844447 [main] git-index-pack 1740 geterrno_from_win_error: windows error
998 == errno 14
29 3844476 [main] git-index-pack 1740 __set_errno: void
seterrno_from_win_error(const char*, int, DWORD):318 val 14
24 3844500 [main] git-index-pack 1740 fhandler_base::read: returning -1,
binary mode
22 3844522 [main] git-index-pack 1740 readv: -1 = readv (0, 0x22BB04, 1),
errno 14
...
--
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/