Displaying 10 results from an estimated 10 matches for "mplex_writ".
Did you mean:
mplex_write
2002 Jul 02
1
Rsync: Segmentation fault
Rsync 2.5.5; transfer via ssh; sparc-sun-solaris2.5 (Ultra 1); gcc 2.8.1.
Every time rsync on this box causes boundary violation. I attached two
strange examples. I have a few rsync's corefiles (100MB and above) and I
can examine them. I will be grateful for any help.
-Mirek
<------------------------------------------------------------------------->
received 966761 names
done
2007 Nov 12
3
DO NOT REPLY [Bug 5075] New: Syncing with --iconv may yield protocol error
...QAContact: rsync-qa@samba.org
If you use --iconv to sync between two machines and a file with a name that
needs conversion is to be deleted, the rsync protocol may get out of sync and
yield a protocol error if the converted filename differs in length form the
unconverted name. This is because mplex_write in io.c will record and send the
message length *before* the message has been converted using iconvbuf. If the
converted message differs in length, the reading rsync process will get
confused and interpret part of the message data as tag & length.
Here is an example:
[21:45:27]lenux:~/Mirro...
2011 Apr 09
1
[Bug 8073] New: Regress: 3.0.8 cannot compile on freebsd
...-DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o
sender.c: In function `write_ndx_and_attrs':
sender.c:143: warning: unused parameter `fname'
sender.c:143: warning: unused parameter `file'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c io.c -o io.o
io.c: In function `mplex_write':
io.c:470: warning: unused parameter `convert'
from 3.0.7 (works):
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o
rsync.c: In function `set_file_attrs':
rsync.c:380: warning: unused parameter `fnamecmp'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./...
2006 Sep 30
2
DO NOT REPLY [Bug 4139] New: Generator process (running as daemon) hangs after kill SIGINT.
...flush successfully.
Patch is attached.
Here's the generator's traceback:
#0 0x473ad402 in __kernel_vsyscall ()
#1 0x4748cddd in ___newselect_nocancel () from /lib/libc.so.6
#2 0x0806a397 in writefd_unbuffered (fd=0, buf=0xbfec9dfc "]", len=97)
at io.c:1074
#3 0x080692e9 in mplex_write (code=Variable "code" is not available.
) at io.c:1169
#4 0x080693db in io_multiplex_write (code=MSG_ERROR,
buf=0xbfecae88 "rsync error: received SIGINT, SIGTERM, or SIGHUP
(code 20) at rsync.c(260) [generator=2.6.8]\n", len=93) at io.c:1377
#5 0x0805c5b2 in rwrite (c...
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...fd = fd;
- io_buffer = (char *)malloc(IO_BUFFER_SIZE);
+ io_buffer = malloc(IO_BUFFER_SIZE);
if (!io_buffer) out_of_memory("writefd");
io_buffer_count = 0;
}
/* write an message to a multiplexed stream. If this fails then rsync
exits */
-static void mplex_write(int fd, enum logcode code, char *buf, int len)
+static void mplex_write(int fd, enum logcode code, const void *buf1,
int len)
{
- char buffer[4096];
+ unsigned char buffer[4096];
int n = len;
+unsigned char * buf;
+ buf = (unsigned char *)buf1;
SIVAL(buffer,...
2001 Dec 18
3
rsync hang, more details [LONG]
...r.
Also attached below are a script for populating a sample hierarchy,
and the rsync invocation.
Backtrace on server:
#0 0xff218224 in _poll ()
#1 0xff1cb808 in _select ()
#2 0x24bec in writefd_unbuffered (fd=1, buf=0xffbe5ed0 ">", len=66)
at io.c:406
#3 0x24eac in mplex_write (fd=1, code=62, buf=0x591d8 "\a\020", len=62)
at io.c:498
#4 0x24f24 in io_flush () at io.c:518
#5 0x24940 in readfd (fd=0, buffer=0xffbe7020 "?\002r\215?/\201R", N=4)
at io.c:314
#6 0x24998 in read_int (f=0) at io.c:329
#7 0x199a4 in send_files (flist=0...
2006 Jan 09
2
performance with >50GB files
Hi all,
today we had a performance issue transfering a big amount of data where
one file was over 50GB. Rsync was tunneled over SSH and we expected the data
to be synced within hours. However after over 10 hours the data is still not
synced ... The sending box has rsync running with 60-80 % CPU load (2GHz
Pentium 4) while the receiver is nearly idle.
So far I had no acces to the poblematic
2008 Feb 27
2
DO NOT REPLY [Bug 5287] New: FreeBSD pre10 compilation warnings report
...generator.c: In function `try_dests_non':
generator.c:1021: warning: `type' might be used uninitialized in this function
sender.c: In function `write_ndx_and_attrs':
sender.c:150: warning: unused parameter `fname'
sender.c:150: warning: unused parameter `file'
io.c: In function `mplex_write':
io.c:468: warning: unused parameter `convert'
uidlist.c: In function `match_uid':
uidlist.c:210: warning: comparison between signed and unsigned
uidlist.c: In function `match_gid':
uidlist.c:222: warning: comparison between signed and unsigned
uidlist.c:226: warning: comparison b...
2002 Sep 25
0
stack overflow
...", len=64) at log.c:279
#212344 0x805236a in rprintf (code=FERROR,
format=0x806c280 "rsync: error writing %d
unbuffered bytes - exiting: %s\n") at log.c:324
#212345 0x8056e81 in writefd_unbuffered (fd=1,
buf=0xbfbfe468 "A", len=69)
at io.c:459
#212346 0x8056ff8 in mplex_write (fd=1, code=FERROR,
buf=0xbfbff510 "rsync: connection unexpectedly
closed (232684 bytes read so far)\n", len=65) at
io.c:516
#212347 0x8057382 in io_multiplex_write (code=FERROR,
buf=0xbfbff510 "rsync: connection unexpectedly
closed (232684 bytes read so far)\n", len...
2002 Oct 13
1
rsync 2.5.5 core dump
...Broken pipe\n", len=64) at log.c:279
#49 0x8052302 in rprintf (code=FERROR,
format=0x806bec0 "rsync: error writing %d unbuffered bytes - exiting: %s\n") at log.c:324
#50 0x8056d85 in writefd_unbuffered (fd=1, buf=0xbfbfe45c "B", len=70)
at io.c:459
#51 0x8056f08 in mplex_write (fd=1, code=FERROR,
buf=0xbfbff504 "rsync: connection unexpectedly closed (2525941 bytes read so far)\n", len=66) at io.c:516
#52 0x805727a in io_multiplex_write (code=FERROR,
buf=0xbfbff504 "rsync: connection unexpectedly closed (2525941 bytes read so far)\n", len=66...