Hi,
I am running mentioned rsync version in daemon mode on a x86 machine
which is a Gentoo Linux running kernel 2.4.26 and glibc 2.3.3_pre20040207.
During the sync from another machine, the rsync daemon hangs; client receives
no data and server waits on select() call. when this happens, rsync server
process
can only be killed by SIGKILL; no timeout occurs on server side.
ssh is not being used for sync - only pure rsync :)
I do not have necessary skills to debug the problem, so am asking you
for help.
Below please find attached backtrace on server side of rsync:
Attaching to program: /home/doli/progz/rsync-2.6.1pre-1/rsync, process 30131
0x2a344742 in ?? ()
(gdb) bt
#0 0x2a344742 in ?? ()
#1 0x2a3a2d20 in ?? ()
#2 0x00000020 in ?? ()
#3 0x598062b0 in ?? ()
#4 0x0805a150 in make_file (fname=0x0, flist=0x0, exclude_level=69) at
flist.c:879
#5 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#6 0x0805a845 in send_file_list (f=1, argc=1501590384, argv=0x0) at
flist.c:1033
#7 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078638920) at
match.c:170
#8 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#9 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#10 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#11 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#12 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#13 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#14 0x0805a845 in send_file_list (f=1, argc=1501596192, argv=0x0) at
flist.c:1033
#15 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078644728) at
match.c:170
#16 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#17 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#18 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#19 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#20 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#21 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#22 0x0805a845 in send_file_list (f=1, argc=1501602000, argv=0x0) at
flist.c:1033
#23 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078650536) at
match.c:170
#24 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#25 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#26 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#27 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#28 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#29 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#30 0x0805a845 in send_file_list (f=1, argc=1501607808, argv=0x0) at
flist.c:1033
#31 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078656344) at
match.c:170
#32 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#33 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#34 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#35 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#36 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#37 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#38 0x0805a845 in send_file_list (f=1, argc=1501613616, argv=0x0) at
flist.c:1033
#39 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078662152) at
match.c:170
#40 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#41 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#42 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#43 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#44 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#45 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#46 0x0805a845 in send_file_list (f=1, argc=1501619424, argv=0x0) at
flist.c:1033
#47 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078667960) at
match.c:170
#48 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#49 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#50 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#51 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#52 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#53 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#54 0x0805a845 in send_file_list (f=1, argc=1501625232, argv=0x0) at
flist.c:1033
#55 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078673768) at
match.c:170
#56 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#57 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#58 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#59 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#60 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#61 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#62 0x0805a845 in send_file_list (f=1, argc=1501631040, argv=0x0) at
flist.c:1033
#63 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078679576) at
match.c:170
#64 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#65 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#66 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#67 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#68 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#69 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#70 0x0805a845 in send_file_list (f=1, argc=1501636848, argv=0x0) at
flist.c:1033
#71 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078685384) at
match.c:170
#72 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#73 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#74 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#75 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#76 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#77 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#78 0x0805a845 in send_file_list (f=1, argc=1501642656, argv=0x0) at
flist.c:1033
#79 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078691192) at
match.c:170
#80 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#81 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#82 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#83 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#84 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0, recursive=0,
base_flags=0) at flist.c:920
#85 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65,
base_flags=0) at flist.c:932
#86 0x0805a845 in send_file_list (f=1, argc=1501648464, argv=0x0) at
flist.c:1033
#87 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078697000) at
match.c:170
#88 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202
#89 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at
match.c:319
#90 0x0804d1e4 in recv_files (f_in=30, flist=0x80712b1, local_name=0x6d
<Address 0x6d out of bounds>) at receiver.c:349
#91 0x080593ef in receive_file_entry (fptr=0x0, flags=0, flist=0x0, f=0) at
flist.c:593
#92 0x0805a2f5 in send_file_name (f=3, flist=0x0, fname=0x0,
recursive=1422892226, base_flags=0) at flist.c:920
#93 0x0805a3bc in send_file_name (f=3, flist=0x273, fname=0x1999dd8a <Address
0x1999dd8a out of bounds>, recursive=627, base_flags=21711)
at flist.c:932
#94 0x0805a43c in send_directory (f=707678303, flist=0x54cf9cc2, dir=0x277
<Address 0x277 out of bounds>) at flist.c:946
#95 0x08059e25 in make_file (fname=0x0, flist=0x0, exclude_level=4) at
flist.c:819
#96 0x08059e71 in make_file (fname=0x0, flist=0x0, exclude_level=143314120) at
flist.c:823
#97 0x0804d5f3 in recv_files (f_in=134793344, flist=0x3, local_name=0x3
<Address 0x3 out of bounds>) at receiver.c:438
#98 0x08050e43 in msleep (t=3) at util.c:1000
#99 0x080514c1 in show_malloc_stats () at main.c:194
#100 0x08062628 in write_batch_flist_info (flist_count=3, files=0x3) at
batch.c:43
#101 0x08062d35 in write_batch_csum_info (flist_entry=0x3, s=0x3) at batch.c:202
#102 0x0805d2be in read_longint (f=873) at io.c:710
#103 0x08062f73 in read_batch_csum_info (flist_entry=0, s=0x0,
checksums_match=0x1) at batch.c:256
#104 0x0805219b in do_server_recv (f_in=0, f_out=0, argc=1501700484,
argv=0x2a2514bc) at main.c:518
#105 0x2a287cf9 in ?? ()
#106 0x00000000 in ?? ()
#107 0x00000000 in ?? ()
#108 0x59822184 in ?? ()
#109 0x2a2514bc in ?? ()
#110 0x00000003 in ?? ()
#111 0x0804a180 in ?? ()
#112 0x00000000 in ?? ()
#113 0x0804a1a1 in ?? ()
#114 0x08051f20 in do_recv (f_in=134553376, f_out=3, flist=0x59822174,
local_name=0x806bcd0 "U\211?WV1?S\203?\f??") at main.c:439
Please let me know if you need further information,
best regards,
Terry