https://bugzilla.samba.org/show_bug.cgi?id=13109

--- Comment #2 from Hansjoerg Lipp <sa...@hlipp.de> ---
Created attachment 13760
  --> https://bugzilla.samba.org/attachment.cgi?id=13760&action=edit
Simplified test case

I could simplify the test case even further, the attached test script does not
even need any example files any more. Simply execute
  ./mktest 5000
on a Linux system. This creates files consisting of few 0-bytes in the manner
described above and executes rsync as described.

I can't really help debugging this as I'm not familiar with the code, the
communication of the processes appears quite complex. I only got this far
(current git):

Commenting out the line
  send_msg((enum msgcode)code, buf, len, 0)
in rwrite() in log.c makes the error go away.

When printing the values iobuf.msg.len, iobuf.msg.len + needed, and
iobuf.msg.size in send_msg() in io.c, it can be seen that the hang occurs as
soon as (iobuf.msg.len + needed) exceeds iobuf.msg.size (32768), i.e. when
perform_io(needed, PIO_NEED_MSGROOM) has to be called.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to