Rsync with samba - 4.5.0
Guru Prasad
gp22online at gmail.com
Wed Nov 23 07:19:23 UTC 2016
Hi team,
After samba upgrade rsync protocol not working.
When running command,
rsync --8-bit-output rsync://username@ip:port
it is throwing
error rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset
by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(276)
[Receiver=3.1.2]
Already there is a bug for it.
https://bugzilla.samba.org/show_bug.cgi?id=10304.
As said in the bug i have the strace output which shows segmentation fault.
7241 read(5,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3008\0\0\0\0\0\0"..., 832)
= 832
7241 fstat(5, {st_mode=S_IFREG|0644, st_size=80712, ...}) = 0
7241 mmap(NULL, 2185864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
5, 0) = 0x7fd406a88000
7241 mprotect(0x7fd406a9b000, 2093056, PROT_NONE) = 0
7241 mmap(0x7fd406c9a000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x12000) = 0x7fd406c9a000
7241 mmap(0x7fd406c9c000, 6792, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd406c9c000
7241 close(5) = 0
7241 mprotect(0x7fd406c9a000, 4096, PROT_READ) = 0
7241 mprotect(0x7fd406ea2000, 4096, PROT_READ) = 0
7241 set_tid_address(0x7fd4080809d0) = 7241
7241 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
6080 <... select resumed> ) = ? ERESTARTNOHAND (To be restarted)
6080 --- SIGCHLD (Child exited) @ 0 (0) ---
6080 wait4(-1, NULL, WNOHANG, NULL) = 7241
6080 wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes)
6080 rt_sigreturn(0xffffffffffffffff) = -1 EINTR (Interrupted system call)
6080 select(5, [4], NULL, NULL, NULL <unfinished ...>
Please let me know if i am wrong anywhere.
Thanks
Guru
More information about the samba-technical
mailing list