<html 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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Guys,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are running kamailio 4.4.6 on debian 8 and not had any issues, however we did suffer a segfault and a core was generated;</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">May 25 09:17:06 Kam-HA-1 /usr/sbin/kamailio[9560]: ALERT: <core> [main.c:740]: handle_sigs(): child process 9575 exited by a signal 11</p>
<p class="MsoNormal">May 25 09:17:06 Kam-HA-1 /usr/sbin/kamailio[9560]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated</p>
<p class="MsoNormal">May 25 09:17:06 Kam-HA-1 /usr/sbin/kamailio[9560]: INFO: <core> [main.c:755]: handle_sigs(): terminating due to SIGCHLD</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Running gdb on the core file generated returns this output;</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Reading symbols from /usr/sbin/kamailio...Reading symbols from /usr/lib/debug/.build-id/bc/fbd7e44c057e9e7e0680c2a5e8f6a47290c5ba.debug...done.</p>
<p class="MsoNormal">done.</p>
<p class="MsoNormal">[New LWP 9575]</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">warning: Error reading shared library list entry at 0x28250c3348</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">warning: Error reading shared library list entry at 0x79c0850018bf73e8</p>
<p class="MsoNormal">Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.'.</p>
<p class="MsoNormal">Program terminated with signal SIGSEGV, Segmentation fault.</p>
<p class="MsoNormal">#0 0x0000000000589cce in lval_pvar_assign (lv=<optimized out>, rv=<optimized out>, msg=<optimized out>, h=<optimized out>) at lvalue.c:353</p>
<p class="MsoNormal">353 lvalue.c: No such file or directory.</p>
<p class="MsoNormal">(gdb) bt full</p>
<p class="MsoNormal">#0 0x0000000000589cce in lval_pvar_assign (lv=<optimized out>, rv=<optimized out>, msg=<optimized out>, h=<optimized out>) at lvalue.c:353</p>
<p class="MsoNormal"> r_avp = 0x6</p>
<p class="MsoNormal"> destroy_pval = -874501672</p>
<p class="MsoNormal"> pvar = 0x0</p>
<p class="MsoNormal"> pval = {rs = {s = 0x0, len = 0}, ri = 0, flags = 0}</p>
<p class="MsoNormal"> avp_val = {n = -874501704, s = {s = 0x7fb6cbe029b8 "\272/}", len = 5807505}, re = 0x7fb6cbe029b8}</p>
<p class="MsoNormal"> v = 6</p>
<p class="MsoNormal">#1 lval_assign (h=0x7fb6cbe029d8, msg=0x344, lv=0x0, rve=0x0) at lvalue.c:400</p>
<p class="MsoNormal"> rv = 0x7fb6cbe029b8</p>
<p class="MsoNormal"> ret = -874501672</p>
<p class="MsoNormal"> __FUNCTION__ = "lval_assign"</p>
<p class="MsoNormal">#2 0x0000000000000000 in ?? ()</p>
<p class="MsoNormal">No symbol table info available.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is this of any help? Could someone advise what next steps might be?
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Should we be looking to upgrade or is there a way to get more detail out of the core dump?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many Thanks</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jon</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>