Hi,
 
rsync 3.0.9 is quite ancient, more than 3 years old. A lot of bugs have been fixed since then.
 
Is there a chance to update to the latest rsync version and retry with that ?
 
regards
Roland
 
Gesendet: Dienstag, 17. März 2015 um 11:51 Uhr
Von: "Aron Rotteveel" <rotteveel.a...@gmail.com>
An: rsync@lists.samba.org
Betreff: rsync 3.0.9 segmentation fault
Hi,
 
I am experiencing segfaults when transferring files via rsync though sudo.
Setup:
 
- Backupserver initiates the rsync command with --delete -vvv --no-inc-recursive --numeric-ids --delete-excluded --relative --rsync-path=/home/backupuser/rsync-wrapper.sh
- rsync-wrapper.sh (on the client) contains /usr/bin/sudo /usr/bin/rsync "$@";
- user "backupuser" has sudo access to the rsync command
- Both host and client are running 3.0.9
 
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.
 
rsync host output:
 
[sender] make_file(<redacted>/libraries/phputf8/mbstring/strlen.php,*,2)
rsync: connection unexpectedly closed (51261222 bytes received so far) [Receiver]
rsync error: unexplained error (code 139) at io.c(605) [Receiver=3.0.9]
[Receiver] _exit_cleanup(code=12, file=io.c, line=605): about to call exit(139)
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot -c \
    /home/remotebackup/hosts/<redacted>/rsnapshot.conf sync
----------------------------------------------------------------------------
ERROR: /usr/bin/rsync returned 139 while processing backupuser@<redacted>:/backup/
 
Client output when using gdb to debug the coredump:
 
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff015fd000
Core was generated by `/usr/bin/rsync --server --sender -vvvlogDtprRe.Lsf --numeric-ids . /backup'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000035cda7b441 in memcpy () from /lib64/libc.so.6
 
Any help would be greatly appreciated. Please let me know if additional info is required to properly debug this issue.
--
Best regards / Met vriendelijke groet,

Aron Rotteveel
-- 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
-- 
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

Reply via email to