Random failures of srtp_init()
http://sourceforge.net/tracker/?func=detail&aid=1428214&group_id=38894&atid=423799
srtp_init() randomly fails to initialize. If libsrtp.a and test program is compiled with profiling enabled, failures happen much more often.
System information: Linux, Fedora Core 4, gcc-4.0.2 (compiling libsrtp with gcc-3.2 does not help) libsrtp-1.4.1 (similar problems also with recent CVS version)
Test script (sources inside it) is included below
! /bin/sh
echo '#include <srtp/srtp.h>
include <stdio.h>
int main(void) { err_status_t status; status = srtp_init(); printf ("srtp_init %s\n", status ? "failed" : "suceeded"); return status; }' | gcc -O2 -x c - -lsrtp -o srtp_bad || exit 1 tests=0 bad=0 while true; do tests=$(($tests+1)) if ./srtp_bad | grep -q failed ; then bad=$(($bad+1)) echo "$bad errors of $tests tests" fi done
Dear Sir,
I would like to start looking at some issues listed here, i appreciate if you let me know i have to test the issues with above mentioned target or any other latests is fine.
Thanks
Looking at case history in sourceforce, this was fixed on 5/27/2010. Closing this issue.