I enabled debug symbols and this is what i get now:

#0  0x00007f428f5329ed in countLeadingZeros (x=0) at ../include/utils.h:101
#1  0x00007f428f532a1b in g729Sqrt_Q0Q7 (x=-128) at
../include/g729FixedPointMath.h:144
#2  0x00007f428f5339f6 in postFilter (decoderChannelContext=0x7f421c0025d0,
LPCoefficients=0x7f428d4873b4, reconstructedSpeech=0x7f421c002822,
intPitchDelay=20,
    subframeIndex=40, postFilteredSignal=0x7f428d4872f0) at postFilter.c:325
#3  0x00007f428f52f8b5 in bcg729Decoder
(decoderChannelContext=0x7f421c0025d0, bitStream=0x7f421c017e8c "\264B@j
\201\065\241\377\067-\\2\aX\005\214^\034\006T",
    frameErasureFlag=0 '\000', signal=0x7f427c06aa48) at decoder.c:222
#4  0x00007f428f52efff in switch_bcg729_decode (codec=<value optimized
out>, other_codec=<value optimized out>, encoded_data=<value optimized out>,
    encoded_data_len=2, encoded_rate=<value optimized out>,
decoded_data=<value optimized out>, decoded_data_len=0x7f427c06a998,
decoded_rate=0x7f427c06a9a4,
    flag=0x7f424403c50c) at mod_bcg729.c:164
#5  0x00007f42a8a175bf in switch_core_codec_decode (codec=0x7f424403c520,
other_codec=<value optimized out>, encoded_data=0x7f421c017e8c,

Any ideas why it happens?

2014-09-16 12:07 GMT+03:00 BIENKOWSKI Guillaume <
[email protected]>:

> Try compiling with debug symbols, you'll have a more meaningful trace
>
> *Guillaume BIENKOWSKI*
>
> *http://www.belledonne-communications.com/
> <http://www.belledonne-communications.com/>*
>
> *sip:[email protected] <sip%[email protected]>*
>
> On Mon, Sep 15, 2014 at 12:04 PM, Ričardas Stoma <[email protected]
> > wrote:
>
>> Hello, im using bcg729 codec in freeswitch but sometimes calls get stuck
>> and CPU load jumps to 100%. I don't know how to reproduce this issue.
>>
>> I did backtrace and this is what i got:
>>
>> #0  0x00007ff933dbb9e6 in ?? () from
>> /usr/local/freeswitch/mod/mod_bcg729.so
>> #1  0x00007ff933dbba1b in ?? () from
>> /usr/local/freeswitch/mod/mod_bcg729.so
>> #2  0x00007ff933dbc9f6 in postFilter () from
>> /usr/local/freeswitch/mod/mod_bcg729.so
>> #3  0x00007ff933db88b5 in bcg729Decoder () from
>> /usr/local/freeswitch/mod/mod_bcg729.so
>> #4  0x00007ff933db7fff in switch_bcg729_decode (codec=<value optimized
>> out>, other_codec=<value optimized out>, encoded_data=<value optimized out>,
>>     encoded_data_len=2, encoded_rate=<value optimized out>,
>> decoded_data=<value optimized out>, decoded_data_len=0x7ff920179968,
>> decoded_rate=0x7ff920179974,
>>     flag=0x7ff860039a7c) at mod_bcg729.c:164
>> #5  0x00007ff94cf995bf in switch_core_codec_decode (codec=0x7ff860039a90,
>> other_codec=<value optimized out>, encoded_data=0x7ff8dc0149bc,
>>     encoded_data_len=<value optimized out>, encoded_rate=<value optimized
>> out>, decoded_data=0x7ff920179a18, decoded_data_len=0x7ff920179968,
>>     decoded_rate=0x7ff920179974, flag=0x7ff860039a7c) at
>> src/switch_core_codec.c:781
>> ...
>>
>> Any suggestions what to do now?
>>
>> _______________________________________________
>> Linphone-users mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/linphone-users
>>
>>
>
> _______________________________________________
> Linphone-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to