[OpenSIPS-Users] OpenSIPS crash

Stas Kobzar stas.kobzar at modulis.ca
Mon Aug 31 17:32:36 CEST 2015


Hello list,

We had OpenSIPS crashed. Please, find attached crash full stack trace from
core file attached.
OpenSIPS version:
version: opensips 1.11.5-notls (x86_64/linux)
flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 02a7c06
main.c compiled on 18:04:23 Jul 16 2015 with gcc 4.4.7

I am not sure, but it looks like the problem is MI command ul_add. We use
datagram  MI to add/remove permanent user locations via web interface.

Before we were using XML-rpc and we had similar problem. That's why we
moved to datagram.

Please, advice.
Thank you!

P.S. As it is mentioned in OpenSIPS web-site, I have posted it first to
devel list. But my email was bounced as I am not a member of the list.
Should I send it to OpenSIPS github issues?
-- 

Stas Kobzar

Developeur VoIP / VoIP Developer

___________________

Modulis­.ca Inc.

# Bureau / Office: 514-284-2020 x 246

Email: s <http://firstname.lastname>tas.kobzar at modulis.ca

https://www.modulis.com

<https://www.modulis.com/es-url-001>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150831/842b7779/attachment.htm>
-------------- next part --------------
(gdb) bt full
#0  0x00007f6ca92e09ef in mem_update_ucontact (_c=0x7f6c84cdc6d8, _ci=0x7fff18013e70) at ucontact.c:262
        ptr = <value optimized out>
        __FUNCTION__ = "mem_update_ucontact"
#1  0x00007f6ca92e39d2 in update_ucontact (_r=0x7f6c84d16b58, _c=0x7f6c84cdc6d8, _ci=0x7fff18013e70, is_replicated=0 '\000') at ucontact.c:923
        ret = <value optimized out>
        __FUNCTION__ = "update_ucontact"
#2  0x00007f6ca92eb201 in mi_usrloc_add (cmd=<value optimized out>, param=<value optimized out>) at ul_mi.c:542
        ci = {received = {s = 0x0, len = 0}, path = 0x0, expires = 0, q = 1000, instance = {s = 0x0, len = 0}, callid = 0x0, cseq = 1, flags = 0, cflags = 0, user_agent = 0x7f6ca94fbac0, sock = 0x0, methods = 4294967295, last_modified = 0, attr = 0x0}
        r = 0x7f6c84d16b58
        c = 0x7f6c84cdc6d8
        node = <value optimized out>
        dom = 0x7f6c84c21cc8
        aor = 0x7f6cabb0b440
        contact = <value optimized out>
        ui_val = <value optimized out>
        n = <value optimized out>
#3  0x00007f6ca9eeb241 in run_mi_cmd (rx_sock=7, tx_sock=7) at ../../mi/mi.h:109
        ret = <value optimized out>
#4  mi_datagram_server (rx_sock=7, tx_sock=7) at datagram_fnc.c:520
        mi_cmd = <value optimized out>
        mi_rpl = <value optimized out>
        hdl = 0x0
        f = 0x7f6cabac4188
        dtgram = {start = 0x7f6cabafb270 ":ul_add", current = 0x7f6cabafb2cc "", len = 0}
        ret = <value optimized out>
        len = <value optimized out>
        __FUNCTION__ = "mi_datagram_server"
#5  0x00007f6ca9eecd83 in datagram_process (rank=0) at mi_datagram.c:311
        __FUNCTION__ = "datagram_process"
#6  0x00000000004af269 in start_module_procs () at sr_module.c:586
        m = <value optimized out>
        n = <value optimized out>
        l = <value optimized out>
        x = <value optimized out>
        __FUNCTION__ = "start_module_procs"
#7  0x000000000043a5b0 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:852
---Type <return> to continue, or q <return> to quit---
        i = <value optimized out>
        pid = <value optimized out>
        si = 0x0
        startup_done = 0x0
        chd_rank = 0
        rc = <value optimized out>
        load_p = 0x0
#8  main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1612
        cfg_log_stderr = <value optimized out>
        cfg_stream = <value optimized out>
        c = <value optimized out>
        r = 0
        tmp = 0x7fff18014e5e ""
        tmp_len = <value optimized out>
        port = <value optimized out>
        proto = <value optimized out>
        options = 0x576ca0 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:"
        ret = -1
        seed = 933295776
        rfd = <value optimized out>
        __FUNCTION__ = "main"
(gdb)


More information about the Users mailing list