<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
I have been receiving CRITICAL core logs since I have updated my service to the following version. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<span>Print out of kamailio internals<br>
</span>
<div>  Version: kamailio 5.1.5 (x86_64/linux) d06080<br>
</div>
<div>  Default config: /usr/local/SIPSer/etc/kamailio/kamailio.cfg<br>
</div>
<div>  Default paths to modules: /usr/local/SIPSer/lib64/kamailio/modules<br>
</div>
<div>  Compile flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
 USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
</div>
<div>  MAX_RECV_BUFFER_SIZE=262144<br>
</div>
<div>  MAX_URI_SIZE=1024<br>
</div>
<div>  BUF_SIZE=65535<br>
</div>
<div>  DEFAULT PKG_SIZE=8MB<br>
</div>
<div>  DEFAULT SHM_SIZE=64MB<br>
</div>
<div>  ADAPTIVE_WAIT_LOOPS=1024<br>
</div>
<div>  TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select<br>
</div>
<div>  Source code revision ID: d06080<br>
</div>
<div>  Compiled with: gcc 4.8.5<br>
</div>
<div>  Compiled on: 14:17:56 Sep 13 2018<br>
</div>
<span>Thank you for flying kamailio!</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
I have been starting kamailio with the following command</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
$ /usr/local/sbin/kamailio -P /run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 1024 -M 512</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
Sample Critical Logs are below</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<span style="font-size: 8pt;">Sep 27 14:40:19 kamailio_eu SIPSer[11289]: 923226363266 923000000001 27872 INVITE haYKxpYM1QR8XTU37WdVbxf4VkEITe7A CRITICAL: <core> [core/mem/q_malloc.c:504]: qm_free(): BUG: freeing already freed pointer (0x7f30c8a4df30), called
 from tm: t_reply.c: relay_reply(1920), first free tm: h_table.c: free_cell_helper(155) - aborting</span><span><br>
</span>
<div><span style="font-size: 8pt;">Sep 27 14:40:19 kamailio_eu SIPSer[11289]: 923226363266 923000000001 27872 INVITE haYKxpYM1QR8XTU37WdVbxf4VkEITe7A CRITICAL: <core> [core/mem/q_malloc.c:504]: qm_free(): BUG: freeing already freed pointer (0x7f30c8a4cc40),
 called from tm: h_table.c: free_cell_helper(153), first free tm: h_table.c: free_cell_helper(153) - aborting</span></div>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
Its also causing service crash.  Complete logs are <a href="https://paste.ee/p/q65DE" title="https://paste.ee/p/q65DE">
here</a>. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div id="signature">
<p class="ecxMsoNormal">Regards</p>
<p class="ecxMsoNormal"><a name="_MailAutoSig" target="_blank"><b><span style="font-size:8.0pt; font-family:"Verdana","sans-serif"; font-variant:small-caps; color:navy">Hamid R. Hashmi</span></b></a></p>
</div>
</body>
</html>