error allocating core memory buffers with certain iconv args

Giuliano Gavazzi
Tue, 11 Mar 2008 14:00:58 -0000

rsync 3.0.0. MacOSX 10.5.1 Server/Intel.

Trying to detect files with funny chars in their name, as I cannot
find them with "find", I use the error (Illegal byte sequence) given
by rsync when the target charset cannot reproduce them.
While doing this I have met this error:

/usr/local/bin/rsync -an --rsync-path=/usr/local/bin/rsync --
iconv=UTF8-MAC,437  /db   /tmp/ rsync: writefd_unbuffered failed to
write 4 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error allocating core memory buffers (code 22) at
io.c(600) [sender=3.0.0]


note that in /tmp/ there is nothing that has to do with the source
tree (db).

A bit more detail from a vvv run:

[sender] make_file(db/archivi/[...],*,2)
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken
pipe (32)
server_recv(2) starting pid=26880
recv_file_name(db)
received 1 names
recv_file_list done
recv_file_name(db/archivi)
recv_file_name(db/def)
recv_file_name(db/disegni)
recv_file_name(db/prj)
recv_file_name(db/storici)
received 5 names
recv_file_list done
get_local_name count=6 /tmp/
generator starting pid=26880
delta-transmission disabled for local transfer or --whole-file
recv_generator(db,1)
recv_generator(db,2)
recv_generator(db/archivi,3)
recv_generator(db/def,4)
recv_generator(db/disegni,5)
recv_generator(db/prj,6)
recv_generator(db/storici,7)
recv_files(1) starting
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error allocating core memory buffers (code 22) at
io.c(600) [sender=3.0.0]
_exit_cleanup(code=12, file=io.c, line=600): about to call exit(22)


Giuliano