[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    [asterisk-dev] Fwd: Asterisk 13.17.1 Crash on ConfBridge - NetGen ATA
From:       George Joseph <gjoseph () digium ! com>
Date:       2017-12-19 20:46:53
Message-ID: CAP=uFEv30npHN-MtKHyfiDDSL_8ZOUYLAe5CHbXTnA9tNqvfbg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


---------- Forwarded message ----------
From: George Joseph <gjoseph@digium.com>
Date: Tue, Dec 19, 2017 at 1:46 PM
Subject: Re: [asterisk-dev] Asterisk 13.17.1 Crash on ConfBridge - NetGen
ATA
To: bryantz@zktech.com




On Tue, Dec 19, 2017 at 1:26 PM, Bryant Zimmerman <BryantZ@zktech.com>
wrote:

> George
>
> Thank you we will get 13.18.4 on the test box ASAP, and thank you for the
> wiki link so we can pull together additional information to resolve this
> issue. I have upgraded to 13.18.4 and the system is not crashing now. Is
> there any specific item that may point to why the issue was occurring?
>

The fixes were related to our handling of RTCP reports.  Here are the
issues:

https://issues.asterisk.org/jira/browse/ASTERISK-27382
https://issues.asterisk.org/jira/browse/ASTERISK-27429



>
> Thanks
>
> Bryant Zimmerman (ZK Tech Inc.)
> 616-855-1030 Ext. 2003
>
> ------------------------------
> *From*: "George Joseph" <gjoseph@digium.com>
> *Sent*: Tuesday, December 19, 2017 2:59 PM
> *To*: bryantz@zktech.com, "Asterisk Developers Mailing List" <
> asterisk-dev@lists.digium.com>
> *Subject*: Re: [asterisk-dev] Asterisk 13.17.1 Crash on ConfBridge -
> NetGen ATA
>
>
>
> On Tue, Dec 19, 2017 at 12:45 PM, Bryant Zimmerman <BryantZ@zktech.com>
> wrote:
>>
>> We are having an issue with asterisk 13.17.1 dumping when a call from a
>> NetGen Smart ATA drops into a confbridge
>> The call props up and then things just go wrong. I have talked with the
>> support guys at NetGen and they have requested I work start with the
>> asterisk dev group so we can figure out what is causing this issue and why
>> asterisk is dumping. They are willing to fix anything from their end but we
>> have not been able to figure out what in their rtp stream is triggering
>> this.  Their ATA's seem to work out side of the confbridge without issues
>> so far. Any ideas are appreciated. The asterisk dump is by far my biggest
>> concern.
>>
>> Below is the first part of the dump Backtrack. I have attached a copy of
>> the complete Backtrack. I need to know what more would be needed to get to
>> the bottom of this issue. As it stands now the NetGen Smart ATA will cause
>> asterisk 13 to crash if placed into a confbridge.
>> http://www.netgencommunications.com/
>> The support guy said we could contact them at
>> support@netgencommunications.com
>>
>
> There's not a whole lot of info in this backtrace for us to really know
> what's going on but can you try with 13.18.4?  There have been recent crash
> fixes that may help.
>
> If 13.18.4 doesn't help, recompiling with debugging turned on, re-creating
> the issue, then following the wiki instructions to get a backtrace will
> help us figure out what's up.
> https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
>
>
>
>
>
>
>
>
>>
>>    -- Executing [s@Core_ConfBridge_Basic:11]
>> ConfBridge("PJSIP/6162480909.351-00000000",
>> "6162480909.~Promo~GA1,,,sample_user_menu") in new stack
>>        > 0x7f3ff800b4c0 -- Probation passed - setting RTP source address
>> to 192.168.209.194:10020
>>     -- Channel CBAnn/6162480909.~Promo~GA1-00000000;2 joined 'softmix'
>> base-bridge <4a00cdad-91cb-4924-8abe-8dc9cad08f10>
>>     -- <PJSIP/6162480909.351-00000000> Playing 'conf-onlyperson.ulaw'
>> (language 'en')
>> UBNTU-ROSSI-GUEST*CLI> *** Error in `/usr/sbin/asterisk': malloc():
>> memory corruption: 0x00007f3fac00c220 ***
>> ======= Backtrace: =========
>> /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f402147b7e5]
>> /lib/x86_64-linux-gnu/libc.so.6(+0x8213e)[0x7f402148613e]
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f4021488184]
>> /usr/sbin/asterisk(ast_json_malloc+0xa)[0x52a23a]
>> /usr/lib/x86_64-linux-gnu/libjansson.so.4(json_object+0xb)[0
>> x7f40227ab7bb]
>> /usr/lib/x86_64-linux-gnu/libjansson.so.4(+0x6505)[0x7f40227aa505]
>> /usr/lib/x86_64-linux-gnu/libjansson.so.4(json_vpack_ex+0x99
>> )[0x7f40227aaa09]
>> /usr/sbin/asterisk(ast_json_vpack+0x34)[0x52b6a4]
>> /usr/sbin/asterisk(ast_json_pack+0xa1)[0x52b7c1]
>> /usr/lib/asterisk/modules/res_rtp_asterisk.so(+0x10df3)[0x7f3f90994df3]
>> /usr/lib/asterisk/modules/res_rtp_asterisk.so(+0x11a99)[0x7f3f90995a99]
>> /usr/lib/asterisk/modules/res_rtp_asterisk.so(+0x13bcb)[0x7f3f90997bcb]
>> /usr/sbin/asterisk(ast_rtp_instance_read+0x36)[0x588076]
>> /usr/lib/asterisk/modules/chan_pjsip.so(+0x8cd7)[0x7f3f7c57ccd7]
>> /usr/sbin/asterisk[0x4bc042]
>> /usr/sbin/asterisk[0x50f3f1]
>> /usr/sbin/asterisk(ast_stream_and_wait+0x56)[0x511bbe]
>> /usr/lib/asterisk/modules/app_confbridge.so(+0xb716)[0x7f3f915d7716]
>> /usr/lib/asterisk/modules/app_confbridge.so(+0xd5f6)[0x7f3f915d95f6]
>> /usr/sbin/asterisk(pbx_exec+0xbd)[0x579155]
>> /usr/sbin/asterisk[0x56e0c3]
>> /usr/sbin/asterisk(ast_spawn_extension+0x18)[0x56feb8]
>> /usr/lib/asterisk/modules/app_macro.so(+0x2c02)[0x7f3f6f8a6c02]
>> /usr/sbin/asterisk(pbx_exec+0xbd)[0x579155]
>> /usr/sbin/asterisk[0x56e0c3]
>> /usr/sbin/asterisk[0x5703d1]
>> /usr/sbin/asterisk[0x57190b]
>> /usr/sbin/asterisk[0x5e45fd]
>> /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f4021f436ba]
>> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f402150b3dd]
>>
>>
>> Thanks
>>
>> Bryant Zimmerman (ZK Tech Inc.)
>> 616-855-1030 Ext. 2003
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>
> --
> George Joseph
> Digium, Inc. | Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> <https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&entry=gmail&source=g>
> Check us out at: www.digium.com & www.asterisk.org
>
>



-- 
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org




-- 
George Joseph
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message \
----------<br>From: <b class="gmail_sendername">George Joseph</b> <span \
dir="ltr">&lt;<a href="mailto:gjoseph@digium.com">gjoseph@digium.com</a>&gt;</span><br>Date: \
Tue, Dec 19, 2017 at 1:46 PM<br>Subject: Re: [asterisk-dev] Asterisk 13.17.1 Crash on \
ConfBridge - NetGen ATA<br>To: <a \
href="mailto:bryantz@zktech.com">bryantz@zktech.com</a><br><br><br><div \
dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On \
Tue, Dec 19, 2017 at 1:26 PM, Bryant Zimmerman <span dir="ltr">&lt;<a \
href="mailto:BryantZ@zktech.com" target="_blank">BryantZ@zktech.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:12px"><div>George</div>

<div>  </div>

<div>Thank you we will get 13.18.4 on the test box ASAP, and thank you for the wiki \
link so we can pull together additional information to resolve this issue. I have \
upgraded to 13.18.4 and the system is not crashing now. Is there any specific item \
that may point to why the issue was \
occurring?</div></span></blockquote><div><br></div></span><div>The fixes were related \
to our handling of RTCP reports.   Here are the issues:</div><div><br></div><div><a \
href="https://issues.asterisk.org/jira/browse/ASTERISK-27382" \
target="_blank">https://issues.asterisk.org/<wbr>jira/browse/ASTERISK-27382</a></div><div><a \
href="https://issues.asterisk.org/jira/browse/ASTERISK-27429" \
target="_blank">https://issues.asterisk.org/<wbr>jira/browse/ASTERISK-27429</a></div><div><div \
class="h5"><div>  </div><div>  <br></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:12px"><span \
class="m_-6030500464537203311gmail-">

<div><br>
Thanks<br>
<br>
Bryant  Zimmerman (ZK Tech Inc.)<br>
616-855-1030 Ext. 2003</div>

<div>  </div>

</span><hr align="center" size="2" width="100%">
<div><span style="font-family:tahoma,arial,sans-serif;font-size:10pt"><b>From</b>: \
&quot;George Joseph&quot; &lt;<a href="mailto:gjoseph@digium.com" \
target="_blank">gjoseph@digium.com</a>&gt;<br> <b>Sent</b>: Tuesday, December 19, \
2017 2:59 PM<br> <b>To</b>: <a href="mailto:bryantz@zktech.com" \
target="_blank">bryantz@zktech.com</a>, &quot;Asterisk Developers Mailing List&quot; \
&lt;<a href="mailto:asterisk-dev@lists.digium.com" \
target="_blank">asterisk-dev@lists.digium.com</a><wbr>&gt;<br> <b>Subject</b>: Re: \
[asterisk-dev] Asterisk 13.17.1 Crash on ConfBridge - NetGen ATA</span><div><div \
class="m_-6030500464537203311gmail-h5">

<div>  </div>

<div dir="ltr">  
<div class="gmail_extra">  
<div class="gmail_quote">On Tue, Dec 19, 2017 at 12:45 PM, Bryant Zimmerman <span \
dir="ltr">&lt;<a href="mailto:BryantZ@zktech.com" \
target="_blank">BryantZ@zktech.com</a>&gt;</span> wrote:

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <div><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:12px">We are having an issue \
with asterisk 13.17.1 dumping when a call from a NetGen Smart ATA drops into a \
confbridge</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">The call \
props up and then things just go wrong. I have talked with the support guys at NetGen \
and they have requested I work start with the asterisk dev group so we can figure out \
what is causing this issue and why asterisk is dumping. They are willing to fix \
anything from their end but we have not been able to figure out what in their rtp \
stream is triggering this.   Their ATA&#39;s seem to work out side of the confbridge \
without issues so far. Any ideas are appreciated. The asterisk dump is by far my \
biggest concern.  </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">  \
</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">Below is the \
first part of the dump Backtrack. I have attached a copy of the complete Backtrack. I \
need to know what more would be needed to get to the bottom of this issue. As it \
stands now the NetGen Smart ATA will cause asterisk 13 to crash if placed into a \
confbridge.   <a href="http://www.netgencommunications.com/" \
target="_blank">http://www.netgencommunicatio<wbr>ns.com/</a></span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">The support \
guy said we could contact them at <a href="mailto:support@netgencommunications.com" \
target="_blank">support@netgencommunications.c<wbr>om</a></span></div> </blockquote>

<div>  </div>

<div>There&#39;s not a whole lot of info in this backtrace for us to really know \
what&#39;s going on but can you try with 13.18.4?   There have been recent crash \
fixes that may help.</div>

<div>  </div>

<div>If 13.18.4 doesn&#39;t help, recompiling with debugging turned on, re-creating \
the issue, then following the wiki instructions to get a backtrace will help us \
figure out what&#39;s up.</div>

<div><a href="https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace" \
target="_blank">https://wiki.asterisk.org/wiki<wbr>/display/AST/Getting+a+Backtra<wbr>ce</a></div>


<div>  </div>

<div>  </div>

<div>  </div>

<div>  </div>

<div>  </div>

<div>  </div>

<div>  </div>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <div><span \
style="font-family:Arial,Helvetica,sans-serif;font-size:12px">  </span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">     -- \
Executing [s@Core_ConfBridge_Basic:11] \
ConfBridge(&quot;PJSIP/6162480909.3<wbr>51-00000000&quot;, \
&quot;6162480909.~Promo~GA1,,,sampl<wbr>e_user_menu&quot;) in new stack<br>  &gt; \
0x7f3ff800b4c0 -- Probation passed - setting RTP source address to <a \
                href="http://192.168.209.194:10020" \
                target="_blank">192.168.209.194:10020</a><br>
       -- Channel CBAnn/6162480909.~Promo~GA1-00<wbr>000000;2 joined \
                &#39;softmix&#39; base-bridge \
                &lt;4a00cdad-91cb-4924-8abe-8dc9c<wbr>ad08f10&gt;<br>
       -- &lt;PJSIP/6162480909.351-00000000<wbr>&gt; Playing \
&#39;conf-onlyperson.ulaw&#39; (language &#39;en&#39;)<br> UBNTU-ROSSI-GUEST*CLI&gt; \
*** Error in `/usr/sbin/asterisk&#39;: malloc(): memory corruption: \
0x00007f3fac00c220 ***<br> ======= Backtrace: =========<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(+0x777e5)[0x7f402147b7e5]<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(+0x8213e)[0x7f402148613e]<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(__libc_malloc+0x54)[0x7f4021<wbr>488184]<br>
/usr/sbin/asterisk(ast_json_ma<wbr>lloc+0xa)[0x52a23a]<br>
/usr/lib/x86_64-linux-gnu/libj<wbr>ansson.so.4(json_object+0xb)[0<wbr>x7f40227ab7bb]<br>
                
/usr/lib/x86_64-linux-gnu/libj<wbr>ansson.so.4(+0x6505)[0x7f40227<wbr>aa505]<br>
/usr/lib/x86_64-linux-gnu/libj<wbr>ansson.so.4(json_vpack_ex+0x99<wbr>)[0x7f40227aaa09]<br>
                
/usr/sbin/asterisk(ast_json_vp<wbr>ack+0x34)[0x52b6a4]<br>
/usr/sbin/asterisk(ast_json_pa<wbr>ck+0xa1)[0x52b7c1]<br>
/usr/lib/asterisk/modules/res_<wbr>rtp_asterisk.so(+0x10df3)[0x7f<wbr>3f90994df3]<br>
/usr/lib/asterisk/modules/res_<wbr>rtp_asterisk.so(+0x11a99)[0x7f<wbr>3f90995a99]<br>
/usr/lib/asterisk/modules/res_<wbr>rtp_asterisk.so(+0x13bcb)[0x7f<wbr>3f90997bcb]<br>
/usr/sbin/asterisk(ast_rtp_ins<wbr>tance_read+0x36)[0x588076]<br>
/usr/lib/asterisk/modules/chan<wbr>_pjsip.so(+0x8cd7)[0x7f3f7c57c<wbr>cd7]<br>
/usr/sbin/asterisk[0x4bc042]<br>
/usr/sbin/asterisk[0x50f3f1]<br>
/usr/sbin/asterisk(ast_stream_<wbr>and_wait+0x56)[0x511bbe]<br>
/usr/lib/asterisk/modules/app_<wbr>confbridge.so(+0xb716)[0x7f3f9<wbr>15d7716]<br>
/usr/lib/asterisk/modules/app_<wbr>confbridge.so(+0xd5f6)[0x7f3f9<wbr>15d95f6]<br>
/usr/sbin/asterisk(pbx_exec+0x<wbr>bd)[0x579155]<br>
/usr/sbin/asterisk[0x56e0c3]<br>
/usr/sbin/asterisk(ast_spawn_e<wbr>xtension+0x18)[0x56feb8]<br>
/usr/lib/asterisk/modules/app_<wbr>macro.so(+0x2c02)[0x7f3f6f8a6c<wbr>02]<br>
/usr/sbin/asterisk(pbx_exec+0x<wbr>bd)[0x579155]<br>
/usr/sbin/asterisk[0x56e0c3]<br>
/usr/sbin/asterisk[0x5703d1]<br>
/usr/sbin/asterisk[0x57190b]<br>
/usr/sbin/asterisk[0x5e45fd]<br>
/lib/x86_64-linux-gnu/libpthre<wbr>ad.so.0(+0x76ba)[0x7f4021f436b<wbr>a]<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(clone+0x6d)[0x7f402150b3dd]</span></div>

<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">  \
</span></div>

<div><br>
<span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">Thanks<br>
<br>
Bryant  Zimmerman (ZK Tech Inc.)<br>
616-855-1030 Ext. 2003</span></div>
<br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" \
rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br> <br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
     <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" \
target="_blank">http://lists.digium.com/mailm<wbr>an/listinfo/asterisk-dev</a></blockquote>
 </div>
  

<div>  </div>
--

<div class="m_-6030500464537203311gmail-m_5671969003225577793gmail_signature">
<div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br \
style="font-size:12.8px"> <span style="font-size:12.8px">Digium, Inc. | Software \
Developer</span><br> <span style="font-size:12.8px"><a \
href="https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&amp;entry=gmail&amp;source=g" \
target="_blank">445 Jan Davis Drive NW - Huntsville, AL 35806 - US</a></span><br> \
<span style="font-size:12.8px">Check us out at:  </span><a \
href="http://www.digium.com/" rel="noreferrer" \
style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span \
style="font-size:12.8px">  &amp;  </span><a href="http://www.asterisk.org/" \
rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">www.aster<wbr>isk.org</a>

<div>  </div>
</div>
</div>
</div>
</div>
</div></div></div></span>
</blockquote></div></div></div><div><div class="h5"><br><br \
clear="all"><div><br></div>-- <br><div \
class="m_-6030500464537203311gmail_signature"><div dir="ltr"><span \
style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span \
style="font-size:12.8px">Digium, Inc. | Software Developer</span><span \
style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - \
US<br></span><span style="font-size:12.8px">Check us out at:  </span><a \
href="http://www.digium.com/" rel="noreferrer" \
style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span \
style="font-size:12.8px">  &amp;  </span><a href="http://www.asterisk.org/" \
rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">www.<wbr>asterisk.org</a><br><div><br></div></div></div> \
</div></div></div></div> </div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span \
style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span \
style="font-size:12.8px">Digium, Inc. | Software Developer</span><span \
style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - \
US<br></span><span style="font-size:12.8px">Check us out at:  </span><a \
href="http://www.digium.com/" rel="noreferrer" \
style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span \
style="font-size:12.8px">  &amp;  </span><a href="http://www.asterisk.org/" \
rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">www.asterisk.org</a><br><div><br></div></div></div> </div>



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic