[OpenSIPS-Users] another crash

volga629 at networklab.ca volga629 at networklab.ca
Thu Apr 27 14:20:56 EDT 2017


Hello Everyone,
Here are another core dump which might help reproduce the issue.


root at casbc00 ~> [/var/spool/abrt/ccpp-2017-04-27-14:11:42-3791]# gdb 
coredump
GNU gdb (GDB) Fedora 7.12.1-48.fc25
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show 
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[New LWP 3791]
Reading symbols from /usr/sbin/opensips...Reading symbols from 
/usr/lib/debug/usr/sbin/opensips.debug...done.
done.

warning: Ignoring non-absolute filename: <linux-vdso.so.1>
Missing separate debuginfo for linux-vdso.so.1
Try: dnf --enablerepo='*debug*' install 
/usr/lib/debug/.build-id/47/264ddd2cf2d08f1ff742a4f4484c30e5f23bc4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/opensips -P 
/var/run/opensips/opensips.pid -f /etc/opensips/opensips.'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 crcitt_string_array (dst=dst at entry=0x7f95407b9161 <from_tag+33> 
"d88c", src=src at entry=0x40, size=size at entry=1) at crc.c:225
225	 len=src[i].len;
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
(gdb) bt
#0 crcitt_string_array (dst=dst at entry=0x7f95407b9161 <from_tag+33> 
"d88c", src=src at entry=0x40, size=size at entry=1) at crc.c:225
#1 0x00007f9540546c75 in generate_fromtag 
(tag=tag at entry=0x7ffd3f202460, callid=callid at entry=0x40) at uac.c:118
#2 0x00007f95405412b7 in new_auto_dlg_uac (_luri=0x30, _turi=0x20, 
_ruri=0x0, callid=0x40, _sock=0x0, _d=0x7ffd3f2024e8) at dlg.c:210
#3 0x00007f953f0520b2 in unregister_contact (mri=mri at entry=0x0) at 
ulcb.c:84
#4 0x00007f953f052660 in mid_reg_ct_event (binding=<optimized out>, 
type=<optimized out>, data=<optimized out>) at ulcb.c:135
#5 0x00007f953f6c818e in run_ul_callbacks (binding=0x7f9544de2908, 
type=4) at ul_callback.h:126
#6 delete_ucontact (_r=0x7f9544de20d0, _c=0x7f9544de2908, 
is_replicated=<optimized out>) at urecord.c:547
#7 0x00007f953f05c58d in save_rpl_contacts 
(req=req at entry=0x7f9544ded3e8, rpl=rpl at entry=0x7f9554ee2e40, 
mri=mri at entry=0x7f9544de9430, _a=_a at entry=0x7f9544de94a0, r=<optimized 
out>)
    at save.c:873
#8 0x00007f953f05df14 in mid_reg_resp_in (t=<optimized out>, 
type=<optimized out>, params=<optimized out>) at save.c:1339
#9 0x00007f95405767ed in run_trans_callbacks (type=type at entry=2, 
trans=0x7f9544deb940, req=<optimized out>, 
rpl=rpl at entry=0x7f9554ee2e40, code=<optimized out>) at t_hooks.c:209
#10 0x00007f954055d707 in t_reply_matching 
(p_msg=p_msg at entry=0x7f9554ee2e40, 
p_branch=p_branch at entry=0x7ffd3f20350c) at t_lookup.c:841
#11 0x00007f954055dca9 in t_check (p_msg=p_msg at entry=0x7f9554ee2e40, 
param_branch=param_branch at entry=0x7ffd3f20350c) at t_lookup.c:912
#12 0x00007f954053a620 in reply_received (p_msg=0x7f9554ee2e40) at 
t_reply.c:1386
#13 0x000055dcfeebcd48 in forward_reply (msg=msg at entry=0x7f9554ee2e40) 
at forward.c:495
#14 0x000055dcfee98217 in receive_msg (
    buf=0x55dcff2ad500 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
