[OpenSIPS-Users] core dump when use mi_xmlrpc module

chow zhouxiaoqiang.mstech at gmail.com
Wed Oct 22 12:23:27 CEST 2014


   there have twice core dump file log:
   
   [root at localhost opensips]# gdb core.13897 
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/opensips...Reading symbols from
/usr/lib/debug/usr/sbin/opensips.debug...done.
done.
[New Thread 14099]
[New Thread 13897]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib64/opensips/modules/signaling.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/signaling.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/signaling.so
Reading symbols from /usr/lib64/opensips/modules/sl.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/sl.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/sl.so
Reading symbols from /usr/lib64/opensips/modules/tm.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/tm.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/tm.so
Reading symbols from /usr/lib64/opensips/modules/rr.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/rr.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/rr.so
Reading symbols from /usr/lib64/opensips/modules/maxfwd.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/maxfwd.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/maxfwd.so
Reading symbols from /usr/lib64/opensips/modules/sipmsgops.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/sipmsgops.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/sipmsgops.so
Reading symbols from /usr/lib64/opensips/modules/mi_fifo.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/mi_fifo.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/mi_fifo.so
Reading symbols from /usr/lib64/opensips/modules/mi_xmlrpc.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/mi_xmlrpc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/mi_xmlrpc.so
Reading symbols from /usr/lib64/opensips/modules/uri.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/uri.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/uri.so
Reading symbols from /usr/lib64/opensips/modules/usrloc.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/usrloc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/usrloc.so
Reading symbols from /usr/lib64/opensips/modules/registrar.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/registrar.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/registrar.so
Reading symbols from /usr/lib64/opensips/modules/acc.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/acc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/acc.so
Reading symbols from /usr/lib64/opensips/modules/textops.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/textops.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/textops.so
Reading symbols from /usr/lib64/opensips/modules/db_mysql.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/db_mysql.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/db_mysql.so
Reading symbols from /usr/lib64/opensips/modules/avpops.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/avpops.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/avpops.so
Reading symbols from /usr/lib64/opensips/modules/auth.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/auth.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/auth.so
Reading symbols from /usr/lib64/opensips/modules/auth_db.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/auth_db.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/auth_db.so
Reading symbols from /usr/lib64/opensips/modules/domain.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/domain.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/domain.so
Reading symbols from /usr/lib64/opensips/modules/permissions.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/permissions.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/permissions.so
Reading symbols from /usr/lib64/opensips/modules/alias_db.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/alias_db.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/alias_db.so
Reading symbols from /usr/lib64/opensips/modules/stun.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/stun.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/stun.so
Reading symbols from /usr/lib64/opensips/modules/dialog.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/dialog.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/dialog.so
Reading symbols from /usr/lib64/opensips/modules/sst.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/sst.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/sst.so
Reading symbols from /usr/lib64/opensips/modules/msilo.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/msilo.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/msilo.so
Reading symbols from /usr/lib64/opensips/modules/nathelper.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/nathelper.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/nathelper.so
Reading symbols from /usr/lib64/opensips/modules/mi_datagram.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/mi_datagram.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/mi_datagram.so
Reading symbols from /usr/lib64/opensips/modules/xcap.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/xcap.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/xcap.so
Reading symbols from /usr/lib64/opensips/modules/presence.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence.so
Reading symbols from /usr/lib64/opensips/modules/presence_xml.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence_xml.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence_xml.so
Reading symbols from /usr/lib64/opensips/modules/presence_mwi.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence_mwi.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence_mwi.so
Reading symbols from /usr/lib64/opensips/modules/pua.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/pua.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/pua.so
Reading symbols from /usr/lib64/opensips/modules/pua_usrloc.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/pua_usrloc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/pua_usrloc.so
Reading symbols from /usr/lib64/opensips/modules/pua_mi.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/pua_mi.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/pua_mi.so
Reading symbols from
/usr/lib64/opensips/modules/presence_xcapdiff.so...Reading symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence_xcapdiff.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence_xcapdiff.so
Reading symbols from /usr/lib64/opensips/modules/rls.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/rls.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/rls.so

