[Bug 2766] rsync endless loop

samba-bugs at samba.org samba-bugs at samba.org
Wed Jun 8 13:23:05 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2766





------- Additional Comments From cs at emlix.com  2005-06-08 06:23 -------
Hello again,

here's another 'wild' rsync. Same symtoms as before. What's wondering me is,
that after ltrace, there's something to see with strace - until both processes
segfault. (The final strace commands were run in paralell)

backup:~ # ps axf
  PID TTY      STAT   TIME COMMAND
 7416 ?        S      0:00  |   |   \_ /bin/bash /root/bin/backup.external
/backup/admin/log/backup_2005-06-07-external.log
 9065 ?        R    581:58  |   |       \_ /root/bin/rsync -v --archive --delete
/backup/pserv/ daily.0/pserv
 9066 ?        S      0:00  |   |           \_ /root/bin/rsync -v --archive
--delete /backup/pserv/ daily.0/pserv

backup:~ # netstat -anp|grep rsync
unix  3      [ ]         STREAM     CONNECTED     2344808 9066/rsync          
unix  3      [ ]         STREAM     CONNECTED     2344807 9065/rsync          
unix  3      [ ]         STREAM     CONNECTED     2344806 9065/rsync          
unix  3      [ ]         STREAM     CONNECTED     2344805 9066/rsync          

backup:~ # strace -p 9065
Process 9065 attached - interrupt to quit
Process 9065 detached
backup:~ # strace -p 9066
Process 9066 attached - interrupt to quit
select(1, [0], [], NULL, {44, 568000} <unfinished ...>
Process 9066 detached

backup:~ # ltrace -p 9065 -S
backup:~ # ltrace -p 9066 -S
SYS__newselect(1, 0xbfffc700, 0xbfffc680, 0, 0xbfffc678)                       
                   = 0
__errno_location()                                                             
                   = 0xb7eb6600
select(1, 0xbfffc700, 0xbfffc680, 0, 0xbfffc678 <unfinished ...>
SYS__newselect(1, 0xbfffc700, 0xbfffc680, 0, 0xbfffc678 <unfinished ...>

backup:~ # strace -p 9065
Process 9065 attached - interrupt to quit
--- SIGSTOP (Stopped (signal)) @ 0 (0) ---
--- SIGSTOP (Stopped (signal)) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbffee24c, WNOHANG)        = 0
sigreturn()                             = ? (mask now [])
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], WNOHANG) = 9066
waitpid(-1, 0xbffee25c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 9065 detached

backup:~ # strace -p 9066
Process 9066 attached - interrupt to quit
--- SIGSTOP (Stopped (signal)) @ 0 (0) ---
--- SIGSTOP (Stopped (signal)) @ 0 (0) ---
select(1, [0], [], NULL, {38, 186000})  = 0 (Timeout)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 9066 detached

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list