Summary:ASTERISK-16360: Segmentation fault when loading res_srtp.s on 64-Bit Debian
Reporter:Kristijan Vrban (vrban)Labels:
Date Opened:2010-07-13 15:44:21Date Closed:2010-08-11 12:57:58
Versions:Frequency of
Environment:Attachments:( 0) bt_full.txt
Description:OS is Debian GNU/Linux squeeze 64Bit, and libsrtp is debian package libsrtp0 1.4.4~dfsg-6

See attached gdb output from crash.
Comments:By: Jason Parker (jparker) 2010-07-13 16:23:09

This shouldn't be calling our internal copy of aes_encrypt.  I suspect the solution here will be to rename our copy of the functions.

By: Kristijan Vrban (vrban) 2010-07-13 17:24:17

with libsrtp 1.4.2 (self compiled) it does not crash

notice, that
offer only libsrtp-1.4.2


i also mixed up both for this reason.

By: Terry Wilson (twilson) 2010-07-21 14:15:17

I know that Ubuntu's 64-bit libsrtp had a problem of not being compiled with -fPIC so would fail to load properly. Not much we can do about that. I've also removed the built-in AES code, so try updating to the latest trunk (>= r278538) and see if the problem still exists.  If it does, the solution is still probably going to be "compile libsrtp yourself, the package is probably broken".

By: Terry Wilson (twilson) 2010-08-11 12:57:57

Closing as it is a libsrtp problem. Also, we have removed the built-in aes code in trunk in r278538 so this particular crash should be gone anyway.