10.18.130.27:5060;branch=z9hG4bK0dc6.b7f974b7.0;i=826ab984\r\nVia: 
SIP/2.0/TCP 
192.168.88.164:48646;received=client_public_ip;branch=z9hG4bK-524287-1---3dd47b409313df76;rp"..., 
len=<optimized out>, rcv_info=rcv_info at entry=0x7ffd3f2036f0, 
existing_context=existing_context at entry=0x0) at receive.c:257
#15 0x000055dcfefd4753 in udp_read_req (si=<optimized out>, 
bytes_read=<optimized out>) at net/proto_udp/proto_udp.c:192
#16 0x000055dcfefbc70d in handle_io (idx=<optimized out>, 
event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:259
#17 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, 
repeat=<optimized out>) at ./io_wait_loop.h:229
#18 udp_start_processes (chd_rank=<optimized out>, 
startup_done=<optimized out>) at net/net_udp.c:389
#19 0x000055dcfee81a26 in main_loop () at main.c:677
#20 main (argc=<optimized out>, argv=<optimized out>) at main.c:1283
(gdb) bt full
#0 crcitt_string_array (dst=dst at entry=0x7f95407b9161 <from_tag+33> 
"d88c", src=src at entry=0x40, size=size at entry=1) at crc.c:225
        i = <optimized out>
        ccitt = 65535
        c = <optimized out>
        len = <optimized out>
        str_len = 4
        __FUNCTION__ = "crcitt_string_array"
#1 0x00007f9540546c75 in generate_fromtag 
(tag=tag at entry=0x7ffd3f202460, callid=callid at entry=0x40) at uac.c:118
No locals.
#2 0x00007f95405412b7 in new_auto_dlg_uac (_luri=0x30, _turi=0x20, 
_ruri=0x0, callid=0x40, _sock=0x0, _d=0x7ffd3f2024e8) at dlg.c:210
        fromtag = {s = 0x55dcff66a380 "dbv01.networklab.prod", len = 3}
        clid = {s = 0x7ffd3f2028b0 "", len = 1453871804}
#3 0x00007f953f0520b2 in unregister_contact (mri=mri at entry=0x0) at 
ulcb.c:84
        dlg = 0x8
        ret = <optimized out>
        __FUNCTION__ = "unregister_contact"
#4 0x00007f953f052660 in mid_reg_ct_event (binding=<optimized out>, 
type=<optimized out>, data=<optimized out>) at ulcb.c:135
        c = <optimized out>
        mri = 0x0
        __FUNCTION__ = "mid_reg_ct_event"
#5 0x00007f953f6c818e in run_ul_callbacks (binding=0x7f9544de2908, 
type=4) at ul_callback.h:126
        cbp = 0x7f9544d68670
        ct_extra_idx = 0
        aor_extra_idx = 0
        ele = 0x7f9544d68688
#6 delete_ucontact (_r=0x7f9544de20d0, _c=0x7f9544de2908, 
is_replicated=<optimized out>) at urecord.c:547
        __FUNCTION__ = "delete_ucontact"
#7 0x00007f953f05c58d in save_rpl_contacts 
(req=req at entry=0x7f9544ded3e8, rpl=rpl at entry=0x7f9554ee2e40, 
mri=mri at entry=0x7f9544de9430, _a=_a at entry=0x7f9544de94a0, r=<optimized 
out>)
    at save.c:873
        cti = <optimized out>
        ci = 0x7f953f271820 <ci>
        c = 0x7f9544de2908
        _c = 0x0
        __c = <optimized out>
        cflags = 0
        e = 0
        e_out = 1059071392
        e_max = 0
        tcp_check = 1
        uri = {user = {
            s = 0x7f9544dedd0e 
"4310 at client_public_ip:47032;rinstance=c4ba60e48dcdd3f4;transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID:"..., 
len = 4}, passwd = {s = 0x0, len = 0}, host = {
            s = 0x7f9544dedd13 
"client_public_ip:47032;rinstance=c4ba60e48dcdd3f4;transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
1413"..., len = 14}, port = {
            s = 0x7f9544dedd22 
"47032;rinstance=c4ba60e48dcdd3f4;transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
141351_rel51YTRkODA"..., len = 5}, params = {
---Type <return> to continue, or q <return> to quit---
            s = 0x7f9544dedd28 
"rinstance=c4ba60e48dcdd3f4;transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
141351_rel51YTRkODA5M2EzY"..., len = 40}, headers = {s = 0x0, len = 0}, 
port_no = 47032, proto = 2, type = SIP_URI_T, transport = {
            s = 0x7f9544dedd43 "transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
141351_rel51YTRkODA5M2EzY2IxY2M0ODRjZWYxNzI4NGNkNGY5"..., len = 13}, 
ttl = {s = 0x0, len = 0}, user_param = {s = 0x0, len = 0}, maddr = {s = 
0x0, len = 0}, method = {s = 0x0, len = 0},
          lr = {s = 0x0, len = 0}, r2 = {s = 0x0, len = 0}, gr = {s = 
0x0, len = 0}, transport_val = {
            s = 0x7f9544dedd4d "tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
141351_rel51YTRkODA5M2EzY2IxY2M0ODRjZWYxNzI4NGNkNGY5ZmE\r\nCSeq:"..., 
len = 3}, ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len 
= 0}, maddr_val = {s = 0x0, len = 0}, method_val = {
            s = 0x0, len = 0}, lr_val = {s = 0x0, len = 0}, r2_val = {s 
= 0x0, len = 0}, gr_val = {s = 0x0, len = 0}, u_name = {{
              s = 0x7f9544dedd28 
"rinstance=c4ba60e48dcdd3f4;transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
141351_rel51YTRkODA5M2EzY"..., len = 9}, {s = 0x0, len = 0}, {s = 0x0, 
len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, 
{s = 0x0,
              len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 
0x0, len = 0}}, u_val = {{
              s = 0x7f9544dedd32 
"c4ba60e48dcdd3f4;transport=tcp>;expires=0\r\nTo: 
\"volga629\"<sip:4310 at sip.company.tld>\r\nFrom: 
\"volga629\"<sip:4310 at sip.company.tld>;tag=b7cc571f\r\nCall-ID: 
141351_rel51YTRkODA5M2EzY2IxY2M0ODR"..., len = 16}, {s = 0x0, len = 0}, 
{s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, 
len = 0}, {s = 0x0,
              len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 
0x0, len = 0}}, u_params_no = 1}
        ct_uri = <optimized out>
        __FUNCTION__ = "save_rpl_contacts"
#8 0x00007f953f05df14 in mid_reg_resp_in (t=<optimized out>, 
type=<optimized out>, params=<optimized out>) at save.c:1339
        mri = 0x7f9544de9430
        rec = 0x7f9544de20d0
        rpl = 0x7f9554ee2e40
        req = 0x7f9544ded3e8
        code = <optimized out>
        __FUNCTION__ = "mid_reg_resp_in"
#9 0x00007f95405767ed in run_trans_callbacks (type=type at entry=2, 
trans=0x7f9544deb940, req=<optimized out>, 
rpl=rpl at entry=0x7f9554ee2e40, code=<optimized out>) at t_hooks.c:209
        params = {req = 0x7f9544ded3e8, rpl = 0x7f9554ee2e40, code = 
200, param = 0x7f9544deb710, extra1 = 0x0, extra2 = 0x0}
        cbp = 0x7f9544deb700
        backup = 0x55dcff299948 <global_avps>
        trans_backup = 0x7f9544deb940
        __FUNCTION__ = "run_trans_callbacks"
#10 0x00007f954055d707 in t_reply_matching 
(p_msg=p_msg at entry=0x7f9554ee2e40, 
p_branch=p_branch at entry=0x7ffd3f20350c) at t_lookup.c:841
        p_cell = 0x7f9544deb940
        hash_index = <optimized out>
        entry_label = <optimized out>
        branch_id = <optimized out>
        hashi = <optimized out>
        branchi = <optimized out>
        p = <optimized out>
        n = <optimized out>
        hashl = <optimized out>
        scan_space = <optimized out>
        cseq = 0x7f9554ee4958
        loopi = <optimized out>
        loopl = <optimized out>
        syni = <optimized out>
        synl = <optimized out>
        __FUNCTION__ = "t_reply_matching"
---Type <return> to continue, or q <return> to quit---
#11 0x00007f954055dca9 in t_check (p_msg=p_msg at entry=0x7f9554ee2e40, 
param_branch=param_branch at entry=0x7ffd3f20350c) at t_lookup.c:912
        local_branch = 21980
        __FUNCTION__ = "t_check"
