<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Qasim,<br>
<br>
Current revision on 1.8 branch is 9787, so you have an older
version. I remember some recent fixes in the dlg pinging, so I
would advice you to update from SVN (1.8 branch) and give it
another try.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 02/13/2013 11:04 AM, <a class="moz-txt-link-abbreviated" href="mailto:qasimakhan@gmail.com">qasimakhan@gmail.com</a> wrote:
<blockquote
cite="mid:CAPBKugt_UQgaF3Esw6ETJsCF1QfCnef-kfq3ONcSq0yR2aOP3Q@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true" href="mailto:qasimakhan@gmail.com">qasimakhan@gmail.com</a>
<span dir="ltr"><<a moz-do-not-send="true"
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: 1px solid rgb(204, 204,
204);">
<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></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></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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>