Hi, I fixed this issue in rev 8696. -- kobi
On Jan 5, 2012, at 3:19 AM, SourceForge.net wrote: > Bugs item #3466499, was opened at 2011-12-28 06:02 > Message generated for change (Settings changed) made by bogdan_iancu > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=1086410&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: core >> Group: trunk > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Nobody/Anonymous (nobody) >> Assigned to: Vladut-Stefan Paiu (vladut-paiu) > 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: 2012-01-05 02:18 > > Message: > Hello, > > I can't seem to be able to replicate the crash you are experiencing. > Is it possible that you can privately give me access to your server on the > OpenSIPS binary and the core dump, so I can analyze it with GDB ? > > Regards, > Vlad > > ---------------------------------------------------------------------- > > Comment By: Nobody/Anonymous (nobody) > Date: 2012-01-02 05:04 > > Message: > Hi, > I've done additional tests and it shows, that avp also causes opensips > crash. > It crashes with command: > $avp(newvia)=$(hdr(Via){via.host}); > #set_advertised_.... > But it's OK with following command: > $avp(newvia)=$hdr(Via); > #set_advertised_... > > Opensips is running on Ubuntu on VirtualBox. > > Regards, > Jack > > ---------------------------------------------------------------------- > > Comment By: Nobody/Anonymous (nobody) > Date: 2011-12-30 00:19 > > Message: > Hi, > The problem appears only if I set avp as function argument, e.g.: > set_advertised_address("hdr(Via){via.host}"); > In other cases everything is ok. > > Regards > 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=1086410&aid=3466499&group_id=232389 > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
