
$ strace git clone http://git.denx.de/u-boot-at91.git
Here is strace output of one iteration of the infinite loop.
90 3571246 [main] git-http-fetch 2780 cygwin_select: 6, 0x22C550, 0x22C530, 0x22C510, 0x22C5B0 42 3571288 [main] git-http-fetch 2780 dtable::select_write: fd 5 20 3571308 [main] git-http-fetch 2780 dtable::select_except: fd 5 19 3571327 [main] git-http-fetch 2780 cygwin_select: to->tv_sec 0, to->tv_usec 0, ms 0 19 3571346 [main] git-http-fetch 2780 cygwin_select: sel.always_ready 0 21 3571367 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 19 3571386 [main] git-http-fetch 2780 socket_cleanup: si 0x0 si->thread 0x0 19 3571405 [main] git-http-fetch 2780 socket_cleanup: returning 19 3571424 [main] git-http-fetch 2780 peek_socket: considering handle 0x5D4 20 3571444 [main] git-http-fetch 2780 peek_socket: adding write fd_set , fd 5 19 3571463 [main] git-http-fetch 2780 peek_socket: adding except fd_set , fd 5 30 3571493 [main] git-http-fetch 2780 peek_socket: WINSOCK_SELECT returned 0 20 3571513 [main] git-http-fetch 2780 select_stuff::poll: returning 0 20 3571533 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 18 3571551 [main] git-http-fetch 2780 select_stuff::~select_stuff: deleting select records 37 3571588 [main] git-http-fetch 2780 cygwin_select: 0, 0x22C748, 0x22C740, 0x22C738, 0x22C730 22 3571610 [main] git-http-fetch 2780 cygwin_select: to->tv_sec 0, to->tv_usec 50000, ms 50 19 3571629 [main] git-http-fetch 2780 cygwin_select: sel.always_ready 0 50415 3622044 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 566 3622610 [main] git-http-fetch 2780 select_stuff::cleanup: calling cleanup routines 531 3623141 [main] git-http-fetch 2780 select_stuff::~select_stuff: deleting select records
I usually stop it by killing the only current invocation of git-http-fetch. It leaves only an empty ./u-boot-91/.git/clone-tmp, though it does create other directories in .git temporarily.
This problem has been repeatable for nearly the past 2 hours.
I did a clone of the same git repository without any problems earlier today, except it wouldn't build properly.
Any suggestions about what is wrong with the clone attempt and what can be done to fix it?
Thanks,
Ken Fuchs