[SR-Users] Kamailio crash

Ricardo Martinez rmartinez at redvoiss.net
Wed Nov 21 22:40:42 CET 2012


Every 5 minutes we run a script to drop calls in state “3”.

Could be this the problem?



*De:* Daniel-Constantin Mierla [mailto:miconda at gmail.com]
*Enviado el:* miércoles, 21 de noviembre de 2012 18:36
*Para:* SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
Users Mailing List
*CC:* Ricardo Martinez
*Asunto:* Re: [SR-Users] Kamailio crash


do you have any external application sending MI commands to terminate
active calls?

Just checking to be sure it is not a core file overwrite situation.


On 11/21/12 10:20 PM, Ricardo Martinez wrote:


In the last three days my kamailio process has  crashed two times.  I
obtained the core file and see it, this is the output.  Can someone check
what is the problem?

Core was generated by `/usr/local/sbin/kamailio -m 1024'.

Program terminated with signal 11, Segmentation fault.

#0  core_hash (cmd_tree=<value optimized out>, param=<value optimized out>)
at ../../lib/kcore/hash_func.h:56

56                      v=(*p<<24)+(p[1]<<16)+(p[2]<<8)+p[3];

Missing separate debuginfos, use: debuginfo-install
filesystem-2.4.30-2.1.el6.x86_64 glibc-2.12-1.25.el6_1.3.x86_64
keyutils-libs-1.4-1.el6.x86_64 krb5-libs-1.9-9.el6_1.2.x86_64
libcom_err-1.41.12-7.el6.x86_64 libselinux-2.0.94-5.el6.x86_64
mysql-libs-5.1.52-1.el6_0.1.x86_64 nss-softokn-freebl-3.12.7-1.1.el6.x86_64
openssl-1.0.0-20.el6_2.1.x86_64 pcre-7.8-3.1.el6.x86_64

(gdb) bt

#0  core_hash (cmd_tree=<value optimized out>, param=<value optimized out>)
at ../../lib/kcore/hash_func.h:56

#1  process_mi_params (cmd_tree=<value optimized out>, param=<value
optimized out>) at dlg_hash.c:1057

#2  mi_terminate_dlgs (cmd_tree=<value optimized out>, param=<value
optimized out>) at dlg_hash.c:1165

#3  0x00007fc789996370 in run_mi_cmd (rx_sock=11, tx_sock=12) at

#4  mi_datagram_server (rx_sock=11, tx_sock=12) at datagram_fnc.c:525

#5  0x00007fc789998509 in datagram_process (rank=<value optimized out>) at

#6  0x00007fc78999a09c in mi_child_init (rank=<value optimized out>) at

#7  0x00000000004dbd61 in ?? ()

#8  0x00007fc78d99aab8 in ?? ()

#9  0x00007fc78d0181cd in pkg_proc_update_real_used (data=<value optimized
out>) at pkg_stats.c:141

#10 0x000000000052b423 in ?? ()

#11 0x00007fc78d8a2830 in ?? ()

#12 0x0000000000000000 in ?? ()


I’m using kamailio

[root at pxh ~]# kamailio -V

version: kamailio 3.2.3 (x86_64/linux) 2a00c6-dirty

with dialog module, hash tables, radius authorization.

Hope someone could help me.




SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

sr-users at lists.sip-router.org



Daniel-Constantin Mierla - http://www.asipto.com

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121121/6f944c3b/attachment-0001.htm>

More information about the sr-users mailing list