Which rsync version?

Sven.Hartrumpf at FernUni-Hagen.de Sven.Hartrumpf at FernUni-Hagen.de
Fri Aug 3 19:20:22 GMT 2007

Fri, 3 Aug 2007 15:06:51 -0400, hashproduct+rsync wrote:
> No, that's just another SIGPIPE.  There are a total of three rsync
> processes, forked in the following pattern:
> sender
>  \_ generator
>       \_ receiver
> Your first backtrace was for the sender.  Setting gdb to always follow
> the child gave you the backtrace for the receiver.  But the generator
> is the one that is crashing and taking the others down with it.

Thanks Matt. So here goes the backtrace from the third process,
the generator:

(gdb) catch fork
Catchpoint 1 (fork)
(gdb) run -a --progress -v /cl/ /data/cl
Starting program: /programs/linux/rsync-3.0.0-64/bin/rsync -a --progress -v /cl/ /data/cl

Catchpoint 1 (forked process 28707), 0x00002b4167ab95bd in fork ()
   from /lib64/libc.so.6
(gdb) set follow-fork-mode child
(gdb) continue
sending incremental file list
[Switching to process 28707]

Catchpoint 1 (forked process 28708), 0x00002b4167ab95bd in fork ()
   from /lib64/libc.so.6
(gdb) set follow-fork-mode parent
(gdb) continue

Program received signal SIGSEGV, Segmentation fault.
0x00002b4167a93ee5 in free () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b4167a93ee5 in free () from /lib64/libc.so.6
#1  0x0000000000431c9b in pool_free_old (p=0x66fb90, 
    addr=<value optimized out>) at lib/pool_alloc.c:266
#2  0x0000000000404354 in flist_free (flist=0x730db0) at flist.c:2229
#3  0x000000000040da9c in check_for_finished_files (itemizing=1, code=FLOG, 
    check_redo=1) at generator.c:1851
#4  0x000000000040df44 in generate_files (f_out=1, 
    local_name=<value optimized out>) at generator.c:1974
#5  0x0000000000417007 in do_recv (f_in=0, f_out=1, local_name=0x0)
    at main.c:774
#6  0x00000000004177cd in start_server (f_in=0, f_out=1, argc=1, 
    argv=0x7fff4329d6a8) at main.c:884
#7  0x0000000000418875 in child_main (argc=1768711524, argv=0x40000)
    at main.c:891
#8  0x000000000042af95 in local_child (argc=2, argv=0x7fff4329d6a0, 
    f_in=0x7fff4329f68c, f_out=0x7fff4329f688, 
    child_main=0x418860 <child_main>) at pipe.c:147
#9  0x000000000041817b in main (argc=2, argv=0x66c9b0) at main.c:445

> uname -a
Linux ... #1 SMP Fri Jun 22 12:17:53 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux

More information about the rsync mailing list