SEGV on FreeBSD 4.8-STABLE with 2.6.2

Albert Chin rsync at mlists.thewrittenword.com
Sun May 2 20:33:03 GMT 2004


I'm getting a SEGV on a FreeBSD 4.8-STABLE box. The client is Solaris
9/SPARC. Both boxes run 2.6.2.

The command I'm running is:
  $ rsync -arHRv --numeric-ids --delete --exclude=/opt/dist/cdrom \
  [paths] [server]:[path]

If I whittle down what appears in [paths], then it works.

$ gdb rsync rsync.core
gdb> bt
#0  0x280faf0d in strncmp () from /usr/lib/libc.so.4
#1  0x7 in ?? ()
#2  0x80597f7 in send_file_name (f=-1, flist=0x808a100, 
    fname=0xbfbfe994 "etc/opt/TWWfsw", recursive=1, base_flags=1)
    at flist.c:929
#3  0x805a2fc in send_file_list (f=-1, argc=0, argv=0xbfbffa44) at flist.c:1178
#4  0x804c0ff in delete_files (flist=0x808a0c0) at receiver.c:102
#5  0x805177e in do_recv (f_in=0, f_out=1, flist=0x808a0c0, local_name=0x0)
    at main.c:426
#6  0x8051bae in do_server_recv (f_in=0, f_out=1, argc=1, argv=0x808a064)
    at main.c:547
#7  0x8051ca9 in start_server (f_in=0, f_out=1, argc=2, argv=0x808a060)
    at main.c:577
#8  0x8052a89 in main (argc=2, argv=0x808a060) at main.c:1041

Based on #2, seems the SEGV is in make_file but #1 doesn't show the
function name and line number. Odd.

-- 
albert chin (china at thewrittenword.com)


More information about the rsync mailing list