[OpenSIPS-Devel] [ opensips-Bugs-3485834 ] Sigfault while releasing memory for Notify request
SourceForge.net
noreply at sourceforge.net
Mon Jul 23 02:29:12 CEST 2012
Bugs item #3485834, was opened at 2012-02-08 10:46
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3485834&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.7.x
Status: Open
Resolution: None
Priority: 2
Private: No
Submitted By: Muhammad Shahzad (shari_786pk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sigfault while releasing memory for Notify request
Initial Comment:
We recently enabled presence service in opensips including support for openxcap server. In previous 24 hours we have faced at least 5 sigfaults in opensips with following core dump traces.
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m 512 -u root -g root'.
Program terminated with signal 11, Segmentation fault.
#0 0x080ff8bd in fm_remove_free (qm=0x81f0de0, p=0x8297d1c, size=6144) at mem/f_malloc.c:172
/usr/src/svn-src/opensips_1_7/mem/f_malloc.c:172:4527:beg:0x80ff8bd
(gdb) bt
#0 0x080ff8bd in fm_remove_free (qm=0x81f0de0, p=0x8297d1c, size=6144) at mem/f_malloc.c:172
#1 fm_realloc (qm=0x81f0de0, p=0x8297d1c, size=6144) at mem/f_malloc.c:530
#2 0xb6bb58cc in timer_send_notify (ticks=160539, param=0x0) at resource_notify.c:703
#3 0x080e256a in timer_ticker () at timer.c:355
#4 run_timer_process () at timer.c:425
#5 start_timer_processes () at timer.c:522
#6 0x08074922 in main_loop (argc=9, argv=0xbf933244) at main.c:929
#7 main (argc=9, argv=0xbf933244) at main.c:1490
The sigfault happens when opensips tries to send NOTIFY to user that has unexpectedly disappeared (e.g. his/her internet disconnected). It repeatedly sends NOTIFY to that user and eventually crashes.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-07-22 17:29
Message:
vlpnQ5 <a href="http://ebhufkbuiygb.com/">ebhufkbuiygb</a>,
[url=http://pvwfpcfwrojy.com/]pvwfpcfwrojy[/url],
[link=http://tajwmonmaooy.com/]tajwmonmaooy[/link],
http://arpakureozov.com/
----------------------------------------------------------------------
Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2012-03-16 03:55
Message:
Hi,
This is still a bug, as no matter what wrong configurations you do in the
script, OpenSIPS should not crash.
We will further investigate this.
Regards,
Vlad
----------------------------------------------------------------------
Comment By: Muhammad Shahzad (shari_786pk)
Date: 2012-02-13 06:08
Message:
I was able to successfully reproduce and fix the problem from dial plan. It
happens if xcap service uri is same as one rl:entry uri.
So, its most probably an scripting error rather then a bug. You can close
it now.
Thank you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3485834&group_id=232389
More information about the Devel
mailing list