[OpenSIPS-Devel] [ opensips-Bugs-3312934 ] Crash on fix_nated_contact_f
SourceForge.net
noreply at sourceforge.net
Sat Jun 11 09:57:26 CEST 2011
Bugs item #3312934, was opened at 2011-06-07 15:42
Message generated for change (Settings changed) made by mayamatakeshi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3312934&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: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: Yes
Submitted By: takeshi (mayamatakeshi)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Crash on fix_nated_contact_f
Initial Comment:
I am running r. 7781. I got crash two times when opensips is executing fix_nated_contact_f/del_lump on a "180 Ringing". I was not able to recreate this in my lab. I searched the tracker for bugs related to this but since I didn't find anything I believe the problem also exists with trunk, so I think updating to it will not solve this and it would be better to have someone to look at the backtrace.
The output of "bt full" is in the attached file
----------------------------------------------------------------------
Comment By: takeshi (mayamatakeshi)
Date: 2011-06-11 16:08
Message:
I updated to latest r. 8002 (branch 1.6) and I see the issue exists with it
too.
Then I downgraded to r. 7055 and I verified that instead of aborting,
opensips logs an error::
ERROR:nathelper:fix_nated_contact_f: you can't call fix_nated_contact
twice, check your config!
I can see the code that does the above check in fix_nated_contact_f was
removed in newer revisions so opensips crashes on them.
Now, about the fix_nated_contact being called twice in my cfg, I checked
it and I could not find where i could be doing this.
However, I added some xlogs calls in it and I verified this:before
crashing, opensips executes onreply_route two times for the same reply and
on each of these replies there is a call to fix_nated_contact. This doesn't
happen always (it takes some time to reproduce) but when it happens, it is
always because opensips executed onreply_route two times (and one of the
routes was never armed with t_on_reply).
So maybe something is corrupting opensips data.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3312934&group_id=232389
More information about the Devel
mailing list