[Bug 2615] New: rsync hang when using -H

samba-bugs at samba.org samba-bugs at samba.org
Thu Apr 14 21:44:29 GMT 2005


           Summary: rsync hang when using -H
           Product: rsync
           Version: 2.6.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: psfales at lucent.com
         QAContact: rsync-qa at samba.org

After the upgrade to 2.6.4, we've found a number of cases where a command of the
following form hangs:

./rsync -H user at remotemachine:/etc/remote_file /local/dir/

The problem goes away if -H is not used, or if the target is a file rather than
a directory.   It also goes away when the local machine uses 2.6.3 (and the
remote machine uses either 2.6.3 or 2.6.4)

gdb shows that it is stuck in an infinite loop at link 196 in hlink.c:

                while (!(file->flags & FLAG_HLINK_EOL)) {
                        ndx = file->F_NEXT;
                        file = FPTR(ndx);

Every time through the loop ndx is zero, and file always gets the same value.

Unfortunately, it doesn't seem to be reproducible between all pairs of machines.
 In the cases where we've seen it, the local machine is solaris and the remote
machine is Linux running Fedora Core 2, or RedHat 9, but it doesn't show up
between all such pairs of machines.   On the machines where the problem is
showing up, however, it is completely consistent and reproducible.

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