[SR-Users] Kamailio 4.2.4 segfault and crash

Federico San Martín fsanmartin at telecentro.net.ar
Fri May 15 21:55:59 CEST 2015


Hi all, I just experienced a sudden crash from one of my Kamailio servers. I'm using v4.2.4 built from git repository (branch remotes/origin/4.2). The error logs show this at the time of the crash (I'm using debug=1 on config file) 



May 15 15:59:53 KAMAILIO-ERS1 kamailio[21162]: CRITICAL: <core> [pass_fd.c:293]: receive_fd(): EOF on 19 
May 15 15:59:53 KAMAILIO-ERS1 kamailio[21141]: ALERT: <core> [main.c:784]: handle_sigs(): child process 21149 exited by a signal 11 
May 15 15:59:53 KAMAILIO-ERS1 kamailio[21141]: ALERT: <core> [main.c:787]: handle_sigs(): core was not generated 




May 15 15:59:53 KAMAILIO-ERS1 kernel: [2156637.186585] kamailio[21149]: segfault at 20b6 ip 00000000000020b6 sp 00007ffeb0c2bc88 error 14 in kamailio[400000+3c3000] 
May 15 15:59:53 KAMAILIO-ERS1 kernel: [2156637.214933] kamailio[21141]: segfault at 2290 ip 0000000000002290 sp 00007ffeb0c2c4d8 error 14 in kamailio[400000+3c3000] 




The modules I'm using are: 




loadmodule "mi_fifo.so" 
loadmodule "db_mysql.so" 
loadmodule "sqlops.so" 
loadmodule "tm.so" 
loadmodule "sl.so" 
loadmodule "pv.so" 
loadmodule "xlog.so" 
loadmodule "maxfwd.so" 
loadmodule "siputils.so" 
loadmodule "sanity.so" 
loadmodule "textops.so" 
loadmodule "rr.so" 
loadmodule "statsd.so" 




Have you noticed this error before? This server has a very simple config, for every invite received, it queries a MySQL database to replace the called number from 3 digits to 8-10 digits (for example 135 is translated to 1152751135) and sends back a 300 Redirect with the new number. 




Another thing to notice is that this server was working at 3-4% CPU load and when the issue happen it spiked to 53%... 




Let me know I can provide any other info that could be useful. 




Thanks! 




Federico 

Federico San Martín 
Ingeniería de Telefonía 
TeleCentro S.A. 
Cnel. Apolinario Figueroa 254 Piso 4to 


CABA - C1414EDF 

Fijo : +54 11 3977 10 45 

Móvil : +54 9 11 5824 3240 

e-mail : fsanmartin at telecentro.net.ar 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150515/320f50af/attachment.html>


More information about the sr-users mailing list