Hi Team,
While Running rsync rsync://username at ip:873 , I am getting following 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.1]
In Remote pc , i can see segmentation fault, dmesg gives following error.
My remote PC using debian wheezy.
rsync[9022]: segfault at 968 ip 00007f90001cd790 sp 00007fffe96008a0 error
4 in libpthread-2.13.so[7f90001c8000+17000]
gdb output: bt
(gdb) bt
#0 0x00007fa75e8ab790 in __pthread_initialize_minimal_internal () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fa75e8ab209 in _init () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007fa75e6a0000 in ?? ()
#3 0x00007fa75f967f09 in ?? () from /lib64/ld-linux-x86-64.so.2
#4 0x00007fa75f9680ce in ?? () from /lib64/ld-linux-x86-64.so.2
#5 0x00007fa75f96c333 in ?? () from /lib64/ld-linux-x86-64.so.2
#6 0x00007fa75f967ba6 in ?? () from /lib64/ld-linux-x86-64.so.2
#7 0x00007fa75f96bb1a in ?? () from /lib64/ld-linux-x86-64.so.2
#8 0x00007fa75efe5760 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9 0x00007fa75f967ba6 in ?? () from /lib64/ld-linux-x86-64.so.2
#10 0x00007fa75efe57ff in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007fa75efe58f7 in __libc_dlopen_mode () from
/lib/x86_64-linux-gnu/libc.so.6
#12 0x00007fa75efbee94 in __nss_lookup_function () from
/lib/x86_64-linux-gnu/libc.so.6
#13 0x00007fa75efbf6ab in __nss_next2 () from
/lib/x86_64-linux-gnu/libc.so.6
#14 0x00007fa75efc5666 in gethostbyaddr_r () from
/lib/x86_64-linux-gnu/libc.so.6
#15 0x00007fa75efcae1d in getnameinfo () from
/lib/x86_64-linux-gnu/libc.so.6
#16 0x0000000000441002 in lookup_name ()
#17 0x0000000000440e3b in client_name ()
#18 0x000000000044d566 in start_daemon ()
#19 0x000000000043eb74 in start_accept_loop ()
#20 0x000000000044da7e in daemon_main ()
#21 0x0000000000425751 in main ()
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 ...>
so, i have upgraded rsync to latest in my remote pc, but problem not get
solved.
Please help me to solve this.
Regards,
Vigneshdhanraj G
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20161130/f2741fd1/attachment.html>
Any update on this issue. On Wed, Nov 30, 2016 at 6:29 PM, VigneshDhanraj G < vigneshdhanraj.g at gmail.com> wrote:> Hi Team, > > While Running rsync rsync://username at ip:873 , I am getting following > 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.1] > > In Remote pc , i can see segmentation fault, dmesg gives following error. > My remote PC using debian wheezy. > > rsync[9022]: segfault at 968 ip 00007f90001cd790 sp 00007fffe96008a0 error > 4 in libpthread-2.13.so[7f90001c8000+17000] > > gdb output: bt > > (gdb) bt > #0 0x00007fa75e8ab790 in __pthread_initialize_minimal_internal () from > /lib/x86_64-linux-gnu/libpthread.so.0 > #1 0x00007fa75e8ab209 in _init () from /lib/x86_64-linux-gnu/ > libpthread.so.0 > #2 0x00007fa75e6a0000 in ?? () > #3 0x00007fa75f967f09 in ?? () from /lib64/ld-linux-x86-64.so.2 > #4 0x00007fa75f9680ce in ?? () from /lib64/ld-linux-x86-64.so.2 > #5 0x00007fa75f96c333 in ?? () from /lib64/ld-linux-x86-64.so.2 > #6 0x00007fa75f967ba6 in ?? () from /lib64/ld-linux-x86-64.so.2 > #7 0x00007fa75f96bb1a in ?? () from /lib64/ld-linux-x86-64.so.2 > #8 0x00007fa75efe5760 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > #9 0x00007fa75f967ba6 in ?? () from /lib64/ld-linux-x86-64.so.2 > #10 0x00007fa75efe57ff in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > #11 0x00007fa75efe58f7 in __libc_dlopen_mode () from > /lib/x86_64-linux-gnu/libc.so.6 > #12 0x00007fa75efbee94 in __nss_lookup_function () from > /lib/x86_64-linux-gnu/libc.so.6 > #13 0x00007fa75efbf6ab in __nss_next2 () from > /lib/x86_64-linux-gnu/libc.so.6 > #14 0x00007fa75efc5666 in gethostbyaddr_r () from > /lib/x86_64-linux-gnu/libc.so.6 > #15 0x00007fa75efcae1d in getnameinfo () from > /lib/x86_64-linux-gnu/libc.so.6 > #16 0x0000000000441002 in lookup_name () > #17 0x0000000000440e3b in client_name () > #18 0x000000000044d566 in start_daemon () > #19 0x000000000043eb74 in start_accept_loop () > #20 0x000000000044da7e in daemon_main () > #21 0x0000000000425751 in main () > > 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 ...> > > so, i have upgraded rsync to latest in my remote pc, but problem not get > solved. > Please help me to solve this. > > Regards, > Vigneshdhanraj G >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20161202/64875f1d/attachment.html>
does it crash reproducable at the same file or is it randomly? Am 2. Dezember 2016 07:50:20 MEZ, schrieb VigneshDhanraj G <vigneshdhanraj.g at gmail.com>:>Any update on this issue. > >On Wed, Nov 30, 2016 at 6:29 PM, VigneshDhanraj G < >vigneshdhanraj.g at gmail.com> wrote: > >> Hi Team, >> >> While Running rsync rsync://username at ip:873 , I am getting following >> 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.1] >> >> In Remote pc , i can see segmentation fault, dmesg gives following >error. >> My remote PC using debian wheezy. >> >> rsync[9022]: segfault at 968 ip 00007f90001cd790 sp 00007fffe96008a0 >error >> 4 in libpthread-2.13.so[7f90001c8000+17000] >> >> gdb output: bt >> >> (gdb) bt >> #0 0x00007fa75e8ab790 in __pthread_initialize_minimal_internal () >from >> /lib/x86_64-linux-gnu/libpthread.so.0 >> #1 0x00007fa75e8ab209 in _init () from /lib/x86_64-linux-gnu/ >> libpthread.so.0 >> #2 0x00007fa75e6a0000 in ?? () >> #3 0x00007fa75f967f09 in ?? () from /lib64/ld-linux-x86-64.so.2 >> #4 0x00007fa75f9680ce in ?? () from /lib64/ld-linux-x86-64.so.2 >> #5 0x00007fa75f96c333 in ?? () from /lib64/ld-linux-x86-64.so.2 >> #6 0x00007fa75f967ba6 in ?? () from /lib64/ld-linux-x86-64.so.2 >> #7 0x00007fa75f96bb1a in ?? () from /lib64/ld-linux-x86-64.so.2 >> #8 0x00007fa75efe5760 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 >> #9 0x00007fa75f967ba6 in ?? () from /lib64/ld-linux-x86-64.so.2 >> #10 0x00007fa75efe57ff in ?? () from /lib/x86_64-linux-gnu/libc.so.6 >> #11 0x00007fa75efe58f7 in __libc_dlopen_mode () from >> /lib/x86_64-linux-gnu/libc.so.6 >> #12 0x00007fa75efbee94 in __nss_lookup_function () from >> /lib/x86_64-linux-gnu/libc.so.6 >> #13 0x00007fa75efbf6ab in __nss_next2 () from >> /lib/x86_64-linux-gnu/libc.so.6 >> #14 0x00007fa75efc5666 in gethostbyaddr_r () from >> /lib/x86_64-linux-gnu/libc.so.6 >> #15 0x00007fa75efcae1d in getnameinfo () from >> /lib/x86_64-linux-gnu/libc.so.6 >> #16 0x0000000000441002 in lookup_name () >> #17 0x0000000000440e3b in client_name () >> #18 0x000000000044d566 in start_daemon () >> #19 0x000000000043eb74 in start_accept_loop () >> #20 0x000000000044da7e in daemon_main () >> #21 0x0000000000425751 in main () >> >> 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 ...> >> >> so, i have upgraded rsync to latest in my remote pc, but problem not >get >> solved. >> Please help me to solve this. >> >> Regards, >> Vigneshdhanraj G >> > > >------------------------------------------------------------------------ > >-- >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-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20161202/e3a9b8f2/attachment.html>