Hello,
Two things:
1) be sure you have the latest 1.9.1 code (GIT or tar balls)
2) post the actual backtrace (from the core file), please
Thanks and regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 11.02.2014 06:25, Ahsan Hasan wrote:
So it crashed again today. Here is the log
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
Feb 10 18:26:25 RTSIP rtsip-service[10464]: CRITICAL:core:receive_fd:
EOF on 25
On Mon, Feb 10, 2014 at 2:45 PM, Ahsan Hasan
<[email protected] <mailto:[email protected]>> wrote:
My opensips has crashed again. Here is the core dump.
================= core dump =========================
Reading symbols from /lib/libnss_compat.so.2...(no debugging
symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging
symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `/usr/local/sbin/opensips -P
/var/run/opensips/opensips.pid -m 256 -M 16 -u root'.
Program terminated with signal 6, Aborted.
#0 0x00007fe13b0e31b5 in raise () from /lib/libc.so.6
===================================================
The memlogs are also attached.
--
Ahsan Hasan
On Thu, Jan 9, 2014 at 3:14 PM, Ahsan Hasan
<[email protected] <mailto:[email protected]>> wrote:
Hi Razvan,
Let me enable it and wait for the next crash.
Regards,
--
Ahsan Hasan
On Thu, Jan 9, 2014 at 12:44 PM, Ra(zvan Crainea
<[email protected] <mailto:[email protected]>> wrote:
Hi, Ahsan!
Can you please enable the the memory debugging
(DBG_QM_MALLOC flag in menuconfig)? You can follow this
tutorial[1].
[1]
http://www.opensips.org/Documentation/TroubleShooting-OutOfMem
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 01/09/2014 07:54 AM, Ahsan Hasan wrote:
We are using opensips-1.9.1 and it is crashing
randomly every other
week, the core dumps generated are always related to
memory leakage. The
last four core dumps are
Program terminated with signal 11, Segmentation fault.
#0 0x00007f4c12e20c77 in write_dialog_profiles
(links=0x7f4bff03d7f0)
at dlg_db_handler.c:1085
1085 l += link->profile->name.len + 1 +
link->value.len + 1;
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004e5da2 in fm_remove_free
(qm=0x7f4bfec5a000, size=112)
at mem/f_malloc.c:172
172 *pf=n->u.nxt_free;
Program terminated with signal 11, Segmentation fault.
#0 free_cloned_sdp_session
(_session=0x362e373740333532) at
parser/sdp/sdp.c:893
893 session = l_session->next;
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004e5da2 in fm_remove_free
(qm=0x7f71a9524000, size=96) at
mem/f_malloc.c:172
172 *pf=n->u.nxt_free;
What can be the cause?
--
Ahsan Hasan
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Ahsan Hasan
+92.333.438.2041
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users