#12 0x00007f954053a620 in reply_received (p_msg=0x7f9554ee2e40) at 
t_reply.c:1386
        msg_status = <optimized out>
        last_uac_status = <optimized out>
        branch = 0
        reply_status = <optimized out>
        timer = 140279351750208
        cancel_bitmap = 4280997814
        uac = <optimized out>
        t = <optimized out>
        backup_list = <optimized out>
        has_reply_route = <optimized out>
        __FUNCTION__ = "reply_received"
#13 0x000055dcfeebcd48 in forward_reply (msg=msg at entry=0x7f9554ee2e40) 
at forward.c:495
        new_buf = 0x0
        to = 0x0
        new_len = 1
        mod = 0x7f9554a38a80
        proto = <optimized out>
        id = 0
        send_sock = <optimized out>
        s = <optimized out>
        len = <optimized out>
        __FUNCTION__ = "forward_reply"
#14 0x000055dcfee98217 in receive_msg (
    buf=0x55dcff2ad500 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
10.18.130.27:5060;branch=z9hG4bK0dc6.b7f974b7.0;i=826ab984\r\nVia: 
SIP/2.0/TCP 
192.168.88.164:48646;received=client_public_ip;branch=z9hG4bK-524287-1---3dd47b409313df76;rp"..., 
len=<optimized out>, rcv_info=rcv_info at entry=0x7ffd3f2036f0, 
existing_context=existing_context at entry=0x0) at receive.c:257
        ctx = 0x7f9554ee3a88
        msg = 0x7f9554ee2e40
        start = {tv_sec = 0, tv_usec = 1}
        rc = 3
        in_buff = {
          s = 0x55dcff2ad500 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
10.18.130.27:5060;branch=z9hG4bK0dc6.b7f974b7.0;i=826ab984\r\nVia: 
SIP/2.0/TCP 
192.168.88.164:48646;received=client_public_ip;branch=z9hG4bK-524287-1---3dd47b409313df76;rp"..., 
len = 694}
        __FUNCTION__ = "receive_msg"
#15 0x000055dcfefd4753 in udp_read_req (si=<optimized out>, 
bytes_read=<optimized out>) at net/proto_udp/proto_udp.c:192
        ri = {src_ip = {af = 2, len = 4, u = {addrl = {444731914, 
1493316701}, addr32 = {444731914, 0, 1493316701, 0}, addr16 = {4618, 
6786, 0, 0, 13405, 22786, 0, 0},
              addr = 
"\n\022\202\032\000\000\000\000]4\002Y\000\000\000"}}, dst_ip = {af = 
2, len = 4, u = {addrl = {461509130, 0}, addr32 = {461509130, 0, 0, 0}, 
addr16 = {4618, 7042, 0,
                0, 0, 0, 0, 0}, addr = "\n\022\202\033", '\000' 
<repeats 11 times>}}, src_port = 5160, dst_port = 5060, proto = 1, 
proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = {
              sa_family = 2, sa_data = 
"\024(\n\022\202\032\000\000\000\000\000\000\000"}, sin = {sin_family = 
2, sin_port = 10260, sin_addr = {s_addr = 444731914},
              sin_zero = "\000\000\000\000\000\000\000"}, sin6 = 
{sin6_family = 2, sin6_port = 10260, sin6_flowinfo = 444731914, 
sin6_addr = {__in6_u = {
                  __u6_addr8 = 
"\000\000\000\000\000\000\000\000\360\256\004\377\334U\000", 
__u6_addr16 = {0, 0, 0, 0, 44784, 65284, 21980, 0}, __u6_addr32 = {0, 
0, 4278497008, 21980}}},
              sin6_scope_id = 4277061561}}, bind_address = 
0x7f9554a37c40}
        len = <optimized out>
---Type <return> to continue, or q <return> to quit---
        buf = "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
10.18.130.27:5060;branch=z9hG4bK0dc6.b7f974b7.0;i=826ab984\r\nVia: 
SIP/2.0/TCP 
192.168.88.164:48646;received=client_public_ip;branch=z9hG4bK-524287-1---3dd47b409313df76;rp"...
        fromlen = 16
        p = <optimized out>
        msg = {
          s = 0x55dcff2ad500 <buf> "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 
10.18.130.27:5060;branch=z9hG4bK0dc6.b7f974b7.0;i=826ab984\r\nVia: 
SIP/2.0/TCP 
192.168.88.164:48646;received=client_public_ip;branch=z9hG4bK-524287-1---3dd47b409313df76;rp"..., 
len = 694}
        __FUNCTION__ = "udp_read_req"
#16 0x000055dcfefbc70d in handle_io (idx=<optimized out>, 
event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:259
        read = 0
        fm = <optimized out>
#17 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, 
repeat=<optimized out>) at ./io_wait_loop.h:229
        ret = <optimized out>
        e = <optimized out>
        n = 1
        r = 0
#18 udp_start_processes (chd_rank=<optimized out>, 
startup_done=<optimized out>) at net/net_udp.c:389
        si = <optimized out>
        load_p = 0x7f9544de1b68
        pid = <optimized out>
        i = <optimized out>
        __FUNCTION__ = "udp_start_processes"
#19 0x000055dcfee81a26 in main_loop () at main.c:677
        startup_done = 0x0
        chd_rank = 3
        chd_rank = 3
#20 main (argc=<optimized out>, argv=<optimized out>) at main.c:1283
        cfg_stream = 0x55dcff640010
        c = <optimized out>
        r = <optimized out>
        tmp = 0x7ffd3f204f14 ""
        tmp_len = <optimized out>
        port = <optimized out>
        proto = <optimized out>
        protos_no = <optimized out>
        options = 0x55dcff004678 
"f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
        seed = 4115982100
        rfd = <optimized out>
        __FUNCTION__ = "main"
(gdb)

volga629

