[OpenSIPS-Devel] [opensips] OpenSIPS 2.1 Crash (#732)

Muhammad Shahzad Shafi notifications at github.com
Sat Dec 19 20:02:19 CET 2015


Hi,

I recently installed opensips version 21 with git revision a173499 on a 32bit debian wheezy and it is keep getting crashed while acquiring lock in TM module Here is BT given by GDB,

<pre>
Core was generated by '/usr/local/adx-ipc/sbin/opensips -P /var/run/opensips/opensipspid -m 256 -M 16'
Program terminated with signal 11, Segmentation fault
#0  0xb660a188 in tsl (lock=0x0) at //mem//fastlockh:86

warning: Source file is more recent than executable
▒▒/usr/src/svn-src/opensips/fastlockh:86:2617:beg:0xb660a188
(gdb) bt
#0  0xb660a188 in tsl (lock=0x0) at //mem//fastlockh:86
#1  get_lock (lock=<optimized out>) at //mem//fastlockh:176
#2  _lock (s=<optimized out>) at lockh:100
#3  set_timer (ext_timeout=0x0, list_id=RT_T1_TO_1, new_tl=0xa61072c0) at timerc:899
#4  set_timer (new_tl=new_tl at entry=0xa61072c0, list_id=list_id at entry=RT_T1_TO_1, ext_timeout=0x0, ext_timeout at entry=0x1) at timerc:876
#5  0xb66078db in _set_fr_retr (retr=<optimized out>, rb=0xa610728c) at t_funcsh:137
#6  start_retr (rb=0xa610728c) at t_funcsh:151
#7  t_forward_nonack (t=t at entry=0xa6107174, p_msg=p_msg at entry=0xb66aa29c, proxy=proxy at entry=0x0) at t_fwdc:728
#8  0xb6602f6d in t_relay_to (p_msg=p_msg at entry=0xb66aa29c, proxy=proxy at entry=0x0, flags=flags at entry=0) at t_funcsc:247
#9  0xb6619814 in w_t_relay (p_msg=0xb66aa29c, proxy=0x0, flags=0x0) at tmc:1213
#10 0x0806441c in do_action (a=a at entry=0xb66752d0, msg=msg at entry=0xb66aa29c) at actionc:1862
#11 0x0806bd34 in run_action_list (a=0xb66752d0, msg=msg at entry=0xb66aa29c) at actionc:169
#12 0x080dbb48 in eval_elem (e=0xb6675344, msg=msg at entry=0xb66aa29c, val=val at entry=0x0) at routec:1643
#13 0x080db439 in eval_expr (e=0xb6675344, msg=msg at entry=0xb66aa29c, val=val at entry=0x0) at routec:1988
#14 0x080db567 in eval_expr (e=0xb6675370, msg=msg at entry=0xb66aa29c, val=val at entry=0x0) at routec:2004
#15 0x080db421 in eval_expr (e=0xb667539c, msg=msg at entry=0xb66aa29c, val=val at entry=0x0) at routec:2009
#16 0x080646fa in do_action (a=a at entry=0xb66754c8, msg=msg at entry=0xb66aa29c) at actionc:1111
#17 0x0806b722 in run_action_list (msg=0xb66aa29c, a=<optimized out>) at actionc:169
#18 run_actions (a=a at entry=0xb6660dac, msg=msg at entry=0xb66aa29c) at actionc:134
#19 0x0806c106 in run_actions (msg=0xb66aa29c, a=0xb6660dac) at actionc:127
#20 run_top_route (a=a at entry=0xb6660dac, msg=msg at entry=0xb66aa29c) at actionc:209
#21 0x080c5182 in receive_msg (
    buf=0x827c5e0 "INVITE sip:997101701111 at 1721617121 SIP/20\r\nVia: SIP/20/UDP 1721625335:5060;branch=z9hG4bKgQwBAxWsi;rport\r\nFrom: <sip:997101701108 at 1721617121>;tag=1~GfF8zam\r\nTo: sip:997101701111 at 17216171", len=<optimized out>, rcv_info=rcv_info at entry=0xbfa16260) at receivec:196
#22 0x081c3137 in udp_read_req (si=0xb665aaf8, bytes_read=0xbfa16328) at net/proto_udp/proto_udpc:190
#23 0x081b42d1 in handle_io (fm=<optimized out>, idx=<optimized out>, event_type=<optimized out>) at net/net_udpc:260
#24 handle_io (fm=<optimized out>, idx=<optimized out>, event_type=<optimized out>) at net/net_udpc:287
#25 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net//io_wait_looph:215
#26 udp_rcv_loop (si=si at entry=0xb665aaf8) at net/net_udpc:308
#27 0x081b6b01 in udp_start_processes (chd_rank=chd_rank at entry=0x823ff7c, startup_done=startup_done at entry=0x0) at net/net_udpc:448
#28 0x080603f6 in main_loop () at mainc:723
#29 main (argc=11, argv=0xbfa165d4) at mainc:1260
</pre>

I remain available for any further info you may need regarding it

Thank you

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/732
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151219/1dd351f8/attachment.htm>


More information about the Devel mailing list