search for: local_child

Displaying 20 results from an estimated 20 matches for "local_child".

2008 Aug 18
8
DO NOT REPLY [Bug 5701] New: deadlock on local rsyncing, bisected to commit f303b749f2843433c9acd8218a4b9096d0d1bb8d
...fd () from /proc/22367/exe #5 0x00007fa3650834d5 in generate_files () from /proc/22367/exe #6 0x00007fa36508e29c in do_recv () from /proc/22367/exe #7 0x00007fa36508ed82 in start_server () from /proc/22367/exe #8 0x00007fa36508fc55 in child_main () from /proc/22367/exe #9 0x00007fa3650a943e in local_child () from /proc/22367/exe #10 0x00007fa36508cb45 in do_cmd () from /proc/22367/exe #11 0x00007fa36508f53f in main () from /proc/22367/exe $ gstack 22368 #0 0x0000000000a24ad3 in __select_nocancel () from /lib64/libc.so.6 #1 0x00007fa36509b660 in read_timeout () from /proc/22368/exe #2 0x00007fa36...
2004 Jul 12
2
[PATCH] Batch-mode rewrite
...the rest of rsync. Points of interaction are: 1) opening a batch file in main() 2) a hook in readfd() for writing batches from a receiver 3) a hook in writefd() for writing batches from a sender 4) file descriptor swaping in client_run() for reading batches 5) aborting the unneeded server in local_child() during a read_batch 6) a special-case for writing the protocol version during an rsyncd inband exchange 7) a special-case for writing the checksum-seed 8) a special-case for not reading end-of-run statistics Points 1-5 are very simple and clean. Points 6-8 are all the result of protocol...
2007 Dec 28
2
hang with rsync 3.0.0pre7 doing local copy
...004190b4 in do_recv (f_in=0, f_out=1, local_name=0x0) at main.c:848 #7 0x00000000004198a3 in start_server (f_in=0, f_out=1, argc=1, argv=<value optimized out>) at main.c:958 #8 0x000000000041af15 in child_main (argc=490388736, argv=0xffffffffffffffff) at main.c:965 #9 0x0000000000430b2e in local_child (argc=2, argv=0x7fff1d3aff00, f_in=0x7fff1d3b2f2c, f_out=0x7fff1d3b2f28, child_main=0x41af00 <child_main>) at pipe.c:150 #10 0x000000000041a4f9 in main (argc=2, argv=0x66f240) at main.c:464 Strace says: select(4, [3], [], NULL, {33, 0} <unfinished ...> # gdb -p 3714 (gdb) bt #0 0x000...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...*************** *** 333,338 **** --- 333,339 ---- struct file_struct { unsigned flags; time_t modtime; + time_t acctime; OFF_T length; mode_t mode; *** proto.h@@/main/original/1 Tue Apr 9 14:03:22 2002 --- proto.h Tue Apr 9 15:21:58 2002 *************** *** 233,239 **** pid_t local_child(int argc, char **argv,int *f_in,int *f_out); void out_of_memory(char *str); void overflow(char *str); ! int set_modtime(char *fname, time_t modtime); int create_directory_path(char *fname); int copy_file(char *source, char *dest, mode_t mode); int robust_unlink(char *fname); --- 233,239 -...
2015 Mar 16
8
[Bug 11166] New: running with -vvv causes a hang
https://bugzilla.samba.org/show_bug.cgi?id=11166 Bug ID: 11166 Summary: running with -vvv causes a hang Product: rsync Version: 3.1.1 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter: pskocik at
2011 Jul 17
11
[Bug 8308] New: rsync: exclude.c:532: change_local_filter_dir: Assertion `dir_depth < 4096/2+1' failed
...(f_out=1, local_name=0x0) at generator.c:2251 #3 0x08064c9e in do_recv (f_in=0, f_out=1, local_name=0x0) at main.c:843 #4 0x080656a4 in start_server (f_in=0, f_out=1, argc=1, argv=0xfffd6e30) at main.c:953 #5 0x08066738 in child_main (argc=2, argv=0xfffd6e30) at main.c:960 #6 0x0807c92e in local_child (argc=2, argv=0xfffd6e30, f_in=0xfffd8ed0, f_out=0xfffd8ecc, child_main=0x8066710 <child_main>) at pipe.c:156 #7 0x080633e9 in do_cmd (cmd=0x0, machine=0x0, user=0x0, remote_argv=0x80b39b4, remote_argc=0, f_in_p=0xfffd8ed0, f_out_p=0xfffd8ecc) at main.c:469 #8 0x08065f4b in m...
2008 Jan 30
2
[PATCH] Fix backwards comment about logging on a local run.
...e previous "if" (which doesn't close the log file) sets am_server = 1, I think the comment is backwards. pipe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pipe.c b/pipe.c index 12aa73d..101d4cb 100644 --- a/pipe.c +++ b/pipe.c @@ -150,7 +150,7 @@ pid_t local_child(int argc, char **argv, int *f_in, int *f_out, child_main(argc, argv); } - /* Let the client side handle this. */ + /* Let the server side handle this. */ if (logfile_name) { logfile_name = NULL; logfile_close(); -- 1.5.4.rc3.15.g4bbc
2009 Aug 13
3
DO NOT REPLY [Bug 6636] New: Deallocation of a pointer not malloced
...e=0x4aeb54 "...") at generator.c:2245 #9 0x0001d004 in do_recv (f_in=0, f_out=1, local_name=0x0) at main.c:830 #10 0x0001da00 in start_server (f_in=0, f_out=1, argc=1, argv=0xbfffe444) at main.c:940 #11 0x0001ed50 in child_main (argc=18633264, argv=0x8000) at main.c:947 #12 0x00039858 in local_child (argc=2, argv=0xbfffe440, f_in=0xbfffe030, f_out=0xbfffe034, child_main=0x1ed30 <child_main>) at pipe.c:156 #13 0x0001ebcc in main (argc=2, argv=0x3002b0) at main.c:463 -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ---...
2007 Aug 02
4
Which rsync version?
Hi all. I once tried to rsync around 100 GB (10 million files), but version 2.6.6 needed too much RAM and was too slow. Is one of the snapshots stable enough to try this again? Greetings Sven -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url :
2008 Sep 23
2
(not quite) reproducible segfaults in 3.0.3
In debian bug #498083 (http://bugs.debian.org/498083) someone is getting segfaults reasonably consistently, however when using -vvvv it doesn't happen... Fortunately Sven was able to get a good backtrace. I can't quite see what's causing the problem; it does seem to be related to xattrs. Please see the bugs report at the url above for the details. Any help much appreciated. Paul
2003 Jul 24
0
(no subject)
...6/main.c rsync-2.5.6-remotebatch/main.c *** rsync-2.5.6/main.c Tue Jan 28 05:05:53 2003 --- rsync-2.5.6-remotebatch/main.c Wed Jul 23 15:55:18 2003 *************** *** 263,270 **** } if (local_server) { - if (read_batch) - create_flist_from_batch(); /* sets batch_flist */ ret = local_child(argc, args, f_in, f_out, child_main); } else { ret = piped_child(args,f_in,f_out); --- 263,268 ---- *************** *** 505,515 **** if (delete_mode && !delete_excluded) recv_exclude_list(f_in); ! ! if (read_batch) ! flist = batch_flist; ! else ! flist = recv_f...
2004 Oct 13
0
[Bug 1924] New: unable to rsync between a PC with cygwin and a unix machine using rsh
...RERR? */ } args[argc] = NULL; if (verbose > 3) { rprintf(FINFO,"cmd="); for (i=0;i<argc;i++) rprintf(FINFO,"%s ",args[i]); rprintf(FINFO,"\n"); } if (local_server) { if (read_batch) create_flist_from_batch(); /* sets batch_flist */ ret = local_child(argc, args, f_in, f_out, child_main); } else { ret = piped_child(args,f_in,f_out); } if (dir) free(dir); return ret; oom: out_of_memory("do_cmd"); return 0; /* not reached */ } -------------------------------------------------------------------------- -- Configure bugmail: h...
2004 Jun 17
1
[PATCH] make write_batch local
...orig_umask; extern int read_batch; + extern int write_batch; extern int filesfrom_fd; /** *************** *** 119,124 **** --- 120,132 ---- am_sender = read_batch ? 0 : !am_sender; am_server = 1; + /* There is write_batch code on both the receiver and + * sender sides. In local_child, both are local processes, + * so we must make sure that only one actually writes. It + * shouldn't matter which one -- here we prevent sender from + * writing. */ + write_batch = 0; + if (!am_sender) filesfrom_fd = -1; Index: receiver.c ===========================...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.
2002 Apr 20
1
rsync breaks on FreeBSD without -O2?(fwd from grog@FreeBSD.org) PR 36998
...t receiver.c:456 #7 0x804fe23 in do_recv (f_in=0, f_out=1, flist=0x807a090, local_name=0x0) at main.c:398 #8 0x80500da in do_server_recv (f_in=0, f_out=1, argc=2, argv=0xbfbff718) at main.c:491 #9 0x8050188 in start_server (f_in=0, f_out=1, argc=2, argv=0xbfbff718) at main.c:519 #10 0x804e048 in local_child (argc=2, argv=0xbfbff718, f_in=0xbfbff900, f_out=0xbfbff904) at util.c:212 #11 0x804f969 in do_cmd (cmd=0x0, machine=0x0, user=0x0, path=0x807a080 ".", f_in=0xbfbff900, f_out=0xbfbff904) at main.c:234 #12 0x8050752 in start_client (argc=2, argv=0x8078060) at main.c:772 #13 0x80509dc in ma...
2017 Apr 10
3
error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2]
Hi: I'm in the middle of recoverying from a tactical error copying around an Mac OS X 10.10.5 Time Machine backup (turns out Apple's instructions aren't great...), and I had rsync running for the past 6 hours repairing permissions/acls on 1.5 TB of data (not copying the data), and then it just died in the middle with: .L....og.... 2015-03-11-094807/platinum-bar2/usr/local/mysql
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
...C); + } + + return pid; +} diff -ur rsync-2.5.6/proto.h rsync-2.5.6-filtered/proto.h --- rsync-2.5.6/proto.h 2003-01-27 04:35:09.000000000 +0100 +++ rsync-2.5.6-filtered/proto.h 2003-11-16 13:20:48.000000000 +0100 @@ -181,6 +181,8 @@ pid_t piped_child(char **command, int *f_in, int *f_out); pid_t local_child(int argc, char **argv,int *f_in,int *f_out, int (*child_main)(int, char*[])); +pid_t run_filter(char *command[], int in, int *pipe_to_filter); +pid_t run_filter_on_file(char *command[], int out, int in); void end_progress(OFF_T size); void show_progress(OFF_T ofs, OFF_T size); void delete_f...
2004 May 29
1
[patch] Filename conversion
...+ exit_cleanup(RERR_SYNTAX); + } args[argc++] = tok; + } /* check to see if we've already been given '-l user' in * the remote-shell command */ @@ -296,7 +301,7 @@ static pid_t do_cmd(char *cmd, char *mac create_flist_from_batch(); /* sets batch_flist */ ret = local_child(argc, args, f_in, f_out, child_main); } else { - ret = piped_child(args,f_in,f_out); + ret = piped_child(args,f_in,f_out,blocking_io,1); } if (dir) free(dir); diff -rupNP rsync-2.6.2/Makefile.in rsync-2.6.2-fnameconv.clean/Makefile.in --- rsync-2.6.2/Makefile.in 2004-02-10 19:06:11.000000...
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...{ /* dw -- added read_batch */ + if (!read_batch && !local_server) { if (!cmd) cmd = getenv(RSYNC_RSH_ENV); if (!cmd) @@ -230,7 +230,7 @@ if (local_server) { if (read_batch) - create_flist_from_batch(); + create_flist_from_batch(); /* sets batch_flist */ ret = local_child(argc, args, f_in, f_out); } else { ret = piped_child(args,f_in,f_out); @@ -443,8 +443,8 @@ extern int am_daemon; extern int module_id; extern int am_sender; - extern int read_batch; /* dw */ - extern struct file_list *batch_flist; /* dw */ + extern int read_batch; + extern struct file...
2004 Jul 14
12
HP-UX 11i and largefiles on rsync 2.6.2
Hello, I'm running HP-UX 11i on an rp74xx. It's 64-bit. C compiler is as follows: B3901BA B.11.11.03 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800) B3913DB C.03.30.02 HP aC++ Compiler (S800) /usr/bin/cc: LINT B.11.11.02 CXREF B.11.11.02 HP92453-01 B.11.11.02 HP C Compiler $ Sep 8 2000 23:13:51 $ I have successfully compiled rsync 2.6.2 and it