I have just changed '#define MAX_EXTRA 4' to '#define MAX_EXTRA 6' in the following file. 

kamailio-5.1.6/src/modules/auth_radius/extra.h

Regards

Hamid R. Hashmi


From: sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Hamid Hashmi <hamid2kviii@hotmail.com>
Sent: Monday, November 19, 2018 3:32 PM
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] Kamailio-5.1.6 Crash
 
I have been using the following version of kamailio

Version: kamailio 5.1.6 (x86_64/linux)
  Default config: /usr/local/etc/kamailio/kamailio.cfg
  Default paths to modules: /usr/local/lib64/kamailio/modules
  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
  MAX_RECV_BUFFER_SIZE=262144
  MAX_URI_SIZE=1024
  BUF_SIZE=65535
  DEFAULT PKG_SIZE=8MB
  DEFAULT SHM_SIZE=64MB
  ADAPTIVE_WAIT_LOOPS=1024
  TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select
  Source code revision ID: unknown
  Compiled with: gcc 4.8.5
  Compiled on: 11:48:33 Oct 11 2018

and I noticed today that the Kamailio service is crashing. 

[root@kamailiostandby /]# gdb core.17805
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7_4.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
[New LWP 17805]
Core was generated by `/usr/local/sbin/kamailio -P /run/kamailio/kamailio.pid -f /usr/local/SIP'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f636559e54b in ?? ()
"/core.17805" is a core file.
Please specify an executable to debug.
(gdb) list
No symbol table is loaded.  Use the "file" command.
(gdb) bt
#0  0x00007f636559e54b in ?? ()
#1  0x00007f63a9571810 in ?? ()
#2  0x0000000000000000 in ?? ()


Regards


Hamid R. Hashmi