[asterisk-dev] crashes when bridging opus channels

Moritz Maisel maisel at sipgate.de
Tue Feb 21 10:13:27 CST 2017


Hi,

we experience reproducable crashes of asterisk with codec_opus. While
asterisks successfully processes a couple of calls (about 8-10) when
bridging two OPUS/48000/2 channels before it crashes, it reproducably
crashes on the first call bridging PCMA/8000 to OPUS/48000/2.

The setup is asterisk 14.3.0 with bundled pjsip and
codec_opus-14.0_1.1.0-x86_64. The environment is debian 8.7 on amd64
architecture with kernel version 3.16.0-4-amd64.

To reduce traffic on the list, I only append parts of the backtrace as well
as the last lines of log output below. I appreciate any suggestions for
debugging this scenario. I'm a bit lost, as the backtrace points into the
codec_opus.so binary blob. Is it recommended to open an issue in the
bugtracker or should we first provide more information on the list?

Kind regards,
Moritz

---------- CLI output --- BEGIN ----------
    -- Called PJSIP/sipgate/sip:2483816e2 at sipgate.de
    -- PJSIP/sipgate-00000003 is ringing
    -- PJSIP/sipgate-00000003 is ringing
    -- PJSIP/sipgate-00000003 answered PJSIP/proxy-00000002
    -- Channel PJSIP/sipgate-00000003 joined 'simple_bridge' basic-bridge
<d58089f3-c996-4fc7-9678-0fd124b1389e>
    -- Channel PJSIP/proxy-00000002 joined 'simple_bridge' basic-bridge
<d58089f3-c996-4fc7-9678-0fd124b1389e>
       > 0x7f1c200257f0 -- Probation passed - setting RTP source address to
217.10.77.244:26918
---------- CLI output --- END ----------

---------- backtrace --- BEGIN ----------
Thread 1 (Thread 0x7f60fe49f700 (LWP 27298)):
#0  0x00007f6147ad1952 in ?? () from /usr/lib/asterisk/modules/codec_opus.so
#1  0x00007f6147ac5f26 in ?? () from /usr/lib/asterisk/modules/codec_opus.so
#2  0x00000000005f436e in ast_translate ()
#3  0x00000000004bf15c in ast_write ()
#4  0x0000000000483553 in bridge_channel_internal_join ()
#5  0x000000000046d49e in ?? ()
#6  0x00000000005fa32a in ?? ()
#7  0x00007f615df57064 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f615d00662d in clone () from /lib/x86_64-linux-gnu/libc.so.6
---------- backtrace --- END ----------

-- 
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391

www.sipgate.de - www.sipgate.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20170221/78e24956/attachment.html>


More information about the asterisk-dev mailing list