<p>Hi, how are you?</p>
<p>We having trouble with module called <em>"internal_search_ID_avp"</em> of OpenSIPS. I dont know what it do or what it means. I believe that make diference for troubleshooting, because the last line writed on the dump file is bellow:</p>
<blockquote>
<p>#0 internal_search_ID_avp (flags=, id=55, val=0x7fffc93e3ab0, start=0x0) at usr_avp.c:316<br>
No locals.</p>
</blockquote>
<p>To support you on analisys I leave bellow all the log available on the server at the moment of incident:</p>
<p>Dump file:</p>
<blockquote>
<p>#0 internal_search_ID_avp (flags=, id=55, val=0x7fffc93e3ab0, start=0x0) at usr_avp.c:316<br>
No locals.<br>
<a href="https://github.com/OpenSIPS/opensips/issues/1" class="issue-link" title="Dummy ticket">#1</a> search_first_avp (flags=, id=55, val=0x7fffc93e3ab0, start=0x0) at usr_avp.c:354<br>
head = <br>
avp = <br>
<a href="https://github.com/OpenSIPS/opensips/issues/2" class="issue-link" title="Dummy issue">#2</a> 0x00007ff1bda12ccf in avp2timer (timer=0x7fffc93e3b98) at t_funcs.c:334<br>
avp = <br>
val_istr = {n = 7923048, s = {s = 0x78e568 "x\264Ox\361\177", len = 0}}<br>
err = <br>
<a href="https://github.com/OpenSIPS/opensips/pull/3" class="issue-link" title="Compilation problem under CentOS 6">#3</a> fr_inv_avp2timer (timer=0x7fffc93e3b98) at t_funcs.c:364<br>
No locals.<br>
<a href="https://github.com/OpenSIPS/opensips/pull/4" class="issue-link" title="Compilation problem under CentOS 6">#4</a> 0x00007ff1bda35f30 in reply_received (p_msg=0x7ff1be4bd558) at t_reply.c:1574<br>
msg_status = <br>
last_uac_status = 0<br>
branch = 3<br>
reply_status = <br>
timer = <br>
cancel_bitmap = 0<br>
uac = 0x7ff18c501ae8<br>
t = 0x7ff18c501310<br>
backup_list = 0x7c2f00<br>
has_reply_route = <br>
<strong>FUNCTION</strong> = "reply_received"<br>
<a href="https://github.com/OpenSIPS/opensips/pull/5" class="issue-link" title="spec file update to CentOS 6">#5</a> 0x0000000000429041 in forward_reply (msg=0x7ff1be4bd558) at forward.c:575<br>
new_buf = 0x0<br>
to = 0x0<br>
new_len = <br>
mod = 0x7ff1be28d600<br>
proto = <br>
id = 0<br>
send_sock = <br>
s = <br>
len = <br>
<strong>FUNCTION</strong> = "forward_reply"<br>
<a href="https://github.com/OpenSIPS/opensips/issues/6" class="issue-link" title="Wrong password column used for authentication">#6</a> 0x0000000000475396 in receive_msg (buf=, len=411, rcv_info=0x7fffc93e3d50) at receive.c:209<br>
msg = 0x7ff1be4bd558<br>
---Type to continue, or q to quit---<br>
start = {tv_sec = 0, tv_usec = 7671266592}<br>
tmp = <br>
<strong>FUNCTION</strong> = "receive_msg"<br>
<a href="https://github.com/OpenSIPS/opensips/pull/7" class="issue-link" title="b2bua: Add AVP-based authentication">#7</a> 0x00000000004cfce1 in udp_rcv_loop () at udp_server.c:424<br>
len = <br>
buf = "SIP/2.0 100 Trying\r\nVia: SIP/2.0/UDP 177.39.216.160:5060;branch=z9hG4bKa97d.0e440364.3\r\nVia: SIP/2.0/UDP 200.169.5.99:5060;received=200.169.5.99;branch=z9hG4bK01FD8386131479B51B06612381C1F4DA;rport=50"...<br>
tmp = <br>
from = 0x7ff1be4bd520<br>
fromlen = 16<br>
ri = {src_ip = {af = 2, len = 4, u = {addrl = {2262312881, 269372426176}, addr32 = {2262312881, 0, 3084453824, 62}, addr16 = {10161, 34520, <br>
0, 0, 1984, 47065, 62, 0}, addr = "\261'؆\000\000\000\000\300\aٷ>\000\000"}}, dst_ip = {af = 2, len = 4, u = {addrl = {2698520497, <br>
0}, addr32 = {2698520497, 0, 0, 0}, addr16 = {10161, 41176, 0, 0, 0, 0, 0, 0}, addr = "\261'\330\240", '\000' }}, <br>
src_port = 5060, dst_port = 5060, proto = 1, proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {sa_family = 2, <br>
sa_data = "\023ı'؆\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 50195, sin_addr = {s_addr = 2262312881}, <br>
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 2262312881, sin6_addr = {<br>
<strong>in6_u = {__u6_addr8 = '\000' , __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, <br>
sin6_scope_id = 0}}, bind_address = 0x7ff1be28ce38}<br>
p = <br>
msg = {<br>
s = 0x7b2ee0 "SIP/2.0 100 Trying\r\nVia: SIP/2.0/UDP 177.39.216.160:5060;branch=z9hG4bKa97d.0e440364.3\r\nVia: SIP/2.0/UDP 200.169.5.99:5060;received=200.169.5.99;branch=z9hG4bK01FD8386131479B51B06612381C1F4DA;rport=50"..., len = 411}<br>
__FUNCTION</strong> = "udp_rcv_loop"<br>
<a href="https://github.com/OpenSIPS/opensips/issues/8" class="issue-link" title="Flag to set string to lower for RURI/From/To/Contact">#8</a> 0x0000000000431a60 in main_loop (argc=, argv=) at main.c:884<br>
i = <br>
pid = <br>
si = <br>
startup_done = 0x7ff1787f63c8<br>
chd_rank = 3<br>
rc = <br>
load_p = 0x7ff1787f63e8<br>
<a href="https://github.com/OpenSIPS/opensips/issues/9" class="issue-link" title="segfault on fm_malloc">#9</a> main (argc=, argv=) at main.c:1557<br>
cfg_log_stderr = <br>
cfg_stream = <br>
c = <br>
r = <br>
---Type to continue, or q to quit---<br>
tmp = 0x7fffc93e47d3 ""<br>
tmp_len = <br>
port = <br>
proto = <br>
options = 0x5452b8 "f:cCm:M<img class="emoji" title=":b:" alt=":b:" src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f171.png" height="20" width="20" align="absmiddle">l:n:N:rRvdDETSVhw:t:u:g:P:G:W<img class="emoji" title=":o:" alt=":o:" src="https://assets-cdn.github.com/images/icons/emoji/unicode/2b55.png" height="20" width="20" align="absmiddle">"<br>
ret = -1<br>
seed = 2730561089<br>
rfd = <br>
<strong>FUNCTION</strong> = "main"</p>
</blockquote>
<p>Syslog:</p>
<blockquote>
<p>Aug 8 11:29:24 proxy /sbin/opensips[39316]: CRITICAL:core:receive_fd: EOF on 16<br>
Aug 8 11:29:24 proxy /sbin/opensips[39316]: CRITICAL:core:receive_fd: EOF on 16<br>
Aug 8 11:29:24 proxy /sbin/opensips[39285]: NOTICE:dns_cache:destroy: destroy module dns_cache ...<br>
Aug 8 11:29:24 proxy /sbin/opensips[39285]: NOTICE:event_rabbitmq:destroy: destroy module ...<br>
Aug 8 11:29:24 proxy /sbin/opensips[39285]: NOTICE:dns_cache:destroy: destroy module dns_cache ...<br>
Aug 8 11:29:24 proxy /sbin/opensips[39285]: NOTICE:event_rabbitmq:destroy: destroy module ...</p>
</blockquote>
<p>Please note, I have <em>monit</em> installed e configured on the server and even after the application crashes, the <em>monit</em> don't restablished the application.</p>
<p>Monit configuration:</p>
<blockquote>
<p>check process opensips with pidfile /var/run/opensips.pid<br>
start program = "service opensips start" with timeout 60 seconds<br>
stop program = "service opensips stop"</p>
</blockquote>
<p>If you need additional information, please contact me.<br>
Best regards.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/600">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcieoOsno0105flC1VddOBDWyuq9tvks5onJUMgaJpZM4Fq82K.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/600"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>