<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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 just changed '<span style="font-family: "Courier New", monospace; font-size: 10pt; color: rgb(0, 0, 0);">#define MAX_EXTRA 4</span>' to '<span style="font-family: "Courier New", monospace; font-size: 10pt; color: rgb(0, 0, 0);">#define MAX_EXTRA 6</span>'
 in the following file. </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);">
kamailio-5.1.6/src/modules/auth_radius/extra.h<br>
</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" style="color: inherit;"><b><span style="font-size:8.0pt; font-family:"Verdana","sans-serif"; font-variant:small-caps; color:navy">Hamid R. Hashmi</span></b></a><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Hamid Hashmi <hamid2kviii@hotmail.com><br>
<b>Sent:</b> Monday, November 19, 2018 3:32 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> [SR-Users] Kamailio-5.1.6 Crash</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
I have been using the following version of kamailio</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-family:"Courier New",monospace; font-size:9pt">Version: kamailio 5.1.6 (x86_64/linux)</span><span><br>
</span>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  Default config: /usr/local/etc/kamailio/kamailio.cfg</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  Default paths to modules: /usr/local/lib64/kamailio/modules</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  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</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  MAX_RECV_BUFFER_SIZE=262144</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  MAX_URI_SIZE=1024</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  BUF_SIZE=65535</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  DEFAULT PKG_SIZE=8MB</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  DEFAULT SHM_SIZE=64MB</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  ADAPTIVE_WAIT_LOOPS=1024</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  Source code revision ID: unknown</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">  Compiled with: gcc 4.8.5</span><br>
</div>
<span style="font-family:"Courier New",monospace; font-size:9pt">  Compiled on: 11:48:33 Oct 11 2018</span><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
<span>and I noticed today that the Kamailio service is crashing. </span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
<span><span style="font-family:"Courier New",monospace; font-size:9pt">[root@kamailiostandby /]# gdb core.17805</span><span><br>
</span>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7_4.1</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">Copyright (C) 2013 Free Software Foundation, Inc.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">This is free software: you are free to change and redistribute it.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">There is NO WARRANTY, to the extent permitted by law.  Type "show copying"</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">and "show warranty" for details.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">This GDB was configured as "x86_64-</span><span style="font-family:"Courier New",monospace; font-size:9pt">redhat</span><span style="font-family:"Courier New",monospace; font-size:9pt">-</span><span style="font-family:"Courier New",monospace; font-size:9pt">linux</span><span style="font-family:"Courier New",monospace; font-size:9pt">-gnu".</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">For bug reporting instructions, please see:</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt"><http://www.gnu.org/software/gdb/bugs/>...</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">[New LWP 17805]</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">Core was generated by `/usr/local/sbin/kamailio -P /run/kamailio/kamailio.pid -f /usr/local/SIP'.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">Program terminated with signal 11, Segmentation fault.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">#0  0x00007f636559e54b in ?? ()</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">"/core.17805" is a core file.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">Please specify an executable to debug.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">(gdb) list</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">No symbol table is loaded.  Use the "file" command.</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">(gdb) bt</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">#0  0x00007f636559e54b in ?? ()</span><br>
</div>
<div><span style="font-family:"Courier New",monospace; font-size:9pt">#1  0x00007f63a9571810 in ?? ()</span><br>
</div>
<span style="font-family:"Courier New",monospace; font-size:9pt">#2  0x0000000000000000 in ?? ()</span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(38,114,236)">
<br>
</div>
<div id="x_signature">
<p class="x_ecxMsoNormal">Regards</p>
<p class="x_ecxMsoNormal"><br>
</p>
<p class="x_ecxMsoNormal"><a name="x__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>
</div>
</body>
</html>