[OpenSIPS-Users] OpenSIPS crash

Stas Kobzar stas.kobzar at modulis.ca
Mon Aug 31 20:21:47 CEST 2015


Hello,
We had a couple another crashes which looks very much the same.
Please, see attached.

Thank you,

On Mon, Aug 31, 2015 at 12:00 PM, Stas Kobzar <stas.kobzar at modulis.ca>
wrote:

> Hello,
> Another crash just happened.
> Please, find attached gdb bt full.
>
> Thank you,
>
>
> On Mon, Aug 31, 2015 at 11:32 AM, Stas Kobzar <stas.kobzar at modulis.ca>
> wrote:
>
>> 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>
>>
>
>
>
> --
>
> 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>
>



-- 

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/a0759eb7/attachment-0001.htm>
-------------- next part --------------
#0  0x00007f18d62559ef in mem_update_ucontact (_c=0x7f18b2334458, _ci=0x7fff100b4580) at ucontact.c:262
        ptr = <value optimized out>
        __FUNCTION__ = "mem_update_ucontact"
#1  0x00007f18d62589d2 in update_ucontact (_r=0x7f18b1f7e5b0, _c=0x7f18b2334458, _ci=0x7fff100b4580, is_replicated=0 '\000') at ucontact.c:923
        ret = <value optimized out>
        __FUNCTION__ = "update_ucontact"
#2  0x00007f18d6260201 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 = 0x7f18d6470ac0, sock = 0x0, methods = 4294967295, last_modified = 0, attr = 0x0}
        r = 0x7f18b1f7e5b0
        c = 0x7f18b2334458
        node = <value optimized out>
        dom = 0x7f18b1c10b20
        aor = 0x7f18d8a71238
        contact = <value optimized out>
        ui_val = <value optimized out>
        n = <value optimized out>
#3  0x00007f18d6e60241 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 = 0x7f18d8a3b080
        dtgram = {start = 0x7f18d8a72940 ":ul_add", current = 0x7f18d8a7299c "", len = 0}
        ret = <value optimized out>
        len = <value optimized out>
        __FUNCTION__ = "mi_datagram_server"
#5  0x00007f18d6e61d83 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
        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 = 0x7fff100b5e5e ""
        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 = 3732902674
        rfd = <value optimized out>
        __FUNCTION__ = "main"
-------------- next part --------------
#0  0x00007ff1a1af69ef in mem_update_ucontact (_c=0x7ff17d594410, _ci=0x7fff482488a0) at ucontact.c:262
        ptr = <value optimized out>
        __FUNCTION__ = "mem_update_ucontact"
#1  0x00007ff1a1af99d2 in update_ucontact (_r=0x7ff17d020c08, _c=0x7ff17d594410, _ci=0x7fff482488a0, is_replicated=0 '\000') at ucontact.c:923
        ret = <value optimized out>
        __FUNCTION__ = "update_ucontact"
#2  0x00007ff1a1b01201 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 = 0x7ff1a1d11ac0, sock = 0x0, methods = 4294967295, last_modified = 0, attr = 0x0}
        r = 0x7ff17d020c08
        c = 0x7ff17d594410
        node = <value optimized out>
        dom = 0x7ff17d4ad4b0
        aor = 0x7ff1a43124d0
        contact = <value optimized out>
        ui_val = <value optimized out>
        n = <value optimized out>
#3  0x00007ff1a2701241 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 = 0x7ff1a42dc0c8
        dtgram = {start = 0x7ff1a4315740 ":ul_add", current = 0x7ff1a431579c "", len = 0}
        ret = <value optimized out>
        len = <value optimized out>
        __FUNCTION__ = "mi_datagram_server"
#5  0x00007ff1a2702d83 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
        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 = 0x7fff48249e5e ""
        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 = 3882566419
        rfd = <value optimized out>
        __FUNCTION__ = "main"
-------------- next part --------------
#0  0x00007fcc5ef169ef in mem_update_ucontact (_c=0x7fcc3ac02398, _ci=0x7fff25359ce0) at ucontact.c:262
        ptr = <value optimized out>
        __FUNCTION__ = "mem_update_ucontact"
#1  0x00007fcc5ef199d2 in update_ucontact (_r=0x7fcc3a9b23b8, _c=0x7fcc3ac02398, _ci=0x7fff25359ce0, is_replicated=0 '\000') at ucontact.c:923
        ret = <value optimized out>
        __FUNCTION__ = "update_ucontact"
#2  0x00007fcc5ef21201 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 = 0x7fcc5f131ac0, sock = 0x0, methods = 4294967295, last_modified = 0, attr = 0x0}
        r = 0x7fcc3a9b23b8
        c = 0x7fcc3ac02398
        node = <value optimized out>
        dom = 0x7fcc3a8d1708
        aor = 0x7fcc617324d8
        contact = <value optimized out>
        ui_val = <value optimized out>
        n = <value optimized out>
#3  0x00007fcc5fb21241 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 = 0x7fcc616fc0c8
        dtgram = {start = 0x7fcc61736a00 ":ul_add", current = 0x7fcc61736a5c "", len = 0}
        ret = <value optimized out>
        len = <value optimized out>
        __FUNCTION__ = "mi_datagram_server"
#5  0x00007fcc5fb22d83 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
        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 = 0x7fff2535be5e ""
        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 = 409067604
        rfd = <value optimized out>
        __FUNCTION__ = "main"


More information about the Users mailing list