hang with rsync 3.0.0pre7 doing local copy

Wayne Davison wayned at samba.org
Sat Jan 5 22:05:04 GMT 2008

On Sat, Jan 05, 2008 at 09:11:18PM +0100, Paul Slootman wrote:
> Are there any variables that I could examine using gdb that may be
> helpful?  (It hung again last night.)

The best place to start is to dump the file lists from the generator
(the binary with the am_generator global == 1).  Look at the flist_eof
global to see if the generator thinks that it has all the file lists or
not.  Output *first_flist and the various *first_flist->next values
until it goes NULL.  Look for a dir with a non-zero in_progress or
to_redo value.  If you see some that are non-zero, check to see what
kind of an update was going on with the files in that dir.  That might
help to narrow it down.  If not, feel free to ask for more suggestions,
or feel free to generate a core dump (attach to the executable and run
"signal SIGBUS" (hopefully "ulimit -c" is not 0) and send me the core
and an executable with debug symbols.


More information about the rsync mailing list