samba-bugs at samba.org
2010-May-26 11:29 UTC
DO NOT REPLY [Bug 7454] New: assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 Summary: assertion failed in finish_hard_link() Product: rsync Version: 3.0.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: bas at debian.org QAContact: rsync-qa at samba.org I am rsyncing a localbackup to a remote machine. Local machine is running Debian stable on amd64, remoet is running FreeBSD on i386. Both machines have rsync 3.07. I consistently get the following error after a few minutes rsyncing: | Assertion failed: (node != NULL && node->data != NULL), function finish_hard_link, file hlink.c, line 536. | rsync: connection unexpectedly closed (1544 bytes received so far) [sender] | rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7] Sometimes this happens after 4 minutes, sometimes after 25 minutes, and never reproducibly on the same file. Please let me know if you need some further information to debug this. -- 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 at samba.org
2010-May-29 14:51 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 wayned at samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from wayned at samba.org 2010-05-29 09:51 CST ------- I have never seen this bug triggered, so if you can distill things down to a set of sharable files that will demonstrate the bug, that would be great. Also, what are your command-line options? -- 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 at samba.org
2010-May-29 15:02 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 ------- Comment #2 from wayned at samba.org 2010-05-29 10:02 CST ------- Another way to potentially help is to upgrade both sides to 3.1.0dev (via the git repo or the latest nightly tar file) and use --debug=hlink3 for the transfer. Capture all the output, and if rsync fails, compress it, and email it to me. -- 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 at samba.org
2010-Jul-12 12:30 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 ------- Comment #3 from bas at debian.org 2010-07-12 07:30 CST ------- Sorry for my long silence on this bug. It's rather tricky to track down, as I can only trigger it with a large tree (approx 1M files) and lots and lots of hardlinks. I can still reliably reproduce it though, also with a recent git version of rsync, both when transferring linux-to-linux and linux-to-freebsd. I'll let you know when I can reproduce it with a generated tree of files. -- 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 at samba.org
2011-Jan-29 13:28 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 samba at vdberg.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |samba at vdberg.org ------- Comment #4 from samba at vdberg.org 2011-01-29 07:28 CST ------- I have the same issue, only triggered with a large tree with lots of hard links. One side is Linux (QNAP NAS) and the other side is OS X both running 3.0.7. -- 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 at samba.org
2011-Jan-30 03:53 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 ------- Comment #5 from wayned at samba.org 2011-01-29 21:53 CST ------- (In reply to comment #4)> I have the same issue, only triggered with a large tree with lots of hard > links. One side is Linux (QNAP NAS) and the other side is OS X both running > 3.0.7.What are the options that you are using? Are you using --delete without --owner (-o, implied by -a), perchance? -- 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 at samba.org
2011-Jan-30 08:22 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 ------- Comment #6 from bas at debian.org 2011-01-30 02:22 CST ------- I am indeed. I've als,o noticed that the bug doesn't occur when using -a -- 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 at samba.org
2011-Jan-30 08:24 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 ------- Comment #7 from bas at debian.org 2011-01-30 02:24 CST ------- I noticed I haven't reported the command line I'm using yet. Here it is: rsync -rlHpztqP --delete --bwlimit=90 --exclude '/*/foo/' --exclude '/*/bar/' --exclude '.ssh/id*' --exclude '.gnupg/secring.gpg' daily.* weekly.* monthly.* user at remotehost: -- 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 at samba.org
2011-Jan-31 01:57 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 wayned at samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Version|3.0.7 |3.0.8 ------- Comment #8 from wayned at samba.org 2011-01-30 19:57 CST ------- Thank goodness! I had been totally stumped as to how this bug could be happening beyond data corruption occurring, and it would appear that both of you are being bitten by a corruption bug that can occur with an incremental-recursion transfer when --delete is used but --owner is not active. This bug was just recently identified and fixed, and will be released in 3.0.8. I'm going to go out on a limb and say that this bug is also now fixed (in git). If someone tests the git code and disagrees, we can open this back up (but I'm doubtful that is the case). -- 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 at samba.org
2011-Jan-31 19:33 UTC
DO NOT REPLY [Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 ------- Comment #9 from bas at debian.org 2011-01-31 13:33 CST ------- I think it is indeed fixed in latest git. I started a run this afternoon, and it is still running after 4 hours, whereas it would abort within ten minutes before. 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.
samba-bugs at samba.org
2011-Jun-11 06:43 UTC
[Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 --- Comment #10 from jamiec at synology.com 2011-06-11 06:43:15 UTC --- Hi Wayne, I am curious how this issue solve, so I check git log to find the diff. Is this issue solved in following commitment? commit 57edc4808f566fbaa58ec96bc7e543b1ccb92ab9 Author: Matt McCutchen <matt at mattmccutchen.net> Date: Sat Jan 29 19:25:53 2011 -0800 Avoid changing file_extra_cnt during deletion. Thanks in advance. Best Regards, Jamie Chen -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2011-Jun-15 19:26 UTC
[Bug 7454] assertion failed in finish_hard_link()
https://bugzilla.samba.org/show_bug.cgi?id=7454 --- Comment #11 from Wayne Davison <wayned at samba.org> 2011-06-15 19:26:28 UTC --- Yes, 57edc48 was the 3.1.0dev commit on the master branch. The commits on the b3.0.x branch were more contorted, since I first fixed the bug one way, and then changed to use Matt's idiom. You can see that set of changes as a single diff if you do this: git diff c825514 83b94ef -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Apparently Analagous Threads
- DO NOT REPLY [Bug 5407] New: hlink.c:480: finish_hard_link: Assertion `flist != ((void *)0)' failed.
- DO NOT REPLY [Bug 3925] New: rsync is unable to sync large (approx 4G) sparse files
- DO NOT REPLY [Bug 6821] New: Assertion failed so rsync crashes (path includes special char)
- DO NOT REPLY [Bug 5820] New: rsync does not replace symlink atomically
- DO NOT REPLY [Bug 7663] New: --compare-dest hangs