[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsync
Subject:    Failed assertion in finish_hard_link
From:       Mike Bombich <mike () bombich ! com>
Date:       2011-08-11 20:42:36
Message-ID: 229FF026-5D44-4CC6-A7C4-09EAB41C7838 () bombich ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I'm seeing this assertion failure:

hlink.c:610: failed assertion `node != NULL && node->data != NULL'

In this block of code:

if (inc_recurse) {
	int gnum = F_HL_GNUM(file);
	struct ht_int32_node *node = hashtable_find(prior_hlinks, gnum, 0);
-->	assert(node != NULL && node->data != NULL);
	assert(CVAL(node->data, 0) == 0);
	free(node->data);
	if (!(node->data = strdup(our_name)))
		out_of_memory("finish_hard_link");
}

rsync (3.0.6) is being called with something like this:

rsync -aHANXx --force-change --fileflags --numeric-ids --protect-decmpfs \
--delete-during --filter=._/path/to/filter /Volumes/HFS_Source/ \
/Volumes/HFS_Destination

I'm not really sure where to begin troubleshooting this, any suggestions? 

Thanks,
Mike


[Attachment #5 (unknown)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">I'm seeing this assertion \
failure:<div><br></div><div>hlink.c:610: failed assertion `node != NULL &amp;&amp; \
node-&gt;data != NULL'</div><div><br></div><div>In this block of \
code:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; \
color: rgb(33, 23, 169); "><span style="color: #861263">if</span><span style="color: \
#000000"> (</span>inc_recurse<span style="color: #000000">) {</span></div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" \
style="white-space:pre">	</span><span style="color: #861263">int</span> gnum = \
F_HL_GNUM(<span style="color: #2117a9">file</span>);</div><div style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal \
normal 11px/normal Monaco; "><span class="Apple-tab-span" \
style="white-space:pre">	</span><span style="color: #861263">struct</span> \
ht_int32_node *node = hashtable_find(<span style="color: \
#2117a9">prior_hlinks</span>, gnum, <span style="color: #3600fc">0</span>);</div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
font: normal normal normal 11px/normal Monaco; ">--&gt;<span class="Apple-tab-span" \
style="white-space:pre">	</span>assert(node != <span style="color: \
#861263">NULL</span> &amp;&amp; node-&gt;data != <span style="color: \
#861263">NULL</span>);</div><div style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; \
"><span class="Apple-tab-span" \
style="white-space:pre">	</span>assert(CVAL(node-&gt;data, <span style="color: \
#3600fc">0</span>) == <span style="color: #3600fc">0</span>);</div><div \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
font: normal normal normal 11px/normal Monaco; "><span class="Apple-tab-span" \
style="white-space:pre">	</span><span style="color: \
#868686">free</span>(node-&gt;data);</div><div style="margin-top: 0px; margin-right: \
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal \
Monaco; "><span class="Apple-tab-span" style="white-space:pre">	</span><span \
style="color: #861263">if</span> (!(node-&gt;data = <span style="color: \
#868686">strdup</span>(our_name)))</div><div style="margin-top: 0px; margin-right: \
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal \
Monaco; "><span class="Apple-tab-span" \
style="white-space:pre">		</span>out_of_memory(<span style="color: \
#961a1f">"finish_hard_link"</span>);</div><div style="margin-top: 0px; margin-right: \
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal \
Monaco; ">}</div></div><div><br></div><div>rsync (3.0.6) is being called with \
something like this:</div><div><br></div><div>rsync -aHANXx --force-change \
--fileflags --numeric-ids --protect-decmpfs --delete-during \
--filter=._/path/to/filter /Volumes/HFS_Source/ \
/Volumes/HFS_Destination</div><div><br></div><div>I'm not really sure where to begin \
troubleshooting this, any \
suggestions?&nbsp;</div><div><br></div><div>Thanks,</div><div>Mike</div></body></html>




-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic