<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Replied on GitHub [1]</tt></p>
<p><tt>[1]:
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/1094#issuecomment-297944064">https://github.com/OpenSIPS/opensips/issues/1094#issuecomment-297944064</a><br>
</tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit May 2017 Amsterdam
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a></pre>
<div class="moz-cite-prefix">On 27.04.2017 20:35,
<a class="moz-txt-link-abbreviated" href="mailto:volga629@networklab.ca">volga629@networklab.ca</a> wrote:<br>
</div>
<blockquote cite="mid:1493314550.4220.11@smtp.networklab.ca"
type="cite">Hello Everyone,
<div>I am not sure of it related to mid_registrar crash report,
but opensips segfaulting all the time.</div>
<div><br>
</div>
<div>Apr 27 13:21:19 casbc00 kernel: opensips[2130]: segfault at
48 ip 0000555606886480 sp 00007ffc3cbb2240 error 4 in
opensips[555606854000+21a000]</div>
<div>Apr 27 13:21:19 casbc00 audit: ANOM_ABEND auid=4294967295
uid=992 gid=992 ses=4294967295 pid=2130 comm="opensips"
exe="/usr/sbin/opensips" sig=11</div>
<div>Apr 27 13:21:19 casbc00 abrt-hook-ccpp: Process 2130
(opensips) of user 992 killed by SIGSEGV - ignoring (repeated
crash) </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>root@casbc00 ~>
[/var/spool/abrt/ccpp-2017-04-27-13:14:10-1695]# gdb coredump</div>
<div>GNU gdb (GDB) Fedora 7.12.1-48.fc25</div>
<div>Copyright (C) 2017 Free Software Foundation, Inc.</div>
<div>License GPLv3+: GNU GPL version 3 or later <<a
moz-do-not-send="true"
href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></div>
<div>This is free software: you are free to change and
redistribute it.</div>
<div>There is NO WARRANTY, to the extent permitted by law. Type
"show copying"</div>
<div>and "show warranty" for details.</div>
<div>This GDB was configured as "x86_64-redhat-linux-gnu".</div>
<div>Type "show configuration" for configuration details.</div>
<div>For bug reporting instructions, please see:</div>
<div><<a moz-do-not-send="true"
href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>.</div>
<div>Find the GDB manual and other documentation resources
online at:</div>
<div><<a moz-do-not-send="true"
href="http://www.gnu.org/software/gdb/documentation/">http://www.gnu.org/software/gdb/documentation/</a>>.</div>
<div>For help, type "help".</div>
<div>Type "apropos word" to search for commands related to
"word"...</div>
<div>[New LWP 1695]</div>
<div>Reading symbols from /usr/sbin/opensips...Reading symbols
from /usr/lib/debug/usr/sbin/opensips.debug...done.</div>
<div>done.</div>
<div><br>
</div>
<div>warning: Ignoring non-absolute filename:
<linux-vdso.so.1></div>
<div>Missing separate debuginfo for linux-vdso.so.1</div>
<div>Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/47/264ddd2cf2d08f1ff742a4f4484c30e5f23bc4</div>
<div>[Thread debugging using libthread_db enabled]</div>
<div>Using host libthread_db library "/lib64/libthread_db.so.1".</div>
<div>Core was generated by `/usr/sbin/opensips -P
/var/run/opensips/opensips.pid -f /etc/opensips/opensips.'.</div>
<div>Program terminated with signal SIGSEGV, Segmentation fault.</div>
<div>#0 crcitt_string_array (dst=dst@entry=0x7f8da2d1e161
<from_tag+33> "ff08", src=src@entry=0x40,
size=size@entry=1) at crc.c:225</div>
<div>225<span class="Apple-tab-span" style="white-space:pre"> </span>len=src[i].len;</div>
<div>Missing separate debuginfos, use: dnf debuginfo-install
cyrus-sasl-lib-2.1.26-26.2.fc24.x86_64
glibc-2.24-4.fc25.x86_64 keyutils-libs-1.5.9-8.fc24.x86_64
krb5-libs-1.14.4-7.fc25.x86_64 libcom_err-1.43.3-1.fc25.x86_64
libcrypt-nss-2.24-4.fc25.x86_64 libselinux-2.5-13.fc25.x86_64
libxml2-2.9.4-2.fc25.x86_64 nspr-4.13.1-1.fc25.x86_64
nss-3.29.3-1.1.fc25.x86_64
nss-softokn-freebl-3.29.5-1.0.fc25.x86_64
nss-util-3.29.5-1.0.fc25.x86_64 openldap-2.4.44-10.fc25.x86_64
openssl-libs-1.0.2k-1.fc25.x86_64 pcre-8.40-7.fc25.x86_64
postgresql-libs-9.5.6-1.fc25.x86_64
xz-libs-5.2.2-2.fc24.x86_64 zlib-1.2.8-10.fc24.x86_64</div>
<div>(gdb) bt</div>
<div>#0 crcitt_string_array (dst=dst@entry=0x7f8da2d1e161
<from_tag+33> "ff08", src=src@entry=0x40,
size=size@entry=1) at crc.c:225</div>
<div>#1 0x00007f8da2aabc75 in generate_fromtag
(tag=tag@entry=0x7ffdb3969830, callid=callid@entry=0x40) at
uac.c:118</div>
<div>#2 0x00007f8da2aa62b7 in new_auto_dlg_uac (_luri=0x30,
_turi=0x20, _ruri=0x0, callid=0x40, _sock=0x0,
_d=0x7ffdb39698b8) at dlg.c:210</div>
<div>#3 0x00007f8da15b70b2 in unregister_contact
(mri=mri@entry=0x0) at ulcb.c:84</div>
<div>#4 0x00007f8da15b7660 in mid_reg_ct_event
(binding=<optimized out>, type=<optimized out>,
data=<optimized out>) at ulcb.c:135</div>
<div>#5 0x00007f8da1c2b166 in run_ul_callbacks
(binding=0x7f8da7347988, type=8) at ul_callback.h:126</div>
<div>#6 wb_timer (ins_list=0x7f8da73313f0, _r=0x7f8da7347988)
at urecord.c:320</div>
<div>#7 timer_urecord (_r=_r@entry=0x7f8da73477d0,
ins_list=ins_list@entry=0x7f8da73313f0) at urecord.c:423</div>
<div>#8 0x00007f8da1c1cabb in mem_timer_udomain
(_d=<optimized out>) at udomain.c:1147</div>
<div>#9 0x00007f8da1c39351 in synchronize_all_udomains () at
dlist.c:803</div>
<div>#10 0x00007f8da1c39a30 in timer (ticks=<optimized
out>, param=<optimized out>) at ul_mod.c:518</div>
<div>#11 0x000055ff2a61a85a in handle_timer_job () at
timer.c:720</div>
<div>#12 0x000055ff2a6ea78b in handle_io (idx=<optimized
out>, event_type=<optimized out>, fm=<optimized
out>) at net/net_udp.c:264</div>
<div>#13 io_wait_loop_epoll (h=<optimized out>,
t=<optimized out>, repeat=<optimized out>) at
./io_wait_loop.h:229</div>
<div>#14 udp_start_processes (chd_rank=<optimized out>,
startup_done=<optimized out>) at net/net_udp.c:389</div>
<div>#15 0x000055ff2a5afa26 in main_loop () at main.c:677</div>
<div>#16 main (argc=<optimized out>, argv=<optimized
out>) at main.c:1283</div>
<div>(gdb) bt full</div>
<div>#0 crcitt_string_array (dst=dst@entry=0x7f8da2d1e161
<from_tag+33> "ff08", src=src@entry=0x40,
size=size@entry=1) at crc.c:225</div>
<div> i = <optimized out></div>
<div> ccitt = 65535</div>
<div> c = <optimized out></div>
<div> len = <optimized out></div>
<div> str_len = 4</div>
<div> __FUNCTION__ = "crcitt_string_array"</div>
<div>#1 0x00007f8da2aabc75 in generate_fromtag
(tag=tag@entry=0x7ffdb3969830, callid=callid@entry=0x40) at
uac.c:118</div>
<div>No locals.</div>
<div>#2 0x00007f8da2aa62b7 in new_auto_dlg_uac (_luri=0x30,
_turi=0x20, _ruri=0x0, callid=0x40, _sock=0x0,
_d=0x7ffdb39698b8) at dlg.c:210</div>
<div> fromtag = {s = 0x0, len = 0}</div>
<div> clid = {s = 0x0, len = 0}</div>
<div>#3 0x00007f8da15b70b2 in unregister_contact
(mri=mri@entry=0x0) at ulcb.c:84</div>
<div> dlg = 0x0</div>
<div> ret = <optimized out></div>
<div> __FUNCTION__ = "unregister_contact"</div>
<div>#4 0x00007f8da15b7660 in mid_reg_ct_event
(binding=<optimized out>, type=<optimized out>,
data=<optimized out>) at ulcb.c:135</div>
<div> c = <optimized out></div>
<div> mri = 0x0</div>
<div> __FUNCTION__ = "mid_reg_ct_event"</div>
<div>#5 0x00007f8da1c2b166 in run_ul_callbacks
(binding=0x7f8da7347988, type=8) at ul_callback.h:126</div>
<div> cbp = 0x7f8da72cd670</div>
<div> ct_extra_idx = 0</div>
<div> aor_extra_idx = 0</div>
<div> ele = 0x7f8da72cd688</div>
<div>#6 wb_timer (ins_list=0x7f8da73313f0, _r=0x7f8da7347988)
at urecord.c:320</div>
<div> old_state = <optimized out></div>
<div> ptr = 0x7f8da7347988</div>
<div> t = <optimized out></div>
<div> op = <optimized out></div>
<div> ins_done = <optimized out></div>
<div>#7 timer_urecord (_r=_r@entry=0x7f8da73477d0,
ins_list=ins_list@entry=0x7f8da73313f0) at urecord.c:423</div>
<div>No locals.</div>
<div>#8 0x00007f8da1c1cabb in mem_timer_udomain
(_d=<optimized out>) at udomain.c:1147</div>
<div> ptr = 0x7f8da73477d0</div>
<div> dest = <optimized out></div>
<div> i = 239</div>
<div> ret = <optimized out></div>
<div> flush = 0</div>
<div> it = {node = 0x0, map = 0x7f8da733d3e8}</div>
<div> prev = {node = 0x7f8da73478e8, map =
0x7f8da733d3e8}</div>
<div> __FUNCTION__ = "mem_timer_udomain"</div>
<div>#9 0x00007f8da1c39351 in synchronize_all_udomains () at
dlist.c:803</div>
<div> res = 0</div>
<div> ptr = 0x7f8da73312e8</div>
<div>#10 0x00007f8da1c39a30 in timer (ticks=<optimized
out>, param=<optimized out>) at ul_mod.c:518</div>
<div>---Type <return> to continue, or q <return> to
quit--- </div>
<div> __FUNCTION__ = "timer"</div>
<div>#11 0x000055ff2a61a85a in handle_timer_job () at
timer.c:720</div>
<div> t = 0x7f8da72a5538</div>
<div> l = <optimized out></div>
<div> __FUNCTION__ = "handle_timer_job"</div>
<div>#12 0x000055ff2a6ea78b in handle_io (idx=<optimized
out>, event_type=<optimized out>, fm=<optimized
out>) at net/net_udp.c:264</div>
<div>No locals.</div>
<div>#13 io_wait_loop_epoll (h=<optimized out>,
t=<optimized out>, repeat=<optimized out>) at
./io_wait_loop.h:229</div>
<div> ret = <optimized out></div>
<div> e = <optimized out></div>
<div> n = 1</div>
<div> r = 2</div>
<div>#14 udp_start_processes (chd_rank=<optimized out>,
startup_done=<optimized out>) at net/net_udp.c:389</div>
<div> si = <optimized out></div>
<div> load_p = 0x7f8da7346a30</div>
<div> pid = <optimized out></div>
<div> i = <optimized out></div>
<div> __FUNCTION__ = "udp_start_processes"</div>
<div>#15 0x000055ff2a5afa26 in main_loop () at main.c:677</div>
<div> startup_done = 0x0</div>
<div> chd_rank = 1</div>
<div> chd_rank = 1</div>
<div>#16 main (argc=<optimized out>, argv=<optimized
out>) at main.c:1283</div>
<div> cfg_stream = 0x55ff2bef5010</div>
<div> c = <optimized out></div>
<div> r = <optimized out></div>
<div> tmp = 0x7ffdb396bf14 ""</div>
<div> tmp_len = <optimized out></div>
<div> port = <optimized out></div>
<div> proto = <optimized out></div>
<div> protos_no = <optimized out></div>
<div> options = 0x55ff2a732678
"f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"</div>
<div> seed = 1966415379</div>
<div> rfd = <optimized out></div>
<div> __FUNCTION__ = "main"</div>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>