libsrtp icon indicating copy to clipboard operation
libsrtp copied to clipboard

Random failures of srtp_init()

Open fluffy opened this issue 13 years ago • 2 comments

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

fluffy avatar Mar 28 '13 23:03 fluffy

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

ShitalBorganve avatar Dec 13 '13 10:12 ShitalBorganve

Looking at case history in sourceforce, this was fixed on 5/27/2010. Closing this issue.

jfigus avatar Oct 08 '14 18:10 jfigus