[Bug 3202] rsync crash with long directory structure

samba-bugs at samba.org samba-bugs at samba.org
Tue Nov 1 17:19:07 GMT 2005


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


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From wayned at samba.org  2005-11-01 10:19 -------
Your diagnostic work is helpful:  rsync calls a recursive function for every
level downward in the directory hierarchy, so you need enough stack to be able
to descend low enough to the deepest subdir.  The one thing that makes the stack
memory use so large is that rsync is currently allocating a filename buffer on
the stack for every level of directory descent.  I'll check to see if this would
be easy to optimize that.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list