warning: Can't read pathname for load map: Input/output error.

warning: Can't read pathname for load map: Input/output error.
Core was generated by `/usr/sbin/opensips -P /var/run/opensips/opensips.pid
-m 4096 -M 128 -w /var/log'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004ec4c7 in fm_remove_free (qm=0x7fc1a1c59010, size=24) at
mem/f_malloc.c:172
172             *pf=n->u.nxt_free;
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64
krb5-libs-1.10.3-15.el6_5.1.x86_64 libcom_err-1.41.12-18.el6_5.1.x86_64
libgcc-4.4.7-4.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64
libxml2-2.7.6-14.el6.x86_64 mysql-libs-5.1.71-1.el6.x86_64
nss-softokn-freebl-3.14.3-9.el6.x86_64 openssl-1.0.1e-15.el6.x86_64
xmlrpc-c-1.16.24-1210.1840.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0  0x00000000004ec4c7 in fm_remove_free (qm=0x7fc1a1c59010, size=24) at
mem/f_malloc.c:172
        pf = 0x0
        hash = 3
#1  fm_malloc (qm=0x7fc1a1c59010, size=24) at mem/f_malloc.c:383
        frag = 0x7fc1a1c95838
        n = <value optimized out>
        hash = <value optimized out>
        __FUNCTION__ = "fm_malloc"
#2  0x00007fc1a15fab1b in new_str (cmd_tree=0x7fc1a1c959a8, param=<value
optimized out>) at mi.c:108
        new = <value optimized out>
#3  get_hfblock (cmd_tree=0x7fc1a1c959a8, param=<value optimized out>) at
mi.c:150
        i = <value optimized out>
        frag_len = <value optimized out>
        begin = 0x7fc090006b5d "P-ICast-Message-Expire: 7200\n"
        dst = <value optimized out>
        ret = 0x0
        portname = 0x0
        sl = {s = {s = 0x7fc09c8b5640 "\220k", len = -1668590008}, next =
0x7fc1a1c95850}
        total_len = 24
        sock_name = 0x0
        to_su = {s = {sa_family = 51235, sa_data =
"\272\240\301\177\000\000\000\000\000\000\000\000\000"}, sin = {
            sin_family = 51235, sin_port = 41146, sin_addr = {s_addr =
32705}, 
            sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family
= 51235, sin6_port = 41146, 
            sin6_flowinfo = 32705, sin6_addr = {__in6_u = {
                __u6_addr8 =
"\000\000\000\000\000\000\000\000\220k\000\220\300\177\000", __u6_addr16 =
{0, 0, 0, 0, 
                  27536, 36864, 32704, 0}, __u6_addr32 = {0, 0, 2415946640,
32704}}}, sin6_scope_id = 287}}
        foo = <value optimized out>
        last = 0x7fc1a1c95850
        hf_avail = 29
        needle = <value optimized out>
        d = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#4  mi_tm_uac_dlg (cmd_tree=0x7fc1a1c959a8, param=<value optimized out>) at
mi.c:491
        err_buf = '\000' <repeats 127 times>
        tmp_msg = {id = 0, first_line = {type = 0, len = 0, u = {request =
{method = {s = 0x0, len = 0}, uri = {
                  s = 0x0, len = 0}, version = {s = 0x0, len = 0},
method_value = 0}, reply = {version = {s = 0x0, 
                  len = 0}, status = {s = 0x0, len = 0}, reason = {s = 0x0,
len = 0}, statuscode = 0}}}, via1 = 0x0, 
          via2 = 0x0, headers = 0x7fc1a1c95770, last_header =
0x7fc1a1c95710, parsed_flag = 4120, h_via1 = 0x0, 
          h_via2 = 0x0, callid = 0x0, to = 0x7fc1a1c95d48, cseq = 0x0, from
= 0x7fc1a1c95770, contact = 0x0, 
          maxforwards = 0x0, route = 0x0, record_route = 0x0, path = 0x0,
content_type = 0x7fc1a1c95050, 
          content_length = 0x0, authorization = 0x0, expires = 0x0,
proxy_auth = 0x0, supported = 0x0, 
          proxy_require = 0x0, unsupported = 0x0, allow = 0x0, event = 0x0,
accept = 0x0, accept_language = 0x0, 
          organization = 0x0, priority = 0x0, subject = 0x0, user_agent =
0x0, content_disposition = 0x0, 
          accept_disposition = 0x0, diversion = 0x0, rpid = 0x0, refer_to =
0x0, session_expires = 0x0, min_se = 0x0, 
          ppi = 0x0, pai = 0x0, privacy = 0x0, call_info = 0x0,
www_authenticate = 0x0, proxy_authenticate = 0x0, 
          min_expires = 0x0, sdp = 0x0, multi = 0x0, eoh = 0x0, unparsed =
0x7fc090006b7a "", rcv = {src_ip = {af = 0, 
              len = 0, u = {addrl = {0, 0}, addr32 = {0, 0, 0, 0}, addr16 =
{0, 0, 0, 0, 0, 0, 0, 0}, 
                addr = '\000' <repeats 15 times>}}, dst_ip = {af = 0, len =
0, u = {addrl = {0, 0}, addr32 = {0, 0, 0, 
                  0}, addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, addr = '\000'
<repeats 15 times>}}, src_port = 0, 
            dst_port = 0, proto = 0, proto_reserved1 = 0, proto_reserved2 =
0, src_su = {s = {sa_family = 0, 
                sa_data = '\000' <repeats 13 times>}, sin = {sin_family = 0,
sin_port = 0, sin_addr = {s_addr = 0}, 
                sin_zero = "\000\000\000\000\000\000\000"}, sin6 =
{sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, 
                sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15
times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
                    __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}},
bind_address = 0x0}, 
          buf = 0x7fc090006b00
"From:<sip:iCast_weixin at 192.168.61.165>\nTo:<sip:20000 at 192.168.61.165>\nContent-Type:text/plain\nP-ICast-Message-Expire:
7200\n", len = 122, new_uri = {s = 0x0, len = 0}, dst_uri = {s = 0x0, len =
0}, 
          parsed_uri_ok = 0, parsed_uri = {user = {s = 0x0, len = 0}, passwd
= {s = 0x0, len = 0}, host = {s = 0x0, 
              len = 0}, port = {s = 0x0, len = 0}, params = {s = 0x0, len =
0}, headers = {s = 0x0, len = 0}, 
            port_no = 0, proto = 0, type = ERROR_URI_T, transport = {s =
0x0, len = 0}, 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 = 0x0, len = 0}, 
            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 = {
---Type <return> to continue, or q <return> to quit---
              s = 0x0, len = 0}, u_name = {{s = 0x0, len = 0}, {s = 0x0, len
= 0}, {s = 0x0, len = 0}, {s = 0x0, 
                len = 0}, {s = 0x0, len = 0}}, u_val = {{s = 0x0, len = 0},
{s = 0x0, len = 0}, {s = 0x0, len = 0}, {
                s = 0x0, len = 0}, {s = 0x0, len = 0}}, u_params_no = 0},
parsed_orig_ruri_ok = 0, parsed_orig_ruri = {
            user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = 0}, host =
{s = 0x0, len = 0}, port = {s = 0x0, 
              len = 0}, params = {s = 0x0, len = 0}, headers = {s = 0x0, len
= 0}, port_no = 0, proto = 0, 
            type = ERROR_URI_T, transport = {s = 0x0, len = 0}, 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
= 0x0, len = 0}, 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 = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len
= 0}, {s = 0x0, len = 0}, {s = 0x0, 
                len = 0}}, u_val = {{s = 0x0, len = 0}, {s = 0x0, len = 0},
{s = 0x0, len = 0}, {s = 0x0, len = 0}, {
                s = 0x0, len = 0}}, u_params_no = 0}, add_rm = 0x0,
body_lumps = 0x0, reply_lump = 0x0, 
          add_to_branch_s = '\000' <repeats 57 times>, add_to_branch_len =
0, hash_index = 0, flags = 0, msg_flags = 0, 
          set_global_address = {s = 0x0, len = 0}, set_global_port = {s =
0x0, len = 0}, force_send_socket = 0x0, 
          path_vec = {s = 0x0, len = 0}, msg_cb = 0x0}
        dlg = {id = {call_id = {s = 0x7fc1a183c840
"66c4a36c360858e9-13897 at 127.0.0.1", len = 32}, rem_tag = {s = 0x0, 
              len = 0}, loc_tag = {s = 0x7fc1a1850920
"533cb9e91f4b999cf76861cbb9ed54ed-5e40", len = 37}}, loc_seq = {
            value = 10, is_set = 1 '\001'}, rem_seq = {value = 0, is_set = 0
'\000'}, loc_uri = {
            s = 0x7fc098007ca6
"sip:iCast_weixin at 192.168.61.165>\nTo:<sip:1100 at 192.168.61.165>\nContent-Type:text/plain\nP-ICast-Message-Expire:
7200\n", len = 31}, rem_uri = {
            s = 0x7fc09000564b
"sip:1100 at 192.168.61.165>\nContent-Type:text/plain\nP-ICast-Message-Expire:
7200\n", 
            len = 23}, obp = {s = 0x0, len = 0}, forced_to_su = {s =
{sa_family = 0, 
              sa_data = '\000' <repeats 13 times>}, sin = {sin_family = 0,
sin_port = 0, sin_addr = {s_addr = 0}, 
              sin_zero = "\000\000\000\000\000\000\000"}, sin6 =
{sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, 
              sin6_addr = {__in6_u = {__u6_addr8 = '\000' <repeats 15
times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
                  __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}},
rem_target = {s = 0x0, len = 0}, loc_dname = {
            s = 0x0, len = 0}, rem_dname = {s = 0x0, len = 0}, T_flags = 0,
state = DLG_NEW, route_set = 0x0, hooks = {
            ru = {s = 0x0, len = 0}, nh = {s = 0x0, len = 0}, request_uri =
0x7fc1a1c95b68, next_hop = 0x7fc1a1c95b68, 
            first_route = 0x0, last_route = 0x0}, send_sock =
0x7fc1a1c8a270}
        rpl_tree = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        node = <value optimized out>
        pruri = {user = {s = 0x7fc090006aa4 "20000 at 192.168.61.165", len =
5}, passwd = {s = 0x0, len = 0}, host = {
            s = 0x7fc090006aaa "192.168.61.165", len = 14}, port = {s = 0x0,
len = 0}, params = {s = 0x0, len = 0}, 
          headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type =
SIP_URI_T, transport = {s = 0x0, len = 0}, 
          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 = 0x0, len = 0}, 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 = 0x0, len = 0}, {s =
0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, 
              len = 0}, {s = 0x0, len = 0}}, u_val = {{s = 0x0, len = 0}, {s
= 0x0, len = 0}, {s = 0x0, len = 0}, {
              s = 0x0, len = 0}, {s = 0x0, len = 0}}, u_params_no = 0}
        pnexthop = {user = {s = 0x209387d "", len = 0}, passwd = {s = 0x0,
len = 0}, host = {s = 0x0, len = 0}, port = {
            s = 0xa <Address 0xa out of bounds>, len = 1593142669}, params =
{s = 0x0, len = 0}, headers = {s = 0x0, 
            len = 0}, port_no = 0, proto = 0, type = ERROR_URI_T, transport
= {
            s = 0x385eea52ce <Address 0x385eea52ce out of bounds>, len = 0},
ttl = {s = 0x0, len = -1}, user_param = {
            s = 0x385ee554fa <Address 0x385ee554fa out of bounds>, len = 8},
maddr = {
            s = 0x2 <Address 0x2 out of bounds>, len = -1668590384}, method
= {
            s = 0x200000008 <Address 0x200000008 out of bounds>, len =
-1668590810}, lr = {
            s = 0x7fc000000000 <Address 0x7fc000000000 out of bounds>, len =
831214352}, r2 = {s = 0x7fc09c8b5326 "", 
            len = 1595458272}, gr = {s = 0x7fc09c8b54af "", len = 34158032},
transport_val = {s = 0x7fc09c8b52d0 "", 
            len = 16}, ttl_val = {s = 0x7fc09c8b54c0 "", len = -1668590592},
user_param_val = {
            s = 0x7fc09c8b53a0 "\020", len = -1668590610}, maddr_val = {s =
0x7fc09c8b53e4 "\300\177", 
            len = -1668590612}, method_val = {s = 0x7fc09c8b53e4 "\300\177",
len = 0}, lr_val = {s = 0x0, len = 33}, 
          r2_val = {s = 0x8 <Address 0x8 out of bounds>, len = 1}, gr_val =
{s = 0x230 <Address 0x230 out of bounds>, 
            len = 0}, u_name = {{s = 0x385ef572c3 <Address 0x385ef572c3 out
of bounds>, len = -1879043540}, {
              s = 0x7fc09000122c "14:34:51 /usr/sbin/opensips[13897]:
DBG:tm:get_hfblock: one more hf processed\n", 
              len = 1595460288}, {s = 0x7 <Address 0x7 out of bounds>, len =
8187}, {
              s = 0x385eea4122 <Address 0x385eea4122 out of bounds>, len =
-1668590620}, {s = 0x0, len = 14}}, u_val = {
            {s = 0x3800000000 <Address 0x3800000000 out of bounds>, len =
3}, {
              s = 0x100000002 <Address 0x100000002 out of bounds>, len =
16}, {s = 0x7fc09c8b56a0 "P8\200", 
              len = -1668590112}, {s = 0x7fc090001210 "0", len = 133}, {s =
0x7fc090000020 "", len = 8208}}, 
---Type <return> to continue, or q <return> to quit---
          u_params_no = 12832}
        sock = 0x0
        method = 0x7fc1a1c95bc8
        ruri = 0x7fc1a1c95570
        nexthop = 0x0
        socket = <value optimized out>
        hdrs = <value optimized out>
        body = <value optimized out>
        s = {s = 0x7fc0900078f8 "\b", len = 0}
        callid = <value optimized out>
        sip_error = <value optimized out>
        proto = <value optimized out>
        port = -1879020648
        cseq = -1
        n = <value optimized out>
#5  0x00007fc1a0ba93e3 in run_mi_cmd (env=0x7fc09c8b57c0, host=<value
optimized out>, methodName=<value optimized out>, 
    paramArray=<value optimized out>, serverInfo=<value optimized out>) at
../../mi/mi.h:109
        ret = <value optimized out>
#6  default_method (env=0x7fc09c8b57c0, host=<value optimized out>,
methodName=<value optimized out>, 
    paramArray=<value optimized out>, serverInfo=<value optimized out>) at
xr_server.c:221
        ret = 0x0
        mi_cmd = 0x7fc1a1c959a8
        mi_rpl = 0x0
        hdl = 0x7fc09cc27ae8
        f = 0x7fc1a1c8d808
        response = 0x0
        is_shm = 0
        __FUNCTION__ = "default_method"
#7  0x00007fc1a0574eab in ?? ()
No symbol table info available.
#8  0x00007fc09c8b5850 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) 
(gdb) 
(gdb) 
(gdb) ^C(gdb) Quit
(gdb) quit




































[root at localhost opensips]# gdb core.17930 
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/opensips...Reading symbols from
/usr/lib/debug/usr/sbin/opensips.debug...done.
done.
[New Thread 18125]
[New Thread 17930]
[New Thread 18124]
[New Thread 18123]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib64/opensips/modules/signaling.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/signaling.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/signaling.so
Reading symbols from /usr/lib64/opensips/modules/sl.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/sl.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/sl.so
Reading symbols from /usr/lib64/opensips/modules/tm.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/tm.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/tm.so
Reading symbols from /usr/lib64/opensips/modules/rr.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/rr.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/rr.so
Reading symbols from /usr/lib64/opensips/modules/maxfwd.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/maxfwd.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/maxfwd.so
Reading symbols from /usr/lib64/opensips/modules/sipmsgops.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/sipmsgops.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/sipmsgops.so
Reading symbols from /usr/lib64/opensips/modules/mi_fifo.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/mi_fifo.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/mi_fifo.so
Reading symbols from /usr/lib64/opensips/modules/mi_xmlrpc.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/mi_xmlrpc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/mi_xmlrpc.so
Reading symbols from /usr/lib64/opensips/modules/uri.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/uri.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/uri.so
Reading symbols from /usr/lib64/opensips/modules/usrloc.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/usrloc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/usrloc.so
Reading symbols from /usr/lib64/opensips/modules/registrar.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/registrar.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/registrar.so
Reading symbols from /usr/lib64/opensips/modules/acc.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/acc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/acc.so
Reading symbols from /usr/lib64/opensips/modules/textops.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/textops.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/textops.so
Reading symbols from /usr/lib64/opensips/modules/db_mysql.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/db_mysql.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/db_mysql.so
Reading symbols from /usr/lib64/opensips/modules/avpops.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/avpops.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/avpops.so
Reading symbols from /usr/lib64/opensips/modules/auth.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/auth.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/auth.so
Reading symbols from /usr/lib64/opensips/modules/auth_db.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/auth_db.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/auth_db.so
Reading symbols from /usr/lib64/opensips/modules/domain.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/domain.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/domain.so
Reading symbols from /usr/lib64/opensips/modules/permissions.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/permissions.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/permissions.so
Reading symbols from /usr/lib64/opensips/modules/alias_db.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/alias_db.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/alias_db.so
Reading symbols from /usr/lib64/opensips/modules/stun.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/stun.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/stun.so
Reading symbols from /usr/lib64/opensips/modules/dialog.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/dialog.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/dialog.so
Reading symbols from /usr/lib64/opensips/modules/sst.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/sst.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/sst.so
Reading symbols from /usr/lib64/opensips/modules/msilo.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/msilo.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/msilo.so
Reading symbols from /usr/lib64/opensips/modules/nathelper.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/nathelper.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/nathelper.so
Reading symbols from /usr/lib64/opensips/modules/mi_datagram.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/mi_datagram.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/mi_datagram.so
Reading symbols from /usr/lib64/opensips/modules/xcap.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/xcap.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/xcap.so
Reading symbols from /usr/lib64/opensips/modules/presence.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence.so
Reading symbols from /usr/lib64/opensips/modules/presence_xml.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence_xml.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence_xml.so
Reading symbols from /usr/lib64/opensips/modules/presence_mwi.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence_mwi.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence_mwi.so
Reading symbols from /usr/lib64/opensips/modules/pua.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/pua.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/pua.so
Reading symbols from /usr/lib64/opensips/modules/pua_usrloc.so...Reading
symbols from
/usr/lib/debug/usr/lib64/opensips/modules/pua_usrloc.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/pua_usrloc.so
Reading symbols from /usr/lib64/opensips/modules/pua_mi.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/pua_mi.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/pua_mi.so
Reading symbols from
/usr/lib64/opensips/modules/presence_xcapdiff.so...Reading symbols from
/usr/lib/debug/usr/lib64/opensips/modules/presence_xcapdiff.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/presence_xcapdiff.so
Reading symbols from /usr/lib64/opensips/modules/rls.so...Reading symbols
from /usr/lib/debug/usr/lib64/opensips/modules/rls.so.debug...done.
done.
Loaded symbols for /usr/lib64/opensips/modules/rls.so

warning: Can't read pathname for load map: Input/output error.

warning: Can't read pathname for load map: Input/output error.
Core was generated by `/usr/sbin/opensips -P /var/run/opensips/opensips.pid
-m 4096 -M 128 -w /var/log'.
Program terminated with signal 11, Segmentation fault.
#0  free_mi_node (parent=0x7ffcaf462050) at mi/tree.c:79
79                      p = p->next;
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64
krb5-libs-1.10.3-15.el6_5.1.x86_64 libcom_err-1.41.12-18.el6_5.1.x86_64
libgcc-4.4.7-4.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64
libxml2-2.7.6-14.el6.x86_64 mysql-libs-5.1.71-1.el6.x86_64
nss-softokn-freebl-3.14.3-9.el6.x86_64 openssl-1.0.1e-15.el6.x86_64
xmlrpc-c-1.16.24-1210.1840.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  free_mi_node (parent=0x7ffcaf462050) at mi/tree.c:79
#1  0x000000000053d5a2 in free_mi_tree (parent=0x7ffcaf462a28) at
mi/tree.c:98
#2  0x00007ffcae376561 in default_method (env=<value optimized out>,
host=<value optimized out>, 
    methodName=<value optimized out>, paramArray=<value optimized out>,
serverInfo=<value optimized out>)
    at xr_server.c:267
#3  0x00007ffcadd41eab in ?? ()
#4  0x00007ffbaa082850 in ?? ()
#5  0x0000000000000000 in ?? ()
(gdb) bt full
#0  free_mi_node (parent=0x7ffcaf462050) at mi/tree.c:79
        p = 0x18
        q = 0x18
#1  0x000000000053d5a2 in free_mi_tree (parent=0x7ffcaf462a28) at
mi/tree.c:98
        p = 0x0
        q = <value optimized out>
#2  0x00007ffcae376561 in default_method (env=<value optimized out>,
host=<value optimized out>, 
    methodName=<value optimized out>, paramArray=<value optimized out>,
serverInfo=<value optimized out>)
    at xr_server.c:267
        ret = <value optimized out>
        mi_cmd = 0x7ffcaf462a28
        mi_rpl = <value optimized out>
        hdl = <value optimized out>
        f = <value optimized out>
        response = <value optimized out>
        is_shm = <value optimized out>
        __FUNCTION__ = "default_method"
#3  0x00007ffcadd41eab in ?? ()
No symbol table info available.
#4  0x00007ffbaa082850 in ?? ()
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) 
#0  free_mi_node (parent=0x7ffcaf462050) at mi/tree.c:79
        p = 0x18
        q = 0x18
