working on a 2.5.6pre1 release

jw schultz jw at
Fri Jan 10 01:10:00 EST 2003

On Thu, Jan 09, 2003 at 05:09:07PM -0600, Dave Dykstra wrote:
> I'm working on trying to get rsync 2.5.6pre1 available for people to
> test more widely.  I'm out of time for today, and I'm stuck on a problem
> that some machines on are showing on the 'chgrp' test.
> I can reproduce this on my home redhat 7.3 system too.  It appears to be a
> timing problem because when I do strace -F -f on it the problem goes away.
> Everything seems to go through normally but then it exits with an exit
> code of 12, I think because the child receiver process is terminated with
> a SIGUSR2 which is signal 12 and because the bug that was preventing exit
> codes from being properly reported from children has now been fixed.
> It's very hard to debug because it is a timing problem and because it
> happens after rprintf handling is already shut down in the child process.
> I suspected that maybe the catching of the SIGUSR2 signal was not getting
> inherited from its parent, but it doesn't help to re-set it in the child.
> Nevertheless, I'm not sure whether or not the sigusr2_handler function
> is getting called in the child.  I'd appreciate some help with this if
> anybody else thinks they can figure it out.

I haven't pinned it down but the problem appears to have
been introduced in 1.157 of main.c with the lost exist
status patch.  I was able to reproduce your error on the
chgrp test and backing out to 1.156 fixed it.

That at least narrows it down.

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at

		Remember Cernan and Schmitt

More information about the rsync mailing list