<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thank you.<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Unfortunately, custom has already been rolled back to asterisk 16.3.0 and we don’t have a coredump from the crash.
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">We will setup a 16.15 box inhouse and attempt to replicate this.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Dan<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> asterisk-dev <asterisk-dev-bounces@lists.digium.com>
<b>On Behalf Of </b>George Joseph<br>
<b>Sent:</b> Thursday, November 19, 2020 2:15 PM<br>
<b>To:</b> Asterisk Developers Mailing List <asterisk-dev@lists.digium.com><br>
<b>Subject:</b> Re: [asterisk-dev] Encountered a crash on asterisk 16.9.0 with a PJSIP SUBSCRIBE response<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Nov 19, 2020 at 12:38 PM Dan Cropp <<a href="mailto:dan@amtelco.com">dan@amtelco.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">We have a customer who was running 16.3.0 yesterday. Almost identical packets worked yesterday.<br>
We upgraded them to 16.9.0 today and the very first time it sends the SUBSCRIBE to the number/ip, the response crashes with the following backtrace.<br>
<br>
Customer required we revert back to 16.3.0 so I'm not sure I can replicate this.<br>
Any suggestions of what to do or what to try?<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">First, I'd suggest trying 16.15 but we'd need a full coredump/backtrace to debug further.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><br>
<br>
[11/19 08:22:55.815] VERBOSE[1406] res_pjsip_logger.c: <--- Transmitting SIP request (690 bytes) to UDP:z.z.z.z:5060 ---><br>
SUBSCRIBE <a href="sip:1234567890@y.y.y.y;user=phone">sip:1234567890@y.y.y.y;user=phone</a> SIP/2.0<br>
Via: SIP/2.0/UDP x.x.x.x:5060;rport;branch=z9hG4bKPj363c70fc-88e2-4d05-b2ed-d8af5bbea7a2<br>
From: <<a href="sip:28100@x.x.x.x;user=phone">sip:28100@x.x.x.x;user=phone</a>>;tag=12277ed8-61f7-4b3b-a6b0-b544cc04cd64<br>
To: "1234567890" <<a href="sip:1234567890@y.y.y.y;user=phone">sip:1234567890@y.y.y.y;user=phone</a>>;tag=16a1f36c<br>
Contact: <<a href="sip:x.x.x.x:5060">sip:x.x.x.x:5060</a>><br>
Call-ID: mailto:<a href="mailto:36b40b3bC2_jPc@y.y.y.y" target="_blank">36b40b3bC2_jPc@y.y.y.y</a><br>
CSeq: 27685 SUBSCRIBE<br>
Route: <<a href="sip:z.z.z.z;lr;ftag=16a1f36c">sip:z.z.z.z;lr;ftag=16a1f36c</a>><br>
Event: refer<br>
Expires: 600<br>
Supported: 100rel, timer, replaces, norefersub<br>
Accept: message/sipfrag;version=2.0<br>
Allow-Events: message-summary, presence, dialog, refer<br>
Max-Forwards: 70<br>
User-Agent: Asterisk PBX 16.9.0<br>
Content-Length: 0<br>
<br>
<br>
[11/19 08:22:55.817] VERBOSE[1406] res_pjsip_logger.c: <--- Received SIP response (447 bytes) from UDP:z.z.z.z:5060 ---><br>
SIP/2.0 405 Method Not Allowed<br>
Via: SIP/2.0/UDP x.x.x.x:5060;received=x.x.x.x;rport=5060;branch=z9hG4bKPj363c70fc-88e2-4d05-b2ed-d8af5bbea7a2<br>
From: <<a href="sip:28100@x.x.x.x;user=phone">sip:28100@x.x.x.x;user=phone</a>>;tag=12277ed8-61f7-4b3b-a6b0-b544cc04cd64<br>
To: "1234567890" <<a href="sip:1234567890@y.y.y.y;user=phone">sip:1234567890@y.y.y.y;user=phone</a>>;tag=16a1f36c<br>
Call-ID: mailto:<a href="mailto:36b40b3bC2_jPc@y.y.y.y" target="_blank">36b40b3bC2_jPc@y.y.y.y</a><br>
CSeq: 27685 SUBSCRIBE<br>
Allow: INVITE, ACK, BYE, CANCEL, PRACK, REFER, NOTIFY<br>
Content-Length: 0<br>
<br>
<br>
[11/19 08:22:55.817] ERROR[1745] channel.c: FRACK!, Failed assertion bad magic number 0x0 for object 0x7ff974095ac8 (0)<br>
[11/19 08:22:55.821] ERROR[1745] : Got 22 backtrace records<br>
# 0: /usr/sbin/asterisk(__ao2_lock+0x89) [0x45c5f9]<br>
# 1: /usr/sbin/asterisk() [0x493965]<br>
# 2: /usr/sbin/asterisk(ast_queue_control_data+0x4d) [0x4987cd]<br>
# 3: /usr/lib/asterisk/modules/chan_pjsip.so(+0x7f07) [0x7ff8ecf47f07]<br>
# 4: /usr/lib/libasteriskpj.so.2(+0x746e8) [0x7ff9985616e8]<br>
# 5: /usr/lib/libasteriskpj.so.2(+0x74c88) [0x7ff998561c88]<br>
# 6: /usr/lib/libasteriskpj.so.2(+0x75f16) [0x7ff998562f16]<br>
# 7: /usr/lib/libasteriskpj.so.2(pjsip_dlg_on_tsx_state+0x5d) [0x7ff99859566d]<br>
# 8: /usr/lib/libasteriskpj.so.2(+0xa1203) [0x7ff99858e203]<br>
# 9: /usr/lib/libasteriskpj.so.2(+0xa2431) [0x7ff99858f431]<br>
#10: /usr/lib/libasteriskpj.so.2(+0xa33f4) [0x7ff9985903f4]<br>
#11: /usr/lib/libasteriskpj.so.2(pjsip_tsx_recv_msg+0x8f) [0x7ff9985929af]<br>
#12: /usr/lib/libasteriskpj.so.2(+0xa5a75) [0x7ff998592a75]<br>
#13: /usr/lib/libasteriskpj.so.2(pjsip_endpt_process_rx_data+0x157) [0x7ff998576bd7]<br>
#14: /usr/lib/asterisk/modules/res_pjsip.so(+0x2bcdc) [0x7ff8f259ccdc]<br>
#15: /usr/sbin/asterisk(ast_taskprocessor_execute+0xce) [0x599e2e]<br>
#16: /usr/sbin/asterisk() [0x5a1520]<br>
#17: /usr/sbin/asterisk(ast_taskprocessor_execute+0xce) [0x599e2e]<br>
#18: /usr/sbin/asterisk() [0x5a1cc0]<br>
#19: /usr/sbin/asterisk() [0x5a9b2c]<br>
#20: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7ff9968f86ba]<br>
#21: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7ff995ed241d]<br>
<br>
<br>
Dan<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#073763">George Joseph</span><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#073763">Asterisk Software Developer</span><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#073763">direct/fax +1 256 428 6012</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif;color:#073763">Check us out at</span><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif"> <a href="http://www.sangoma.com/" target="_blank"><span style="color:#1155CC">www.sangoma.com</span></a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif"><img border="0" width="184" height="32" style="width:1.9166in;height:.3333in" id="Picture_x0020_1" src="cid:image001.png@01D6BE7F.0D4D1D90"></span><span style="font-size:12.0pt;font-family:"Tahoma",sans-serif"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>