<div dir="ltr"><div><div>Hi Razvan,<br><br></div>Let me enable it and wait for the next crash.<br><br><br></div>Regards,<br>-- <br>Ahsan Hasan<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 12:44 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Ahsan!<br>
<br>
Can you please enable the the memory debugging (DBG_QM_MALLOC flag in menuconfig)? You can follow this tutorial[1].<br>
<br>
[1] <a href="http://www.opensips.org/Documentation/TroubleShooting-OutOfMem" target="_blank">http://www.opensips.org/<u></u>Documentation/TroubleShooting-<u></u>OutOfMem</a><br>
<br>
Best regards,<br>
<br>
Razvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><div><div class="h5"><br>
<br>
On 01/09/2014 07:54 AM, Ahsan Hasan wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
<br>
We are using opensips-1.9.1 and it is crashing randomly every other<br>
week, the core dumps generated are always related to memory leakage. The<br>
last four core dumps are<br>
<br>
Program terminated with signal 11, Segmentation fault.<br>
#0 0x00007f4c12e20c77 in write_dialog_profiles (links=0x7f4bff03d7f0)<br>
at dlg_db_handler.c:1085<br>
1085 l += link->profile->name.len + 1 + link->value.len + 1;<br>
<br>
Program terminated with signal 11, Segmentation fault.<br>
#0 0x00000000004e5da2 in fm_remove_free (qm=0x7f4bfec5a000, size=112)<br>
at mem/f_malloc.c:172<br>
172 *pf=n->u.nxt_free;<br>
<br>
Program terminated with signal 11, Segmentation fault.<br>
#0 free_cloned_sdp_session (_session=0x362e373740333532) at<br>
parser/sdp/sdp.c:893<br>
893 session = l_session->next;<br>
<br>
Program terminated with signal 11, Segmentation fault.<br>
#0 0x00000000004e5da2 in fm_remove_free (qm=0x7f71a9524000, size=96) at<br>
mem/f_malloc.c:172<br>
172 *pf=n->u.nxt_free;<br>
<br>
What can be the cause?<br>
<br>
--<br>
Ahsan Hasan<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br><br><div><br></div>
</div></div>