search for: start_client

Displaying 20 results from an estimated 35 matches for "start_client".

2008 Dec 05
1
how to debug the rsync function start_client
I am a student in computer science, several weeks ago, i learn the rsync algorithm and i am very interested in it. I use the gdb to debug the rsync,but when i enter the function start_client , I use bt to find the function stacks,but i cannot find the function ,why? and how can i to see the start_client function and continue to debug the function. -------------- next part -------------- HTML attachment scrubbed and removed
2004 Jan 27
1
Differentiating debug messages from both sides
...se)\n", mi.ordblks); rprintf(FINFO, " smblks: %10d\n", mi.smblks); @@ -455,6 +457,8 @@ static int do_recv(int f_in,int f_out,st msleep(20); } + who_am_i = "generator"; + close(error_pipe[1]); if (f_in != f_out) close(f_in); @@ -754,6 +758,7 @@ static int start_client(int argc, char * argc--; argv++; } else { + who_am_i = "sender"; am_sender = 1; /* rsync:// destination uses rsync server over direct socket */ @@ -817,6 +822,7 @@ static int start_client(int argc, char * argc--; } } else { + who_am_i = "sender";...
2002 Feb 18
1
fixes for bugs in error handling in rsync-2.5.2; and updates for rsync3.txt
...e)-1)) { Index: main.c =================================================================== RCS file: /cvsroot/rsync/main.c,v retrieving revision 1.140 diff -c -r1.140 main.c *** main.c 6 Feb 2002 21:20:49 -0000 1.140 --- main.c 18 Feb 2002 00:39:34 -0000 *************** *** 880,887 **** ret = start_client(argc, argv); if (ret == -1) ! exit_cleanup(RERR_STARTCLIENT); else ! exit_cleanup(ret); ! return ret; } --- 880,889 ---- ret = start_client(argc, argv); if (ret == -1) ! exit_cleanup(RERR_STARTCLIENT); else ! exit_cleanup(ret); ! ! exit(ret); ! /* NOTREACHED...
2001 Dec 18
3
rsync hang, more details [LONG]
...in generate_files (f=5, flist=0x57520, local_name=0x0, f_recv=6) at generator.c:471 #7 0x1d3fc in do_recv (f_in=4, f_out=5, flist=0x57520, local_name=0x0) at main.c:379 #8 0x1d958 in client_run (f_in=4, f_out=5, pid=22226, argc=1, argv=0x56f74) at main.c:558 #9 0x1ddc0 in start_client (argc=1, argv=0x56f74) at main.c:731 #10 0x1e098 in main (argc=2, argv=0x56f70) at main.c:841 Backtrace #2 on client (child): #0 0xef5b7904 in _poll () #1 0xef5d3d40 in _select () #2 0x24644 in read_timeout (fd=4, buf=0xefffe680 "", len=4) at io.c:191 #3 0x24788 in read_lo...
2011 May 15
0
rsync client and server processes, all hanging in read_timeout()
...000001000132f8 in generate_files (f_out=4, local_name=0x0) at generator.c:2290 #7 0x0000000100020f48 in do_recv (f_in=5, f_out=4, local_name=0x0) at main.c:833 #8 0x000000010002179f in client_run (f_in=5, f_out=4, pid=64758, argc=1, argv=0x100100398) at main.c:1070 #9 0x00000001000220ff in start_client (argc=1, argv=0x100100398) at main.c:1277 #10 0x00000001000227ea in main (argc=2, argv=0x100100390) at main.c:1504 Stack trace on the iMac for the child rsync process (gdb) bt #0 0x00007fff87a86e52 in select$DARWIN_EXTSN () #1 0x000000010002eaad in read_timeout (fd=5, buf=0x7fff5fbfc420 &quo...
2017 Apr 14
4
rsync buffer overflow detected
...o.c:1815 #8 0x0000555555585ef6 in read_int (f=f at entry=1606) at io.c:1711 #9 0x00005555555876ed in setup_protocol (f_out=1605, f_in=1606) at compat.c:158 #10 0x0000555555576417 in client_run (f_in=1606, f_out=1605, pid=24793, argc=1, argv=0x5555557d5240) at main.c:1128 #11 0x000055555557795e in start_client (argv=0x5555557d5240, argc=1) at main.c:1423 #12 main (argc=2, argv=0x5555557d5240) at main.c:1651 It looks like a bug, but I'm not sure) -- Boris
2011 Sep 22
3
[Bug 8475] New: memory leak around free_xattr() and rsync_xal_free(), with -aX, 200 bytes per file and per directory
...076EF: send_file_name (flist.c:1433) by 0x40817D: send_directory (flist.c:1673) by 0x408991: send1extra (flist.c:1827) by 0x408D23: send_extra_file_list (flist.c:1899) by 0x417345: send_files (sender.c:184) by 0x42110A: client_run (main.c:1039) by 0x421B9B: start_client (main.c:1287) - There is another unrelated leak at much lower rate; 109 bytes in 39 blocks are definitely lost in loss record 17 of 30 at 0x4A05E46: malloc (vg_replace_malloc.c:195) by 0x41DF8F: _new_array (util.c:1430) by 0x406D00: make_file (flist.c:1215) by 0x...
2008 Aug 18
8
DO NOT REPLY [Bug 5701] New: deadlock on local rsyncing, bisected to commit f303b749f2843433c9acd8218a4b9096d0d1bb8d
https://bugzilla.samba.org/show_bug.cgi?id=5701 Summary: deadlock on local rsyncing, bisected to commit f303b749f2843433c9acd8218a4b9096d0d1bb8d Product: rsync Version: 3.1.0 Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P3 Component: core AssignedTo:
2002 Sep 25
0
Rsync Hangs 100% of the time when copying files from win2k machin es to linux
...4 0x804b71c in generate_files (f=4, flist=0x807fba8, local_name=0x0, f_recv=6) at generator.c:524 #5 0x805022f in do_recv (f_in=5, f_out=4, flist=0x807fba8, local_name=0x0) at main.c:420 #6 0x80506e4 in client_run (f_in=5, f_out=4, pid=7277, argc=1, argv=0x807f96c) at main.c:599 #7 0x8050ad3 in start_client (argc=2, argv=0x807f968) at main.c:774 #8 0x8050d44 in main (argc=2, argv=0x807f968) at main.c:921 #9 0x4004e853 in __libc_start_main () from /lib/libc.so.6 If I then detach and attach to process number 2 (7284) on the linux box, then single step until it emerges from select I get this back trac...
2016 Jun 29
0
Rsync hung when applying batch file
...optimized out>) at generator.c:2366 #6 0x000000000041d24c in do_recv (f_in=<value optimized out>, f_out=4, local_name=0x0) at main.c:843 #7 0x000000000041d4a2 in client_run (f_in=0, f_out=4, pid=-1, argc=<value optimized out>, argv=0xcba240) at main.c:1080 #8 0x000000000041e2fd in start_client (argc=1, argv=0xcba240) at main.c:1287 #9 main (argc=1, argv=0xcba240) at main.c:1514 (gdb) backtrace #0 0x00007f14cf42c243 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82 #1 0x00000000004277a3 in read_timeout (fd=3, buf=0x7fffac012f00 "\300O\001\254\377\177", len=4)...
2016 Jun 29
0
Rsync hung when applying batch file
...optimized out>) at generator.c:2366 #6 0x000000000041d24c in do_recv (f_in=<value optimized out>, f_out=4, local_name=0x0) at main.c:843 #7 0x000000000041d4a2 in client_run (f_in=0, f_out=4, pid=-1, argc=<value optimized out>, argv=0xcba240) at main.c:1080 #8 0x000000000041e2fd in start_client (argc=1, argv=0xcba240) at main.c:1287 #9 main (argc=1, argv=0xcba240) at main.c:1514 (gdb) backtrace #0 0x00007f14cf42c243 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82 #1 0x00000000004277a3 in read_timeout (fd=3, buf=0x7fffac012f00 "\300O\001\254\377\177", len=4)...
2002 Feb 06
1
rsync error: unexplained error (code -1) at main.c(842)
I'm running rsync 2.5.1 on solaris 7 in server mode and getting the above message when entering the following command: rsync -vraz --delete hostname::test ./ this is my rsyncd.conf use chroot = no max connections = 25 syslog facility = local 3 read only = false log file = /var/log/rsyncd.log pid file = /var/log/rsyncd.pid lock file = /var/log/rsyncd.lock [test] path = /export/home/mrl315
2007 May 21
0
Infinite loop on files > 2Gb
...8 #3 0x00405400 in generate_files (f_out=4, flist=0x144ac0, local_name=0x0) at generator.c:1420 #4 0x0040f32c in do_recv (f_in=5, f_out=4, flist=0x144ac0, local_name=0x0) at main.c:764 #5 0x0040fa5e in client_run (f_in=5, f_out=4, pid=1713, argc=1, argv=0x12461c) at main.c:1003 #6 0x0040ffb7 in start_client (argc=1, argv=0x12461c) at main.c:1171 #7 0x004104d3 in main (argc=2, argv=0x124618) at main.c:1381 Here's the locals: c = 2147026704 l = -1 b = 262474876 len = -2073107852 blength = 700 s2length = 9174100 As we can see l is -1 which I believe is the issue. I can understand it not being able...
2008 Dec 03
1
how to get details of rsync source code?
Hi Friends, I am new to rsync. I learnt the rsync algorithm and functionalities. It seems great. I want to dive into source code of rsync now. Could anyone suggest how should I proceed to understand the code. Is there any documentation about source code available? Basically I want to find out the execution path of complete client and server program. currently I am not able to separate client and
2007 May 27
1
DO NOT REPLY [Bug 4664] New: Infinite loop on files > 2Gb
...8 #3 0x00405400 in generate_files (f_out=4, flist=0x144ac0, local_name=0x0) at generator.c:1420 #4 0x0040f32c in do_recv (f_in=5, f_out=4, flist=0x144ac0, local_name=0x0) at main.c:764 #5 0x0040fa5e in client_run (f_in=5, f_out=4, pid=1713, argc=1, argv=0x12461c) at main.c:1003 #6 0x0040ffb7 in start_client (argc=1, argv=0x12461c) at main.c:1171 #7 0x004104d3 in main (argc=2, argv=0x124618) at main.c:1381 Here's the locals: c = 2147026704 l = -1 b = 262474876 len = -2073107852 blength = 700 s2length = 9174100 As we can see l is -1 which I believe is the issue. I can understand it not being able...
2011 Apr 21
2
Crash copying to a zfs-fuse partition
...906587) at match.c:243 #1 match_sums (f=8, s=0x888320, buf=0x888680, len=3906587) at match.c:369 #2 0x0000000000414ade in send_files (f_in=9, f_out=8) at sender.c:351 #3 0x000000000041d5c6 in client_run (f_in=9, f_out=8, pid=20819, argc=2, argv=0x867240) at main.c:1039 #4 0x000000000041dc95 in start_client (argc=3, argv=0x867240) at main.c:1287 #5 main (argc=3, argv=0x867240) at main.c:1514 If I put a host name in front of the source directory and do the copy over ssh, it appears to work! Is this a known bug? Thanks Jeremy
2017 Apr 16
0
Aw: rsync buffer overflow detected
...55555585ef6 in read_int (f=f at entry=1606) at io.c:1711 > #9 0x00005555555876ed in setup_protocol (f_out=1605, f_in=1606) at compat.c:158 > #10 0x0000555555576417 in client_run (f_in=1606, f_out=1605, > pid=24793, argc=1, argv=0x5555557d5240) at main.c:1128 > #11 0x000055555557795e in start_client (argv=0x5555557d5240, argc=1) > at main.c:1423 > #12 main (argc=2, argv=0x5555557d5240) at main.c:1651 > > It looks like a bug, but I'm not sure) > > -- > Boris > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscri...
2011 Jul 22
2
[Bug 8315] New: hang in rsync (match.c)
...7340) at match.c:211 #1 match_sums (f=4, s=0xcc1ec0, buf=0xcc1ef0, len=2000967340) at match.c:369 #2 0x0000000000414491 in send_files (f_in=5, f_out=4) at sender.c:337 #3 0x000000000041cd96 in client_run (f_in=5, f_out=4, pid=15684, argc=1, argv=0xcac240) at main.c:1039 #4 0x000000000041d455 in start_client (argc=2, argv=0xcac240) at main.c:1287 #5 main (argc=2, argv=0xcac240) at main.c:1514 The system is Fedora Linux 14 x86-64. I continued the program and reattached the debugger. It was stuck in the same place. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You a...
2008 Apr 26
1
Bug#477931: rsync: Segfaults syncing the linux kernel archive.
...in=3, f_out=3, pid=-1, argc=1, > argv=0x682338) at main.c:1077 > #7 0x000000000043f035 in start_socket_client ( > host=0x6827a8 "filehub.kernel.org", remote_argc=1, remote_argv=0x682330, > argc=1, argv=0x682338) at clientserver.c:132 > #8 0x00000000004204c0 in start_client (argc=1, argv=0x682338) at main.c:1243 > #9 0x0000000000420cf5 in main (argc=2, argv=0x682330) at main.c:1511 > (gdb) frame 1 > #1 0x0000000000430278 in check_prior (file=0x2ae3c6632e78, gnum=-1, > prev_ndx_p=0x7fffe8617564, flist_p=0x7fffe8617568) at hlink.c:269 > 269...
2004 Dec 07
1
rsync hangs when tunneling... help!
...r.c:240 #9 0x80500d0 in client_run (f_in=3, f_out=3, pid=-1, argc=1, argv=0x807d000) at main.c:688 #10 0x805dc9c in start_socket_client (host=0x807d048 "box.mfnx.net", path=0x807d063 "box.mfnx.net/data/", argc=1, argv=0x807d000) at clientserver.c:98 #11 0x80504ec in start_client (argc=2, argv=0x807d000) at main.c:861 #12 0x8050a8d in main (argc=2, argv=0x807d000) at main.c:1142 #13 0x804a069 in _start () server parent process: #0 0xff19db44 in _poll () from /usr/lib/libc.so.1 #1 0xff15236c in _select () from /usr/lib/libc.so.1 #2 0x00025ee8 in writefd_unbuffered () #...