[asterisk-dev] IAX2 changes - thank you!

Loic Didelot ldidelot at voipgate.com
Thu Aug 16 02:00:28 CDT 2007


Hello,
I am no longer able to crash asterisk during my stress testing. This is
good news.

I will now try to check functionality.

Best regards,
Loic Didelot.

On Wed, 2007-08-15 at 18:25 -0400, Russell Bryant wrote:
> Russell Bryant wrote:
> > I have been working on this test system for the past couple of days.  Yesterday, 
> > I fixed a bunch of deadlocks in chan_iax2 that were exposed by this load test. 
> > Today, I have been working on the crash.
> > 
> > It was trivial to make this system crash, as described above.  However, every 
> > backtrace was different.  Looking at each one led me to the conclusion that it 
> > was due to poor (lack of) reference counting of the iax2_peer objects.
> > 
> > I wrote a patch to fix this but I would like to get some testing on it before 
> > commit.  Also, the ideal solution would be to go ahead and convert it to use 
> > astobj2, but I'll leave that for another day.  It appears to be working on this 
> > test system.
> > 
> > The code, a branch off of 1.4, is here if anyone is interested in trying it out:
> > 
> > $ svn co http://svn.digium.com/svn/asterisk/team/russell/iax_refcount
> 
> Now the code in this branch uses astobj2.  I am feeling pretty good about it. 
> It appears to be working but testing would be *much* appreciated as these 
> changes are very invasive ...
> 
-- 
Loic DIDELOT (CTO)
voipGATE S.A.
Tel: +352 20 200 223
Fax: +352 20 200 923
E-mail: ldidelot at voipgate.com
Web: http://www.voipgate.com





More information about the asterisk-dev mailing list