[OpenSIPS-Users] Opensips Crash - Dialog Ping dlg_ping_routine

qasimakhan at gmail.com qasimakhan at gmail.com
Wed Feb 13 10:00:52 CET 2013


Hi,

My opensips configuration was running fine until I enabled dialog ping flag
in create_dialog. Now after enabling ping my opensips crashes randomly 3-4
times daily. I have collected opensips logs which are as follows:

P.S: Please let me know if anything else is needed. I am preserving my core
dumps and my opensips logs.

*Syslog:*
**
opensips[3251]: segfault at 100009d7c ip 00007f6f2ddd2df6 sp
00007fffacd946b0 error 4 in dialog.so[7f6f2dd9b000+4b000]

*CoreDump:*
**
Core was generated by `/usr/local/sbin/opensips -P
/var/run/opensips/opensips.pid -m 512 -M 4 -u root'.
Program terminated with signal 11, Segmentation fault.
#0  dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized
out>) at dlg_timer.c:525
525                     dlg->pl = 0;
(gdb) bt
#0  dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized
out>) at dlg_timer.c:525
#1  0x00000000004b5956 in timer_ticker () at timer.c:360
#2  run_timer_process () at timer.c:404
#3  start_timer_processes () at timer.c:527
#4  0x0000000000432c60 in main_loop (argc=<value optimized out>,
argv=<value optimized out>) at main.c:945
#5  main (argc=<value optimized out>, argv=<value optimized out>) at
main.c:1541
(gdb) bt full
#0  dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized
out>) at dlg_timer.c:525
        expired = <value optimized out>
        it = <value optimized out>
        curr = 0x7f0f15926a20
        dlg = 0x10
        __FUNCTION__ = "dlg_ping_routine"
#1  0x00000000004b5956 in timer_ticker () at timer.c:360
        t = 0x7f0f3b586fc8
#2  run_timer_process () at timer.c:404
        multiple = 1
        cnt = <value optimized out>
        tv = {tv_sec = 0, tv_usec = 0}
#3  start_timer_processes () at timer.c:527
        tpl = 0x7f0f3b586568
        pid = <value optimized out>
        __FUNCTION__ = "start_timer_processes"
#4  0x0000000000432c60 in main_loop (argc=<value optimized out>,
argv=<value optimized out>) at main.c:945
        i = 4
        pid = 24
        si = 0x0
        startup_done = 0x0
        chd_rank = 8
        load_p = 0x7f0f15840628
#5  main (argc=<value optimized out>, argv=<value optimized out>) at
main.c:1541
        cfg_log_stderr = 0
        cfg_stream = <value optimized out>
        c = <value optimized out>
        r = <value optimized out>
        tmp = 0x7fff330839d5 ""
        tmp_len = <value optimized out>
        port = <value optimized out>
        proto = <value optimized out>
        ret = <value optimized out>
        seed = 2204336599
        rfd = <value optimized out>
        __FUNCTION__ = "main"

Regards,
Qasim Ayyaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130213/8d115cf5/attachment.htm>


More information about the Users mailing list