[OpenSIPS-Devel] [ opensips-Feature Requests-3466499 ] problem with set_advertised_address function in rev #8533

SourceForge.net noreply at sourceforge.net
Thu Dec 29 18:13:07 CET 2011


Feature Requests item #3466499, was opened at 2011-12-28 06:02
Message generated for change (Comment added) made by vladut-paiu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3466499&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: None
Group: trunk
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: problem with set_advertised_address function in rev #8533

Initial Comment:
Hi,
I've updated my opensips with rev #8533, set_advertised_address function works properly, but I'm making load tests now and there is problem.
I'm using SIPp with default scenario and I've emerged, that after about 1000 calls with call-rate 10(0ms)/1s, opensips crashes with following errors:
DEC 27 13:11:11 opensips /sbin/opensips[2292]: CRITICAL:core:qm_debug_frag: qm_*: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0xb771d158:0xb771d170]!
DEC 27 13:11:12 opensips /sbin/opensips[2288]: CRITICAL:core:qm_debug_frag: qm_*: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0xb771d13c:0xb771d154]!
DEC 27 13:11:12 opensips /sbin/opensips[2291]: CRITICAL:core:qm_debug_frag: qm_*: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0xb771d13c:0xb771d154]!
DEC 27 13:11:12 opensips /sbin/opensips[2294]: CRITICAL:core:qm_debug_frag: qm_*: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0xb771d13c:0xb771d154]!
DEC 27 13:11:13 opensips /sbin/opensips[2312]: CRITICAL:core:receive_fd: EOF on 13 

I'm using command: 
$avp(newvia)=$hdr(Via){via.host}+":"+$sp;
set_advertised_address("$avp(newvia)");
if I delete it, or set ("192.168.1.1"), everything works properly and opensips can handle 3000 calls and more.

Plz help
Jack

----------------------------------------------------------------------

Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2011-12-29 09:13

Message:
Hello,

It seems you are dealing with a memory corruption.
If you still do all the VIA transformations, but statically set the
advertised address param, do you still get the crashes ?
Like : 

$avp(newvia)=$hdr(Via){via.host}+":"+$sp;
set_advertised_address(192.168.1.1)

Trying to see which ops triggers the actual corruption, the VIA
transformations or the adv address.

Regards,
Vlad

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3466499&group_id=232389



More information about the Devel mailing list