<p>I have updated opensips to v2.1.1 Git Rev. <a href="https://github.com/OpenSIPS/opensips/commit/4c775f2b63c4e7def59654cd70f30934d8e08e10" class="commit-link"><tt>4c775f2</tt></a>. I still have crash through frequency is a bit reduced now, previously it was crashing on every call, now it crashes every 2nd or 3rd call. I see two core dumps, here are their back traces.</p>

<p>Contents of core.opensips.8051.loadbalancer-dev.1452761363,<br>
</p><p></p><pre><br>
GNU gdb (GDB) 7.4.1-debian<br>
Copyright (C) 2012 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "i486-linux-gnu".<br>
For bug reporting instructions, please see:<br>
<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>...<br>
Reading symbols from /usr/local/adx-ipc/sbin/opensips...done.<br>
[New LWP 8051]<p></p>

<p>warning: Can't read pathname for load map: Input/output error.<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".<br>
Core was generated by `/usr/local/adx-ipc/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -'.<br>
Program terminated with signal 11, Segmentation fault.<br>
#0  0xb712c9e2 in tsl (lock=0x0) at ../../mem/../fastlock.h:86<br>
86      asm volatile(<br>
(gdb) bt<br>
#0  0xb712c9e2 in tsl (lock=0x0) at ../../mem/../fastlock.h:86<br>
#1  get_lock (lock=) at ../../mem/../fastlock.h:176<br>
#2  _lock (s=) at lock.h:100<br>
#3  set_timer (ext_timeout=0xbfa9b7c8, list_id=FR_INV_TIMER_LIST, new_tl=0xb2c211d0) at timer.c:907<br>
#4  set_timer (new_tl=new_tl@entry=0xb2c211d0, list_id=list_id@entry=FR_INV_TIMER_LIST, ext_timeout=ext_timeout@entry=0xbfa9b7c8) at timer.c:884<br>
#5  0xb714b800 in reply_received (p_msg=0xb71c7300) at t_reply.c:1535<br>
#6  0x080823e2 in forward_reply (msg=msg@entry=0xb71c7300) at forward.c:517<br>
#7  0x080c4977 in receive_msg (<br>
    buf=0x827c720 "SIP/2.0 100 Trying\r\nVia: SIP/2.0/UDP 172.16.171.21:5060;branch=z9hG4bKc4b9.a142e77.0;received=172.16.171.21\r\nVia: SIP/2.0/UDP 192.168.1.21:6000;received=172.16.253.35;rport=6000;branch=z9hG4bK17684605"..., len=, rcv_info=rcv_info@entry=0xbfa9b930) at receive.c:243<br>
#8  0x081c3227 in udp_read_req (si=0xb7177af8, bytes_read=0xbfa9b9f8) at net/proto_udp/proto_udp.c:190<br>
#9  0x081b43c1 in handle_io (fm=, idx=, event_type=) at net/net_udp.c:260<br>
#10 handle_io (fm=, idx=, event_type=) at net/net_udp.c:287<br>
#11 io_wait_loop_epoll (h=, t=, repeat=) at net/../io_wait_loop.h:215<br>
#12 udp_rcv_loop (si=si@entry=0xb7177af8) at net/net_udp.c:308<br>
#13 0x081b6bf1 in udp_start_processes (chd_rank=chd_rank@entry=0x82400bc, startup_done=startup_done@entry=0x0) at net/net_udp.c:448<br>
#14 0x080603f6 in main_loop () at main.c:723<br>
#15 main (argc=11, argv=0xbfa9bca4) at main.c:1260<br>
</p></pre><p></p>

<p>Contents of core.opensips.8052.loadbalancer-dev.1452761363,</p>

<p></p><p></p><pre><br>
GNU gdb (GDB) 7.4.1-debian<br>
Copyright (C) 2012 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "i486-linux-gnu".<br>
For bug reporting instructions, please see:<br>
<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>...<br>
Reading symbols from /usr/local/adx-ipc/sbin/opensips...done.<br>
[New LWP 8052]<p></p>

<p>warning: Can't read pathname for load map: Input/output error.<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".<br>
Core was generated by `/usr/local/adx-ipc/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -'.<br>
Program terminated with signal 11, Segmentation fault.<br>
#0  0xb712c9e2 in tsl (lock=0x0) at ../../mem/../fastlock.h:86<br>
86      asm volatile(<br>
(gdb) bt<br>
#0  0xb712c9e2 in tsl (lock=0x0) at ../../mem/../fastlock.h:86<br>
#1  get_lock (lock=) at ../../mem/../fastlock.h:176<br>
#2  _lock (s=) at lock.h:100<br>
#3  set_timer (ext_timeout=0x0, list_id=RT_T1_TO_1, new_tl=0xb2c211b4) at timer.c:907<br>
#4  set_timer (new_tl=new_tl@entry=0xb2c211b4, list_id=list_id@entry=RT_T1_TO_1, ext_timeout=0x0, ext_timeout@entry=0x1) at timer.c:884<br>
#5  0xb71298b0 in _set_fr_retr (retr=, rb=0xb2c21180) at t_funcs.h:137<br>
#6  start_retr (rb=0xb2c21180) at t_funcs.h:151<br>
#7  t_forward_nonack (t=t@entry=0xb2c21068, p_msg=p_msg@entry=0xb71c6e44, proxy=proxy@entry=0x0) at t_fwd.c:736<br>
#8  0xb712503d in t_relay_to (p_msg=p_msg@entry=0xb71c6e44, proxy=proxy@entry=0x0, flags=flags@entry=0) at t_funcs.c:247<br>
#9  0xb713c244 in w_t_relay (p_msg=0xb71c6e44, proxy=0x0, flags=0x0) at tm.c:1213<br>
#10 0x0806441c in do_action (a=a@entry=0xb7192344, msg=msg@entry=0xb71c6e44) at action.c:1862<br>
#11 0x0806bd34 in run_action_list (a=0xb7192344, msg=msg@entry=0xb71c6e44) at action.c:169<br>
#12 0x080dbb48 in eval_elem (e=0xb71923b8, msg=msg@entry=0xb71c6e44, val=val@entry=0x0) at route.c:1643<br>
#13 0x080db439 in eval_expr (e=0xb71923b8, msg=msg@entry=0xb71c6e44, val=val@entry=0x0) at route.c:1988<br>
#14 0x080db567 in eval_expr (e=0xb71923e4, msg=msg@entry=0xb71c6e44, val=val@entry=0x0) at route.c:2004<br>
#15 0x080db421 in eval_expr (e=0xb7192410, msg=msg@entry=0xb71c6e44, val=val@entry=0x0) at route.c:2009<br>
#16 0x080646fa in do_action (a=a@entry=0xb719253c, msg=msg@entry=0xb71c6e44) at action.c:1111<br>
#17 0x0806b722 in run_action_list (msg=0xb71c6e44, a=) at action.c:169<br>
#18 run_actions (a=a@entry=0xb717ddac, msg=msg@entry=0xb71c6e44) at action.c:134<br>
#19 0x0806c106 in run_actions (msg=0xb71c6e44, a=0xb717ddac) at action.c:127<br>
#20 run_top_route (a=a@entry=0xb717ddac, msg=msg@entry=0xb71c6e44) at action.c:209<br>
#21 0x080c5182 in receive_msg (<br>
    buf=0x827c720 "INVITE sip:997101701101@172.16.171.21 SIP/2.0\r\nVia: SIP/2.0/UDP 192.168.1.21:6000;rport;branch=z9hG4bK1768460587\r\nFrom: sip:997101701108@172.16.171.21;tag=1885834922\r\nTo: , rcv_info=rcv_info@entry=0xbfa9b930) at receive.c:196<br>
#22 0x081c3227 in udp_read_req (si=0xb7177af8, bytes_read=0xbfa9b9f8) at net/proto_udp/proto_udp.c:190<br>
#23 0x081b43c1 in handle_io (fm=, idx=, event_type=) at net/net_udp.c:260<br>
#24 handle_io (fm=, idx=, event_type=) at net/net_udp.c:287<br>
#25 io_wait_loop_epoll (h=, t=, repeat=) at net/../io_wait_loop.h:215<br>
#26 udp_rcv_loop (si=si@entry=0xb7177af8) at net/net_udp.c:308<br>
#27 0x081b6bf1 in udp_start_processes (chd_rank=chd_rank@entry=0x82400bc, startup_done=startup_done@entry=0x0) at net/net_udp.c:448<br>
#28 0x080603f6 in main_loop () at main.c:723<br>
#29 main (argc=11, argv=0xbfa9bca4) at main.c:1260<br>
</p></pre><p></p>

<p>Let me know if you need more info.</p>

<p>Thank you.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/732#issuecomment-171577651">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciYHm911JQRCjXMRCJ3tc-q5PuUiGks5pZ1uJgaJpZM4G4sVG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/732#issuecomment-171577651"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>