Hi, I have compiled the new version 2.5.2 rsync in our servers, then ran rsync last night, there were some files not copied to destination server, both source and destination servers are running 2.5.2, I got the following error messages, can you please let me know what would be caused the errors? I copied back 2.3.2 version on both servers, and rsync went well. Thanks for the help, here is the errors: ch_what Warning: unexpected read size of 0 in map_ptr Warning: unexpected read size of 0 in map_ptr collect_tests Warning: unexpected read size of 0 in map_ptr Warning: unexpected read size of 0 in map_ptr Thanks, Jennifer
Not sure if that would be the same for you, but the version 2.5.2 use the obsolete malloc.h instead of the stdlib.h and I got plenty of warning. This is only new in the 2.5.2 as I try the 2.5.1 and it doesn't do this. I did a diff -r between the two version and I saw that malloc was introduce in here. Why, that I do not know. So, I would suggest to you to try the 2.5.1 instead and see if that work for you. Just a thought. Daniel -----Original Message----- From: rsync-admin@lists.samba.org [mailto:rsync-admin@lists.samba.org]On Behalf Of Jennifer Lu Sent: Tuesday, February 05, 2002 3:31 PM To: rsync@samba.org Subject: Error from rsync-2.5.2 Hi, I have compiled the new version 2.5.2 rsync in our servers, then ran rsync last night, there were some files not copied to destination server, both source and destination servers are running 2.5.2, I got the following error messages, can you please let me know what would be caused the errors? I copied back 2.3.2 version on both servers, and rsync went well. Thanks for the help, here is the errors: ch_what Warning: unexpected read size of 0 in map_ptr Warning: unexpected read size of 0 in map_ptr collect_tests Warning: unexpected read size of 0 in map_ptr Warning: unexpected read size of 0 in map_ptr Thanks, Jennifer
On Tue, Feb 05, 2002 at 12:31:02PM -0800, Jennifer Lu wrote:> I have compiled the new version 2.5.2 rsync in our servers, > then ran rsync last night, there were some files not copied > to destination server, both source and destination servers are > running 2.5.2, I got the following error messages, can you > please let me know what would be caused the errors? I copied > back 2.3.2 version on both servers, and rsync went well. > > Thanks for the help, here is the errors: > > ch_what > Warning: unexpected read size of 0 in map_ptr > Warning: unexpected read size of 0 in map_ptr > collect_tests > Warning: unexpected read size of 0 in map_ptr > Warning: unexpected read size of 0 in map_ptrDave Dykstra created a patch for this. See: http://lists.samba.org/pipermail/rsync/2002-January/005966.html -- albert chin (china@thewrittenword.com)