This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git on cygwin 1.7.2/1.7.4


On 03/31/2010 09:36 PM, Mark Levedahl wrote:
On 03/31/2010 12:25 AM, Christopher Faylor wrote:
On Tue, Mar 30, 2010 at 08:08:37PM -0400, Mark Levedahl wrote:
All of the above connections and i/o processing are done using
bog-standard fork, pipe, open, read, write, and associated file
commands. Git has no trouble opening all of the processes and pipes
under Cygwin 1.7.2. However, in general before the data transfer is
complete the demux process issues an error upon getting an incomplete
packet (fewer bytes transmitted than declared in the header), and
debugging shows the error code of the read() is ENOENT, indicating the
pipe or socket has been terminated early. The index-pack process also
issues an error due to receipt of an incomplete pack.
Given the above, it seems logical the problem is with pipes, and as 1.7.4-1 is has fixes for pipes I tried it out and found a significant improvement: using 1.7.2-1 I got 16 failures out of 20 attempts to clone a 17 MByte repo on localhost, using 1.7.4-1 this is down to 3 failures out of 20 attempts. (1.7.3-1 was not an improvement).

The failures I do get are identical to what I described before: the demux thread is getting a 0 (= EOF) return from read(stdin, ...), while the server process is still trying to upload data via ssh.

So, 1.7.4-1 is better, but still has at least one issue remaining.

Mark

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]