samba-bugs@samba.org
2008-Apr-22 01:19 UTC
DO NOT REPLY [Bug 5407] New: hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed.
https://bugzilla.samba.org/show_bug.cgi?id=5407 Summary: hlink.c:480: finish_hard_link: Assertion `flist ! ((void *)0)' failed. Product: rsync Version: 3.0.2 Platform: x86 OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: brian_lindholm@users.sourceforge.net QAContact: rsync-qa@samba.org Running command-line as follows: rsync --stats --modify-window=30 --links --hard-links --verbose --times -P -p \ --recursive --delete --exclude="known_hosts" --exclude=".Xauthority" \ --exclude=".ssh" /home/archive /backup/archive Get the following error message: rsync: hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed. rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32) rsync: unlink "/home/archive/Sermons_1/Music" failed: Is a directory (21) unexpected tag 107 [sender] rsync error: unexplained error (code 134) at io.c(1169) [sender=3.0.2] Rsync reports a failure when attempting to unlink a directory on the *SOURCE* side. I didn't ask it to delete *anything* on the source side. Holy crap! Unfortunately, the error is not repeatable. A repeat of the command finished the transfer without incident. This error happens about one out of 20 rsync runs. It's been present since rsync-3.0.0. I never saw anything like it with rsync-2.6.9. -- 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.
samba-bugs@samba.org
2008-May-01 00:12 UTC
DO NOT REPLY [Bug 5407] hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed.
https://bugzilla.samba.org/show_bug.cgi?id=5407 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary| hlink.c:480: |hlink.c:480: |finish_hard_link: Assertion |finish_hard_link: Assertion |`flist != ((void *)0)' |`flist != ((void *)0)' |failed. |failed. ------- Comment #1 from wayned@samba.org 2008-04-30 19:12 CST ------- In the latest source, the failing assert was replaced by some code that provides some error output prior to exiting. I also changed some code that was using a pool of buffers for the name to hard-link to instead use a buffer on the stack. We'll see if that helps us figure out the reason for the vanshed file list and see if it fixes the weirdness in the unlink you saw. -- 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.
samba-bugs@samba.org
2008-Jul-24 23:41 UTC
DO NOT REPLY [Bug 5407] hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed.
https://bugzilla.samba.org/show_bug.cgi?id=5407 ------- Comment #2 from wayned@samba.org 2008-07-24 18:41 CST ------- Any more info? If you still get an error, try the latest dev version (3.1.0 in git and nightly tar files) and specify --debug=hlink4 and let me know the output for a failure run. Also, specifying "--msgs2stderr" may help you to get errors back from the "server" side (which is the receiver/generator in a local copy). FYI, you'd use "-M --msgs2stderr" for a remote-shell copy (the option doesn't work with a daemon copy). -- 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.
samba-bugs@samba.org
2008-Jul-25 02:38 UTC
DO NOT REPLY [Bug 5407] hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed.
https://bugzilla.samba.org/show_bug.cgi?id=5407 ------- Comment #3 from brian_lindholm@users.sourceforge.net 2008-07-24 21:39 CST ------- I've not seen the error since I upgraded to rsync-3.0.3pre1. But given the intermittent nature of the error (1 out of 20 runs or so), I didn't have much opportunity to observe the problem before I upgraded to 3.0.3pre2. And not much time on pre2 before upgrading to 3.0.3-final. It seems likely that the problem was fixed during the 3.0.3 development cycle, but I can't say for sure. Version 3.0.3 has behaved flawlessly for me, without even a single errant run, but it's only been a month. I've done perhaps a hundred rsync runs during that time. [Hmmm... If the bug were still present with a 5% probability of manifesting per run, there's less than a 0.6% chance that I'd get as far as 100 runs without seeing it. That's pretty darned unlikely. Perhaps we should close this bugzilla case out as "fixed". And in the unlikely event that I ever see it again, I'll try the extra options on 3.1.0 as you suggest.] -- 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.
samba-bugs@samba.org
2008-Jul-25 03:47 UTC
DO NOT REPLY [Bug 5407] hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed.
https://bugzilla.samba.org/show_bug.cgi?id=5407 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Version|3.0.2 |3.0.3 ------- Comment #4 from wayned@samba.org 2008-07-24 22:48 CST ------- Good to hear! We'll mark this one as fixed in 3.0.3, then. Thanks! -- 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.
Maybe Matching Threads
- DO NOT REPLY [Bug 7454] New: assertion failed in finish_hard_link()
- [Bug 11161] New: rare crash in hlink.c:536
- link(2) EMLINK error behavior with --link-dest and --hard-links
- assertion failed after too many links error
- 3.0.0pre2(cvs) error: check_for_finished_files: Assertion `flist != ((void *)0)' failed.