<div dir="ltr">So it crashed again today. Here is the log<br><div><br>Feb 10 18:26:24 RTSIP rtsip-service[10443]: CRITICAL:core:qm_free:
freeing already freed pointer, first free: parser/sdp/sdp.c:
free_cloned_sdp_stream(874) - aborting
<br>Feb 10 18:26:25 RTSIP rtsip-service[10464]: CRITICAL:core:receive_fd:
EOF on 25<br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 2:45 PM, Ahsan Hasan <span dir="ltr"><<a href="mailto:ahsanhasanjaved@gmail.com" target="_blank">ahsanhasanjaved@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My opensips has crashed again. Here is the core dump.<br><br>================= core dump =========================<br>
<div>Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.<br>
Loaded symbols for /lib/libnss_compat.so.2<br>Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done.<br>Loaded symbols for /lib/libnss_nis.so.2<br>Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.<br>
Loaded symbols for /lib/libnss_files.so.2<br>Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips/opensips.pid -m 256 -M 16 -u root'.<br>Program terminated with signal 6, Aborted.<br>#0 0x00007fe13b0e31b5 in raise () from /lib/libc.so.6<br>
<br>===================================================<br><br></div><div>The memlogs are also attached.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888">-- <br>
Ahsan Hasan</font></span><div><div class="h5"><br><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 3:14 PM, Ahsan Hasan <span dir="ltr"><<a href="mailto:ahsanhasanjaved@gmail.com" target="_blank">ahsanhasanjaved@gmail.com</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"><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,<span><font color="#888888"><br>
-- <br>Ahsan Hasan</font></span><div><div><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><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>
<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></div></div>
</blockquote></div><br><br clear="all"><br><br></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Ahsan Hasan<div>+92.333.438.2041</div>
</div>