[Kamailio-Devel] OpenSer 1.3.0 crash

Robin Vleij robin at swip.net
Mon Sep 15 10:04:25 CEST 2008


Hi guys!

Posted this to the user list, but I'm not sure if that's the right
forum. Hoped to get some feedback on a crash I had a week ago, now
I'm trying it here.

We've been running OpenSER (1.3.0 ntls, compiled for x66_64) for quite a
while now and only had a crash once. We suspected then that this was
caused by hitting the max_while_loops for a while (never happened again
after fixing the max-while-loops). Now I had a crash and the backtrace
looks like the following. Do you guys have any pointers on what is
causing this? We got another crash, on the same server last Saturday.
I'll attach the backtrace for that one at the bottom.

First backtrace:

#0  free_hostent (dst=0x6e3fe0) at proxy.c:203
203                     for (r=0; dst->h_addr_list[r];r++) {
(gdb) backtrace
#0  free_hostent (dst=0x6e3fe0) at proxy.c:203
#1  0x0000000000436530 in free_proxy (p=0x6e3fc0) at proxy.c:312
#2  0x00002adec6dc01ea in t_relay_to (p_msg=0x6de4a0, proxy=0x6e3fc0,
flags=<value optimized out>) at t_funcs.c:230
#3  0x00002adec6dd1fcd in w_t_relay (p_msg=0x6de4a0, proxy=0x0,
flags=0x0) at tm.c:929
#4  0x000000000040ba9f in do_action (a=0x646e80, msg=0x6de4a0) at
action.c:816
#5  0x000000000040dfac in run_action_list (a=<value optimized out>,
msg=0x6de4a0) at action.c:132
#6  0x000000000040ca06 in do_action (a=0x646fb0, msg=0x6de4a0) at
action.c:689
#7  0x000000000040dfac in run_action_list (a=<value optimized out>,
msg=0x6de4a0) at action.c:132
#8  0x000000000040d780 in do_action (a=0x647460, msg=0x6de4a0) at
action.c:695
#9  0x000000000040dfac in run_action_list (a=<value optimized out>,
msg=0x6de4a0) at action.c:132
#10 0x000000000040ca06 in do_action (a=0x6475a0, msg=0x6de4a0) at
action.c:689
#11 0x000000000040dfac in run_action_list (a=<value optimized out>,
msg=0x6de4a0) at action.c:132
#12 0x000000000040e309 in run_top_route (a=0x643398, msg=0x6de4a0) at
action.c:112
#13 0x000000000044b8bf in receive_msg (
    buf=0x625ca0 "ACK sip:013104104 at sip-corporate.tele2.se
SIP/2.0\r\nVia: SIP/2.0/UDP
130.244.190.46;branch=z9hG4bK7b7c7b36\r\nVia: SIP/2.0/UDP
130.244.190.46;branch=z9hG4bK7b7c7b36\r\nVia: SIP/2.0/UDP
130.244.190.46;branch"..., len=3703, rcv_info=0x7fffe4d8d840) at
receive.c:156
#14 0x0000000000488154 in udp_rcv_loop () at udp_server.c:438
#15 0x0000000000425081 in main (argc=9, argv=0x7fffe4d8da48) at main.c:834

Last crash:
#0  free_lump_list (l=0x636d20) at data_lump.c:412
#1  0x000000000048ed02 in free_sip_msg (msg=0x6df7b8) at
parser/msg_parser.c:661
#2  0x000000000044b4b9 in receive_msg (
    buf=0x625ca0 "INVITE sip:0707119910 at 130.244.190.46;transport=UDP
SIP/2.0\r\nFrom:
<sip:0859902778 at 192.71.220.150:5060>;tag=pstn20080913184322\r\nTo:
<sip:0707119910 at 130.244.190.46:5060>\r\nCall-ID:
pstn20080913184322-1-1"..., len=728, rcv_info=0x7fffee85b310) at
receive.c:206
#3  0x0000000000488154 in udp_rcv_loop () at udp_server.c:438
#4  0x0000000000425081 in main (argc=9, argv=0x7fffee85b518) at main.c:834


Any ideas?

/Robin

-- 
Robin Vleij
robin at swip.net



More information about the Devel mailing list