Use of gmtime() in rsync + multi-thread

Dharmesh Dhankecha dharmesh_dhankecha at
Sun Nov 17 23:04:11 MST 2013

I have a system in which rysnc is being used at multiple times. Since a last 3-4 months we have been observing a crash in rysnc at few instances.
I am not able to find out the solution for the same but while debugging the issue in code I found gmtime() being used in "tls.c". It is not suggested to use this function in a multi-threaded environment. 
Version: rsync 2.6.2
Platform: PPC
OS: Linux
I don't know whether this a proper mail address to ask the solution but kindly share your views on this problem and let me know if there is any solution available for this.
Thanks & Regards,

More information about the rsync mailing list