<div>Hi,</div><div> </div><div>Sorry for the spamming but my opensips version is 1.8 SVN Rev 9447.</div><div> </div><div>Regards,</div><div>Qasim<br><br></div><div class="gmail_quote">On Wed, Feb 13, 2013 at 2:00 PM, <a href="mailto:qasimakhan@gmail.com">qasimakhan@gmail.com</a> <span dir="ltr"><<a href="mailto:qasimakhan@gmail.com" target="_blank">qasimakhan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div>Hi,</div><div> </div><div>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:</div>
<div> </div><div>P.S: Please let me know if anything else is needed. I am preserving my core dumps and my opensips logs.</div><div> </div><div><strong><font size="4">Syslog:</font></strong></div><div><strong><font size="4"></font></strong> </div>
<div>opensips[3251]: segfault at 100009d7c ip 00007f6f2ddd2df6 sp 00007fffacd946b0 error 4 in dialog.so[7f6f2dd9b000+4b000]</div><div> </div><div><font size="4"><strong>CoreDump:</strong></font></div><div><strong><font size="4"></font></strong> </div>
<div>Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips/opensips.pid -m 512 -M 4 -u root'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized out>) at dlg_timer.c:525<br>
525 dlg->pl = 0;<br>(gdb) bt<br>#0 dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized out>) at dlg_timer.c:525<br>#1 0x00000000004b5956 in timer_ticker () at timer.c:360<br>
#2 run_timer_process () at timer.c:404<br>#3 start_timer_processes () at timer.c:527<br>#4 0x0000000000432c60 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:945<br>#5 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1541<br>
(gdb) bt full<br>#0 dlg_ping_routine (ticks=<value optimized out>, attr=<value optimized out>) at dlg_timer.c:525<br> expired = <value optimized out><br> it = <value optimized out><br>
curr = 0x7f0f15926a20<br> dlg = 0x10<br> __FUNCTION__ = "dlg_ping_routine"<br>#1 0x00000000004b5956 in timer_ticker () at timer.c:360<br> t = 0x7f0f3b586fc8<br>#2 run_timer_process () at timer.c:404<br>
multiple = 1<br> cnt = <value optimized out><br> tv = {tv_sec = 0, tv_usec = 0}<br>#3 start_timer_processes () at timer.c:527<br> tpl = 0x7f0f3b586568<br> pid = <value optimized out><br>
__FUNCTION__ = "start_timer_processes"<br>#4 0x0000000000432c60 in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:945<br> i = 4<br> pid = 24<br> si = 0x0<br>
startup_done = 0x0<br> chd_rank = 8<br> load_p = 0x7f0f15840628<br>#5 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1541<br> cfg_log_stderr = 0<br> cfg_stream = <value optimized out><br>
c = <value optimized out><br> r = <value optimized out><br> tmp = 0x7fff330839d5 ""<br> tmp_len = <value optimized out><br> port = <value optimized out><br>
proto = <value optimized out><br> ret = <value optimized out><br> seed = 2204336599<br> rfd = <value optimized out><br> __FUNCTION__ = "main"<br></div><div>
</div>
<div>Regards,</div><div>Qasim Ayyaz</div>
</blockquote></div><br>