On Thu, 27 Apr, 2017 at 2:35 PM, volga629 at networklab.ca wrote:
> Hello Everyone,
> I am not sure of it related to mid_registrar crash report, but 
> opensips segfaulting all the time.
> 
> Apr 27 13:21:19 casbc00 kernel: opensips[2130]: segfault at 48 ip 
> 0000555606886480 sp 00007ffc3cbb2240 error 4 in 
> opensips[555606854000+21a000]
> 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
> Apr 27 13:21:19 casbc00 abrt-hook-ccpp: Process 2130 (opensips) of 
> user 992 killed by SIGSEGV - ignoring (repeated crash)
> 
> 
> 
> root at casbc00 ~> [/var/spool/abrt/ccpp-2017-04-27-13:14:10-1695]# gdb 
> coredump
> GNU gdb (GDB) Fedora 7.12.1-48.fc25
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show 
> copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> [New LWP 1695]
> Reading symbols from /usr/sbin/opensips...Reading symbols from 
> /usr/lib/debug/usr/sbin/opensips.debug...done.
> done.
> 
> warning: Ignoring non-absolute filename: <linux-vdso.so.1>
> Missing separate debuginfo for linux-vdso.so.1
> Try: dnf --enablerepo='*debug*' install 
> /usr/lib/debug/.build-id/47/264ddd2cf2d08f1ff742a4f4484c30e5f23bc4
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `/usr/sbin/opensips -P 
> /var/run/opensips/opensips.pid -f /etc/opensips/opensips.'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  crcitt_string_array (dst=dst at entry=0x7f8da2d1e161 <from_tag+33> 
> "ff08", src=src at entry=0x40, size=size at entry=1) at crc.c:225
> 225			len=src[i].len;
> 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
> (gdb) bt
> #0  crcitt_string_array (dst=dst at entry=0x7f8da2d1e161 <from_tag+33> 
> "ff08", src=src at entry=0x40, size=size at entry=1) at crc.c:225
> #1  0x00007f8da2aabc75 in generate_fromtag 
> (tag=tag at entry=0x7ffdb3969830, callid=callid at entry=0x40) at uac.c:118
> #2  0x00007f8da2aa62b7 in new_auto_dlg_uac (_luri=0x30, _turi=0x20, 
> _ruri=0x0, callid=0x40, _sock=0x0, _d=0x7ffdb39698b8) at dlg.c:210
> #3  0x00007f8da15b70b2 in unregister_contact (mri=mri at entry=0x0) at 
> ulcb.c:84
> #4  0x00007f8da15b7660 in mid_reg_ct_event (binding=<optimized out>, 
> type=<optimized out>, data=<optimized out>) at ulcb.c:135
> #5  0x00007f8da1c2b166 in run_ul_callbacks (binding=0x7f8da7347988, 
> type=8) at ul_callback.h:126
> #6  wb_timer (ins_list=0x7f8da73313f0, _r=0x7f8da7347988) at 
> urecord.c:320
> #7  timer_urecord (_r=_r at entry=0x7f8da73477d0, 
> ins_list=ins_list at entry=0x7f8da73313f0) at urecord.c:423
> #8  0x00007f8da1c1cabb in mem_timer_udomain (_d=<optimized out>) at 
> udomain.c:1147
> #9  0x00007f8da1c39351 in synchronize_all_udomains () at dlist.c:803
> #10 0x00007f8da1c39a30 in timer (ticks=<optimized out>, 
> param=<optimized out>) at ul_mod.c:518
> #11 0x000055ff2a61a85a in handle_timer_job () at timer.c:720
> #12 0x000055ff2a6ea78b in handle_io (idx=<optimized out>, 
> event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:264
> #13 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, 
> repeat=<optimized out>) at ./io_wait_loop.h:229
> #14 udp_start_processes (chd_rank=<optimized out>, 
> startup_done=<optimized out>) at net/net_udp.c:389
> #15 0x000055ff2a5afa26 in main_loop () at main.c:677
> #16 main (argc=<optimized out>, argv=<optimized out>) at main.c:1283
> (gdb) bt full
> #0  crcitt_string_array (dst=dst at entry=0x7f8da2d1e161 <from_tag+33> 
> "ff08", src=src at entry=0x40, size=size at entry=1) at crc.c:225
>         i = <optimized out>
>         ccitt = 65535
>         c = <optimized out>
>         len = <optimized out>
>         str_len = 4
>         __FUNCTION__ = "crcitt_string_array"
> #1  0x00007f8da2aabc75 in generate_fromtag 
> (tag=tag at entry=0x7ffdb3969830, callid=callid at entry=0x40) at uac.c:118
> No locals.
> #2  0x00007f8da2aa62b7 in new_auto_dlg_uac (_luri=0x30, _turi=0x20, 
> _ruri=0x0, callid=0x40, _sock=0x0, _d=0x7ffdb39698b8) at dlg.c:210
>         fromtag = {s = 0x0, len = 0}
>         clid = {s = 0x0, len = 0}
> #3  0x00007f8da15b70b2 in unregister_contact (mri=mri at entry=0x0) at 
> ulcb.c:84
>         dlg = 0x0
>         ret = <optimized out>
>         __FUNCTION__ = "unregister_contact"
> #4  0x00007f8da15b7660 in mid_reg_ct_event (binding=<optimized out>, 
> type=<optimized out>, data=<optimized out>) at ulcb.c:135
>         c = <optimized out>
>         mri = 0x0
>         __FUNCTION__ = "mid_reg_ct_event"
> #5  0x00007f8da1c2b166 in run_ul_callbacks (binding=0x7f8da7347988, 
> type=8) at ul_callback.h:126
>         cbp = 0x7f8da72cd670
>         ct_extra_idx = 0
>         aor_extra_idx = 0
>         ele = 0x7f8da72cd688
> #6  wb_timer (ins_list=0x7f8da73313f0, _r=0x7f8da7347988) at 
> urecord.c:320
>         old_state = <optimized out>
>         ptr = 0x7f8da7347988
>         t = <optimized out>
>         op = <optimized out>
>         ins_done = <optimized out>
> #7  timer_urecord (_r=_r at entry=0x7f8da73477d0, 
> ins_list=ins_list at entry=0x7f8da73313f0) at urecord.c:423
> No locals.
> #8  0x00007f8da1c1cabb in mem_timer_udomain (_d=<optimized out>) at 
> udomain.c:1147
>         ptr = 0x7f8da73477d0
>         dest = <optimized out>
>         i = 239
>         ret = <optimized out>
>         flush = 0
>         it = {node = 0x0, map = 0x7f8da733d3e8}
>         prev = {node = 0x7f8da73478e8, map = 0x7f8da733d3e8}
>         __FUNCTION__ = "mem_timer_udomain"
> #9  0x00007f8da1c39351 in synchronize_all_udomains () at dlist.c:803
>         res = 0
>         ptr = 0x7f8da73312e8
> #10 0x00007f8da1c39a30 in timer (ticks=<optimized out>, 
> param=<optimized out>) at ul_mod.c:518
> ---Type <return> to continue, or q <return> to quit---
>         __FUNCTION__ = "timer"
> #11 0x000055ff2a61a85a in handle_timer_job () at timer.c:720
>         t = 0x7f8da72a5538
>         l = <optimized out>
>         __FUNCTION__ = "handle_timer_job"
> #12 0x000055ff2a6ea78b in handle_io (idx=<optimized out>, 
> event_type=<optimized out>, fm=<optimized out>) at net/net_udp.c:264
> No locals.
> #13 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, 
> repeat=<optimized out>) at ./io_wait_loop.h:229
>         ret = <optimized out>
>         e = <optimized out>
>         n = 1
>         r = 2
> #14 udp_start_processes (chd_rank=<optimized out>, 
> startup_done=<optimized out>) at net/net_udp.c:389
>         si = <optimized out>
>         load_p = 0x7f8da7346a30
>         pid = <optimized out>
>         i = <optimized out>
>         __FUNCTION__ = "udp_start_processes"
> #15 0x000055ff2a5afa26 in main_loop () at main.c:677
>         startup_done = 0x0
>         chd_rank = 1
>         chd_rank = 1
> #16 main (argc=<optimized out>, argv=<optimized out>) at main.c:1283
>         cfg_stream = 0x55ff2bef5010
>         c = <optimized out>
>         r = <optimized out>
>         tmp = 0x7ffdb396bf14 ""
>         tmp_len = <optimized out>
>         port = <optimized out>
>         proto = <optimized out>
>         protos_no = <optimized out>
>         options = 0x55ff2a732678 
> "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
>         seed = 1966415379
>         rfd = <optimized out>
>         __FUNCTION__ = "main"
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170427/bfb9c2b4/attachment-0001.html>


More information about the Users mailing list