<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>the reason of the crash is a double free, but why it happened is
not clear -- if you want to avoid crashing on double free, you can
set mem_safety=1 .</p>
<p>4.2 is rather old to start digging into its code with a very
limited spare time. Maybe you can try with a newer version and see
if you can reproduce.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 11.04.18 14:32,
<a class="moz-txt-link-abbreviated" href="mailto:igor.potjevlesch@gmail.com">igor.potjevlesch@gmail.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:002a01d3d191$366ecad0$a34c6070$@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I had a crash on one
Kamailio instance with the following backtrace:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Core was generated by
`/usr/local/sbin/kamailio -m 704 -M 128 -P
/run/kamailio/kamailio.pid'.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Program terminated with
signal 6, Aborted.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#0 0x00007f92366761f7
in raise () from /lib64/libc.so.6<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Missing separate
debuginfos, use: debuginfo-install
bzip2-libs-1.0.6-13.el7.x86_64
elfutils-libelf-0.168-8.el7.x86_64
glibc-2.17-196.el7_4.2.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
krb5-libs-1.15.1-8.el7.x86_64 libacl-2.2.51-12.el7.x86_64
libattr-2.4.46-12.el7.x86_64 libcap-2.22-9.el7.x86_64
libcom_err-1.42.9-10.el7.x86_64 libdb-5.3.21-21.el7_4.x86_64
libgcc-4.8.5-16.el7_4.1.x86_64 libselinux-2.5-11.el7.x86_64
libstdc++-4.8.5-16.el7_4.1.x86_64
lm_sensors-libs-3.4.0-4.20160601gitf9185e5.el7.x86_64
lua-5.1.4-15.el7.x86_64 mariadb-libs-5.5.56-2.el7.x86_64
net-snmp-agent-libs-5.7.2-28.el7_4.1.x86_64
net-snmp-libs-5.7.2-28.el7_4.1.x86_64
nspr-4.13.1-1.0.el7_3.x86_64 nss-3.28.4-15.el7_4.x86_64
nss-softokn-freebl-3.28.3-8.el7_4.x86_64
nss-util-3.28.4-3.el7.x86_64
openssl-libs-1.0.2k-8.el7.x86_64 pcre-8.32-17.el7.x86_64
perl-libs-5.16.3-292.el7.x86_64 popt-1.13-16.el7.x86_64
rpm-libs-4.11.3-25.el7.x86_64
tcp_wrappers-libs-7.6-77.el7.x86_64
xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">(gdb) backtrace<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#0 0x00007f92366761f7
in raise () from /lib64/libc.so.6<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#1 0x00007f92366778e8
in abort () from /lib64/libc.so.6<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#2 0x000000000061fb2c
in qm_free (qm=0x7f91f4eaf000, p=0x7f92110d0300,
file=0x7f9226dd7072 "dialog: dlg_hash.c",
func=0x7f9226dd9aeb <__FUNCTION__.12761>
"destroy_dlg", line=381) at mem/q_malloc.c:474<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#3 0x00007f9226d6fb62
in destroy_dlg (dlg=0x7f920f775598) at dlg_hash.c:381<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#4 0x00007f9226d75681
in dlg_unref (dlg=0x7f920f775598, cnt=2) at dlg_hash.c:874<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#5 0x00007f9226da14d5
in dlg_ontimeout (tl=0x7f920f7755f8) at dlg_handlers.c:1488<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#6 0x00007f9226db1e67
in dlg_timer_routine (ticks=8621904, attr=0x0) at
dlg_timer.c:283<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#7 0x00000000004af537
in compat_old_handler (ti=137950479, tl=0x7f91f7ad8cc8,
data=0x7f91f7ad8cc8) at timer.c:1011<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#8 0x00000000004aff14
in slow_timer_main () at timer.c:1145<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#9 0x000000000052a2af
in main_loop () at main.c:1684<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">#10 0x000000000052fe71
in main (argc=7, argv=0x7fff51f21418) at main.c:2581<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">(gdb)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Is there enough
information to understand the reason of the crash?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Igor.<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>