<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>but you said you run 4.4 series, the version output shows a devel
snapshot from 5.0:</p>
<p><font face="arial" size="2">version: kamailio 5.0.0-dev5
(x86_64/linux) 750f98-dirty</font></p>
<p> You have to upgrade to latest stable 5.0.x, the version you run
is not supposed to be used for production.<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 05.07.17 11:22,
<a class="moz-txt-link-abbreviated" href="mailto:hemanth@advaitamtech.com">hemanth@advaitamtech.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1499246571.270521593@apps.rackspace.com"><font
face="arial" size="2">
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"><br>
Hello Daniel,</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">Out put of the command
kamailio -v is as below,</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"><br>
version: kamailio 5.0.0-dev5 (x86_64/linux) 750f98-dirty<br>
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, TIMER_DEBUG, USE_FUTEX,
FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER,
USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT
PKG_SIZE 12MB<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select.<br>
id: 750f98 -dirty<br>
compiled on 18:21:17 Jul 4 2017 with gcc 4.8.4</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">I have attached my
kamailio.cfg file along with this mail please check and help
me to resolve this issue</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">Thanks & Regards</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">Hemanth</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">-----Original Message-----<br>
From: "Daniel-Constantin Mierla" <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
Sent: Wednesday, 5 July, 2017 2:10pm<br>
To: "Kamailio (SER) - Users Mailing List"
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a>,
<a class="moz-txt-link-rfc2396E" href="mailto:hemanth@advaitamtech.com">"hemanth@advaitamtech.com"</a> <a class="moz-txt-link-rfc2396E" href="mailto:hemanth@advaitamtech.com"><hemanth@advaitamtech.com></a><br>
Subject: Re: [SR-Users] Kamailio Crashing inconsistently<br>
<br>
</p>
<div id="SafeStyles1499245971">
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">Hello,</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">what is the exact version
you run (kamailio -v)?</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">Do you have any
custom/private module used in the config?</p>
<p style="margin:0;padding:0;font-family: arial; font-size:
10pt; overflow-wrap: break-word;">Cheers,<br>
Daniel</p>
<br>
<div class="moz-cite-prefix">On 05.07.17 09:04, <a
class="moz-txt-link-abbreviated"
href="mailto:hemanth@advaitamtech.com"
moz-do-not-send="true">hemanth@advaitamtech.com</a> wrote:</div>
<blockquote>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">Hello,</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">I am using Kamailio 4.4, Kamailio is crashing
inconsistently, I am not able find the root cause of the
issue, Error which i get for the process which crashed at
multiple occations</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">kamailio[9137]: : <core>
[mem/q_malloc.c:145]: qm_debug_frag(): BUG: qm_*: prev.
fragm. tail overwritten(6363e160b12,
abcdefed)[0x7f205db59070:0x7f205db590a8]! Memory allocator
was called from tm: h_table.c:152. Fragment marked by tm:
t_reply.c:1903.</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">kamailio[21724]: : <core>
[mem/q_malloc.c:134]: qm_debug_frag(): BUG: qm_*: fragm.
0x7f1fe804a1e8 (address 0x7f1fe804a220) end overwritten
(4ae8cfaec87c0a27, 192f1270797ac90b)! Memory allocator was
called from tm: h_table.c:179. Fragment marked by core:
msg_translator.c:2153.</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">kamailio[21950]: : <core>
[mem/q_malloc.c:134]: qm_debug_frag(): BUG: qm_*: fragm.
0x7fe541a2cd68 (address 0x7fe541a2cda0) end overwritten
(c0082c06, abcdefed)! Memory allocator was called from tm:
h_table.c:179. Fragment marked by core:
msg_translator.c:2153.</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">kamailio[23200]: : <core>
[mem/q_malloc.c:134]: qm_debug_frag(): BUG: qm_*: fragm.
0x7f1fae7fa260 (address 0x7f1fae7fa298) end overwritten
(3a46e86e1b362938, 7260f1875617e)! Memory allocator was
called from tm: h_table.c:179. Fragment marked by core:
msg_translator.c:2153.</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">There are 2 cores generated whenever it
crashes, I have given the backtrace of the core generated,</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">(gdb) bt<br>
#0 0x00007fe16aca4c37 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56<br>
#1 0x00007fe16aca8028 in __GI_abort () at abort.c:89<br>
#2 0x000000000066b4ac in qm_debug_frag
(qm=0x7fe160bc2000, f=0x7fe160ec9108, file=0x7fe1684dc84e
"tm: h_table.c", line=179) at mem/q_malloc.c:147<br>
#3 0x000000000066e255 in qm_free (qmp=0x7fe160bc2000,
p=0x7fe160ec9140, file=0x7fe1684dc84e "tm: h_table.c", <br>
func=0x7fe1684dcb00 <__FUNCTION__.10973>
"free_cell_helper", line=179, mname=0x7fe1684dc250 "tm")
at mem/q_malloc.c:480<br>
#4 0x00007fe16840cab9 in free_cell_helper
(dead_cell=0x7fe160f09e50, silent=0, fname=0x7fe1684eeb8c
"timer.c", fline=648) at h_table.c:179<br>
#5 0x00007fe1684584a7 in wait_handler (ti=1156027084,
wait_tl=0x7fe160f09ed0, data=0x7fe160f09e50) at
timer.c:648<br>
#6 0x000000000063a329 in timer_list_expire (t=1156027084,
h=0x7fe160c3faf0, slow_l=0x7fe160c42da8, slow_mark=776) at
timer.c:874<br>
#7 0x000000000063a79d in timer_handler () at timer.c:939<br>
#8 0x000000000063ac3d in timer_main () at timer.c:978<br>
#9 0x00000000004c2550 in main_loop () at main.c:1683<br>
#10 0x00000000004c9211 in main (argc=13,
argv=0x7ffe6bf7da98) at main.c:2627</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">(gdb) bt<br>
#0 0x00007fe16aca4c37 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56<br>
#1 0x00007fe16aca8028 in __GI_abort () at abort.c:89<br>
#2 0x000000000066b02c in qm_debug_frag
(qm=0x7fe160bc2000, f=0x7fe160ec8de0, file=0x7fe1684dc84e
"tm: h_table.c", line=179) at mem/q_malloc.c:136<br>
#3 0x000000000066e255 in qm_free (qmp=0x7fe160bc2000,
p=0x7fe160ec8e18, file=0x7fe1684dc84e "tm: h_table.c", <br>
func=0x7fe1684dcb00 <__FUNCTION__.10973>
"free_cell_helper", line=179, mname=0x7fe1684dc250 "tm")
at mem/q_malloc.c:480<br>
#4 0x00007fe16840cab9 in free_cell_helper
(dead_cell=0x7fe160ed6a28, silent=1, fname=0x7fe1684dc9c1
"h_table.c", fline=449) at h_table.c:179<br>
#5 0x00007fe16840e491 in free_hash_table () at
h_table.c:449<br>
#6 0x00007fe168436141 in tm_shutdown () at t_funcs.c:90<br>
#7 0x00000000005c0a50 in destroy_modules () at
sr_module.c:811<br>
#8 0x00000000004b6449 in cleanup (show_status=1) at
main.c:525<br>
#9 0x00000000004b7ad6 in shutdown_children (sig=15,
show_status=1) at main.c:667<br>
#10 0x00000000004ba428 in handle_sigs () at main.c:759<br>
#11 0x00000000004c343e in main_loop () at main.c:1744<br>
#12 0x00000000004c9211 in main (argc=13,
argv=0x7ffe6bf7da98) at main.c:2627</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">Thanks & Regards</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;
font-family: arial; font-size: 10pt; overflow-wrap:
break-word;">Hemanth</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p style="margin:0;padding:0;">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</p>
</blockquote>
<br>
<p class="moz-signature" style="margin:0;padding:0;">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated"
href="http://www.twitter.com/miconda"
moz-do-not-send="true">www.twitter.com/miconda</a> -- <a
class="moz-txt-link-abbreviated"
href="http://www.linkedin.com/in/miconda"
moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a
class="moz-txt-link-abbreviated"
href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - <a
class="moz-txt-link-abbreviated"
href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a>
</p>
</div>
</font>
</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 - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>