DO NOT REPLY [Bug 5343] rsync does nothing after first time

samba-bugs at samba-bugs at
Fri Mar 21 17:26:05 GMT 2008

wayned at changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED

------- Comment #1 from wayned at  2008-03-21 12:26 CST -------
I'll need more information to help you debug the situation.  One first step: 
be sure you're running a non-stripped version of the rsync executable (so that
it has debug symbols) and when it hangs, attach gdb to the middle process of
the 3 (for a local copy) or the first of 2 (on the receiving side of a remote
copy).  Then, ensure it is the generator and output a backtrace:

  gdb rsync 12345
  p am_generator
  p *first_flist
  p *cur_flist

I may be able to figure out the hang by knowing where it happened, but may need
more info than that.

If you would be willing to generate a core-dump of the generator process, that
would allow me to diagnose the hang more fully.  E.g. run "ulimit -c unlimited"
before starting rsync, and then from inside the right attached process (via
gdb) execute the "signal 11" command to make it dump core (or run "kill 11
12345" from the command-line).  Then, gzip the core file and send it to me as
an attachment in a private email.

Configure bugmail:
------- 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