[Kamailio-Users] Kamailio Revision: 5487 1.4.3-notls (x86_64) -m 4096 -- Crashing Randomly

Alex Balashov abalashov at evaristesys.com
Thu Jul 16 10:54:02 CEST 2009


I'm not a Kamailio developer, but this really sounds like an runtime 
environment and/or hardware issue in every way.

Brandon Armstead wrote:

> Hey guys,
> 
>     Here is the response from backtrace:
> 
> Core was generated by `/sbin/kamailio -P /var/run/kamailio.pid -m 4096'.
> Program terminated with signal 11, Segmentation fault.
> [New process 29118]
> #0  0x00007f37499be44d in relay_reply (t=0x7f3645019f88, p_msg=0x857350, 
> branch=0, msg_status=487, cancel_bitmap=0x7fff53aa3428) at t_reply.c:1101
> 1101                            relayed_code=relayed_msg->REPLY_STATUS;
> (gdb) bt
> #0  0x00007f37499be44d in relay_reply (t=0x7f3645019f88, p_msg=0x857350, 
> branch=0, msg_status=487, cancel_bitmap=0x7fff53aa3428) at t_reply.c:1101
> #1  0x00007f37499bf8fb in reply_received (p_msg=0x857350) at t_reply.c:1404
> #2  0x00000000004218fc in forward_reply (msg=0x857350) at forward.c:507
> #3  0x000000000045cf35 in receive_msg (
>     buf=0x744aa0 "SIP/2.0 487 Request Terminated\r\nTo: 
> <sip:+1XXXXXXXXXX at PSTN:5060>;tag=63c9393246a9a5d6i0\r\nFrom: \"XXXXX X & 
> X    \" <sip:XXXXXXXXXX at PSTN>;tag=VPSF506071629460\r\nCall-ID: 
> STMMGC012009071521"..., len=997, rcv_info=0x7fff53aa3520) at receive.c:203
> #4  0x000000000049c486 in udp_rcv_loop () at udp_server.c:449
> #5  0x000000000042882b in main (argc=<value optimized out>, argv=<value 
> optimized out>) at main.c:780
> 
> 
> As far as syslog/kernel message:
> Jul 15 21:07:28 sip-XXXX kernel: [526828.616918] kamailio[29118]: 
> segfault at 40 ip 7f37499be44d sp 7fff53aa32b0 error 4 in 
> tm.so[7f374997f000+4d000]
> 
> 
> 
> The server load seems to randomly jump to ~ 8 - 10 and this happens, any 
> thoughts / help is appreciated, thanks!
> 
> 
> One other thing that may be relevant, is we have disabled TCP support on 
> this proxy, because previously (I have another mailing list thread) 
> about, with TCP enabled kamailio will not start due to epoll alloc 
> failure, thanks!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671



More information about the Users mailing list