rsync via ssh dumps core after being interrupted

Bernhard Erdmann be at berdmann.de
Fri Oct 31 19:18:59 EST 2003


Hi,

I'm using rsync (version 2.5.5  protocol version 26) on RedHat Linux 8.0:

rsync -ae ssh /tmp/junk/ otherhost:/tmp/junk

If I interrupt rsync (^C), sometimes rsync on the other host dumps core 
or uses all (!) available memory and all CPU.

gdb on a core file:

$ gdb -q /usr/bin/rsync /tmp/core.4576
(no debugging symbols found)...
Core was generated by `/usr/bin/rsync --server --sender -logDtprz 
--delete . /var/log/tomcat18039'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpopt.so.0...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x42047ca7 in vfprintf () from /lib/i686/libc.so.6
(gdb) bt
#0  0x42047ca7 in vfprintf () from /lib/i686/libc.so.6
Cannot access memory at address 0xb6fc9f10
(gdb)

This happens on different host/host combinations. All hosts are on RHL 
8.0 with latest patches.

Regards,
Bernie




More information about the rsync mailing list