rsync- buffer overflow/broken pipe with critical filename-lenght using cwrsync at server-side

Thilo Janssen thilojg at web.de
Wed Apr 22 12:21:44 GMT 2009


hi everybody,
i?ve a problem with rsync runnig.

constellation:
rsyncserver is cwrsync at win2k-machine (without cygwin-beta against 
long filename-problem), client is a linux-ubuntu box.

log from the server: (i just change names with xxx, no special charakters)
this error happens all the time again,

/overflow: flags=0xba l1=240 l2=22 
lastname=transfer/stasql/Transfer/xxxxxDB/Paletten-Service/Kunden/xxxxxxxxx 
xxxxxxx Care neu/Sonstiges/Additional agreement xx. xxxxxx-Dateien/WG 
Vereinfachung Handling von gebrauchten u. defekten Paletten - neuer 
Palettenpreis 750 â,¬Stck.-Dateien/themedata.thmx/

/2009/04/15 12:43:18 [2280] ERROR: buffer overflow in receive_file_entry 
[receiver]/

/2009/04/15 12:43:18 [2280] rsync error: error allocating core memory 
buffers (code 22) at util.c(121) [receiver=2.6.9]/

Logfile from client:

/122200 files...
overflow: flags=0xba l1=240 l2=22 lastname=transfer/stasql/Transfer/xxxxxDB/Paletten-Service/Kunden/xxxxxxxxx xxxxxxx Care neu/Sonstiges/Additional agreement xx. xxxxxx-Dateien/WG Vereinfachung Handling von gebrauchten u. defekten Paletten - neuer Palettenpreis 750 \#342\#202\#254Stck.-Dateien/themedata.thmx
rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)
ERROR: buffer overflow in receive_file_entry [receiver]
rsync error: error allocating core memory buffers (code 22) at util.c(121) [receiver=2.6.9]
rsync: connection unexpectedly closed (4 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(454) [sender=2.6.9]/


First i thought the failure happens because of the 
256-characters-limitations of cygwin.dll. But normaly then the error 
must say: filename too long.
And second problem: i count the characters.... 254 at server-side :) 1 
too less for this problem.
Next idea: the special characters at the end? --> 750 *â,¬*Stck. When I 
look at the end of the client-log, there it looks like this: 750 
\#342\#202\#254Stck
now there ar more characters then the 255 alounds...

My question:
is the problem the lenght of the filename ( why is there another error 
and not the "normal" error 91?) ? or is it because of the special 
characters? or is it because of something completely different?

thx for any help!!!
greets,
cptkoma

Ps: sorry for my bad english. didn?t use this language for a long time :)
Ps2: sorry about this bad filename... its customers-choise, not mine...





More information about the rsync mailing list