<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi,</div>

<div> </div>

<div>rsync 3.0.9 is quite ancient, more than 3 years old. A lot of bugs have been fixed since then.</div>

<div> </div>

<div>Is there a chance to update to the latest rsync version and retry with that ?</div>

<div> </div>

<div>regards</div>

<div>Roland</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 17. März 2015 um 11:51 Uhr<br/>
<b>Von:</b> "Aron Rotteveel" <rotteveel.aron@gmail.com><br/>
<b>An:</b> rsync@lists.samba.org<br/>
<b>Betreff:</b> rsync 3.0.9 segmentation fault</div>

<div name="quoted-content">
<div><span style="font-size: 12.8px;">Hi,</span>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">I am experiencing segfaults when transferring files via rsync though sudo.</div>

<div style="font-size: 12.8px;">Setup:</div>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">- Backupserver initiates the rsync command with --delete -vvv --no-inc-recursive --numeric-ids --delete-excluded --relative --rsync-path=/home/backupuser/rsync-wrapper.sh</div>

<div style="font-size: 12.8px;">- rsync-wrapper.sh (on the client) contains /usr/bin/sudo /usr/bin/rsync "$@";</div>

<div style="font-size: 12.8px;">- user "backupuser" has sudo access to the rsync command</div>

<div style="font-size: 12.8px;">- Both host and client are running 3.0.9</div>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">The transfer starts and some files are actually transferred. Once a certain file is reached (plain PHP file, no special characters or any other peculiarities) it segfaults.</div>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">rsync host output:</div>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">
<div>[sender] make_file(<redacted>/libraries/phputf8/mbstring/strlen.php,*,2)</div>

<div>rsync: connection unexpectedly closed (51261222 bytes received so far) [Receiver]</div>

<div>rsync error: unexplained error (code 139) at io.c(605) [Receiver=3.0.9]</div>

<div>[Receiver] _exit_cleanup(code=12, file=io.c, line=605): about to call exit(139)</div>

<div>----------------------------------------------------------------------------</div>

<div>rsnapshot encountered an error! The program was invoked with these options:</div>

<div>/usr/bin/rsnapshot -c \</div>

<div>    /home/remotebackup/hosts/<redacted>/rsnapshot.conf sync</div>

<div>----------------------------------------------------------------------------</div>

<div>ERROR: /usr/bin/rsync returned 139 while processing backupuser@<redacted>:/backup/</div>
</div>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">Client output when using gdb to debug the coredump:</div>

<div style="font-size: 12.8px;"> </div>

<div style="font-size: 12.8px;">
<div>warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff015fd000</div>

<div>Core was generated by `/usr/bin/rsync --server --sender -vvvlogDtprRe.Lsf --numeric-ids . /backup'.</div>

<div>Program terminated with signal 11, Segmentation fault.</div>

<div>#0  0x00000035cda7b441 in memcpy () from /lib64/libc.so.6</div>

<div> </div>
</div>

<div style="font-size: 12.8px;">Any help would be greatly appreciated. Please let me know if additional info is required to properly debug this issue.</div>

<div>
<div class="gmail_signature">--<br/>
Best regards / Met vriendelijke groet,<br/>
<br/>
Aron Rotteveel</div>
</div>
</div>
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a> Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a></div>
</div>
</div>
</div></div></body></html>