[asterisk-dev] Testing the SRTP branch
Saúl Ibarra Corretgé
saghul at gmail.com
Mon May 10 15:38:46 CDT 2010
Hi,
I'm having some trouble setting the SRTP testing branch to do some
testing. Tried to find the answer on the mantis issue, but seems big
enough to gest lost :) Sorry of it has been answered before, I just
didn't want to add more messages to the already huge mantis issue.
I installed librtp from debian testing repositories:
root at hal:~# dpkg -l | grep libsrtp
ii libsrtp0 1.4.4~dfsg-6
Secure RTP (SRTP) and UST Reference
Implementations - sh
ii libsrtp0-dev 1.4.4~dfsg-6
Secure RTP (SRTP) and UST Reference
Implementations - de
root at hal:~#
But when starting Asterisk I get a segfault. This is the backtrace:
Program terminated with signal 11, Segmentation fault.
#0 aes_encrypt (in_blk=0x7fb33dba5648, out_blk=0x7fb33dba5658,
cx=0x32) at aescrypt.c:122
122 aes_32t nr = (kp[45] ^ kp[52] ^ kp[53] ? kp[52] : 14);
(gdb) bt
#0 aes_encrypt (in_blk=0x7fb33dba5648, out_blk=0x7fb33dba5658,
cx=0x32) at aescrypt.c:122
#1 0x00007fb33d99cb6f in aes_icm_encrypt_ismacryp () from /usr/lib/libsrtp.so.0
#2 0x00007fb33d99cce2 in aes_icm_output () from /usr/lib/libsrtp.so.0
#3 0x00007fb33d99eb97 in stat_test_rand_source () from /usr/lib/libsrtp.so.0
#4 0x00007fb33d99ee05 in stat_test_rand_source_with_repetition ()
from /usr/lib/libsrtp.so.0
#5 0x00007fb33d99f5fc in crypto_kernel_init () from /usr/lib/libsrtp.so.0
#6 0x00007fb33d999379 in srtp_init () from /usr/lib/libsrtp.so.0
#7 0x00007fb33dba6f49 in res_srtp_init () at res_srtp.c:376
#8 load_module () at res_srtp.c:391
#9 0x00000000004bd5b3 in start_resource (mod=0x7fb33dba5648) at loader.c:762
#10 0x00000000004bdc84 in load_resource_list
(load_order=0x7fff81b62fc0, global_symbols=1,
mod_count=0x7fff81b62fdc) at loader.c:950
#11 0x00000000004bdf5a in load_modules (preload_only=0) at loader.c:1098
#12 0x00000000004393c4 in main (argc=<value optimized out>,
argv=0x7fff81b64588) at asterisk.c:3699
Is the debian libsrtp known to be not working?
Please, let me know any test I can do to help :)
Kind regards,
--
/Saúl
http://saghul.net | http://sipdoc.net
More information about the asterisk-dev
mailing list