#1  0x000000000053d5a2 in free_mi_tree (parent=0x7ffcaf462a28) at
mi/tree.c:98
        p = 0x0
        q = <value optimized out>
#2  0x00007ffcae376561 in default_method (env=<value optimized out>,
host=<value optimized out>, 
    methodName=<value optimized out>, paramArray=<value optimized out>,
serverInfo=<value optimized out>)
    at xr_server.c:267
        ret = <value optimized out>
        mi_cmd = 0x7ffcaf462a28
        mi_rpl = <value optimized out>
        hdl = <value optimized out>
        f = <value optimized out>
        response = <value optimized out>
        is_shm = <value optimized out>
        __FUNCTION__ = "default_method"
#3  0x00007ffcadd41eab in ?? ()
No symbol table info available.
#4  0x00007ffbaa082850 in ?? ()
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) 
#0  free_mi_node (parent=0x7ffcaf462050) at mi/tree.c:79
        p = 0x18
        q = 0x18
#1  0x000000000053d5a2 in free_mi_tree (parent=0x7ffcaf462a28) at
mi/tree.c:98
        p = 0x0
        q = <value optimized out>
#2  0x00007ffcae376561 in default_method (env=<value optimized out>,
host=<value optimized out>, 
    methodName=<value optimized out>, paramArray=<value optimized out>,
serverInfo=<value optimized out>)
    at xr_server.c:267
        ret = <value optimized out>
        mi_cmd = 0x7ffcaf462a28
        mi_rpl = <value optimized out>
        hdl = <value optimized out>
        f = <value optimized out>
        response = <value optimized out>
        is_shm = <value optimized out>
        __FUNCTION__ = "default_method"
#3  0x00007ffcadd41eab in ?? ()
No symbol table info available.
#4  0x00007ffbaa082850 in ?? ()
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) ^C(gdb) Quit
(gdb) quit
[root at localhost opensips]#























   



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/core-dump-when-use-mi-xmlrpc-module-tp7594167p7594169.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list