ikalani - 2010-09-13

I posted this in the general discussion forum as well but it may belong here instead as it may be a bug:

Opensips 1.6.3 is seg faulting on me about once every 24 hours.  When I backtrace the core dump I get this:

#0  0x00002b38d668eb09 in strncpy () from /lib64/libc.so.6
#1  0x000000000043fcf8 in hostent_cpy (dst=0x874720, src=0x2b38d696a040) at proxy.c:147
#2  0x000000000044060e in mk_proxy (name=0x7fffd4ac5ef0, port=0, proto=0, is_sips=0) at proxy.c:258
#3  0x00002b38d78a7425 in uri2proxy (t=0x2b38daeb2ae0, request=0x86eb48, uri=0x7fffd4ac6170, next_hop=0x7fffd4ac6180, path=<value optimized out>, proxy=0x0) at ut.h:111
#4  add_uac (t=0x2b38daeb2ae0, request=0x86eb48, uri=0x7fffd4ac6170, next_hop=0x7fffd4ac6180, path=<value optimized out>, proxy=0x0) at t_fwd.c:409
#5  0x00002b38d78a7e73 in t_forward_nonack (t=0x2b38daeb2ae0, p_msg=0x86eb48, proxy=0x0) at t_fwd.c:645
#6  0x00002b38d78a4367 in t_relay_to (p_msg=0x86eb48, proxy=0x0, flags=0) at t_funcs.c:250
#7  0x00002b38d78b67e6 in w_t_relay (p_msg=0x86eb48, proxy=0x0, flags=0x0) at tm.c:1079
#8  0x000000000040e818 in do_action (a=0x79ccb0, msg=0x86eb48) at action.c:1040
#9  0x0000000000411d15 in run_action_list (a=<value optimized out>, msg=0x86eb48) at action.c:139
#10 0x0000000000467ac4 in eval_elem (e=0x79cd88, msg=0x86eb48, val=0x0) at route.c:1325
#11 eval_expr (e=0x79cd88, msg=0x86eb48, val=0x0) at route.c:1625
#12 0x00000000004675dd in eval_expr (e=0x79cdd8, msg=0x86eb48, val=0x0) at route.c:1641
#13 0x0000000000467585 in eval_expr (e=0x79ce28, msg=0x86eb48, val=0x0) at route.c:1646
#14 0x000000000040e0d3 in do_action (a=0x79cfe8, msg=0x86eb48) at action.c:689
#15 0x0000000000411d15 in run_action_list (a=<value optimized out>, msg=0x86eb48) at action.c:139
#16 0x000000000040fc45 in do_action (a=0x7bbe60, msg=0x86eb48) at action.c:119
#17 0x0000000000411d15 in run_action_list (a=<value optimized out>, msg=0x86eb48) at action.c:139
#18 0x000000000040fc45 in do_action (a=0x799b58, msg=0x86eb48) at action.c:119
#19 0x0000000000411d15 in run_action_list (a=<value optimized out>, msg=0x86eb48) at action.c:139
#20 0x0000000000410b7b in do_action (a=0x799d08, msg=0x86eb48) at action.c:712
#21 0x0000000000411d15 in run_action_list (a=<value optimized out>, msg=0x86eb48) at action.c:139
#22 0x0000000000410e44 in do_action (a=0x79be48, msg=0x86eb48) at action.c:1018
#23 0x0000000000411d15 in run_action_list (a=<value optimized out>, msg=0x86eb48) at action.c:139
#24 0x0000000000412067 in run_actions (a=0x78cc00, msg=0x86eb48) at action.c:119
#25 run_top_route (a=0x78cc00, msg=0x86eb48) at action.c:180
#26 0x0000000000456a35 in receive_msg (
    buf=0x758120 ""…, len=1288, rcv_info=0x7fffd4ac8270) at receive.c:162
#27 0x000000000049b604 in udp_rcv_loop () at udp_server.c:492
#28 0x000000000042a43d in main_loop (argc=3, argv=<value optimized out>) at main.c:818
#29 main (argc=3, argv=<value optimized out>) at main.c:1388

Has anyone else had this problem and know if a fix?  Just FYI the "INVITE CONTENTS REMOVED" is not the actual output of the backtrace - I removed that stuff.