By Date: <-- -->
By Thread: <-- -->

[OPAL] Bug in SIPConnection::OnReceivedSDPMediaDescription



Hello,

I've been stress testing a couple times the CVS HEAD of pwlib and OPAL
and experimenting some stability issues.

This happens after several thousand calls but seems less stable than
the previous CVS versions, dating from november 2005 that I was using
previously.

The hic is that I haven't had time, and doesn't have much of it now to
really help on that.

If that's of any help here is a backtrace of a SIGSEGV I got on my last test :

[...]
#4  0x40284825 in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x4172d7b2 in PAbstractList::GetAt () from
/usr/local/lib/libpt_linux_x86_r.so.1.11.0
#7  0x41731c98 in PAbstractList::GetReferenceAt () from
/usr/local/lib/libpt_linux_x86_r.so.1.11.0
#8  0x408993ca in OpalManager::MakeConnection () from
/usr/local/lib/libopal_linux_x86_r.so.2.3
#9  0x40898be2 in OpalManager::SetUpCall () from
/usr/local/lib/libopal_linux_x86_r.so.2.3
[...]

I'm wondering what is the state of OPAL and Pwlib, I understand that a
release is coming soon, I'm just wondering if anyone has been
experimenting issues too ?
Stability is a big issue for me.

This CVS version I use is from february the 6th. Any fix has been done
that looks even remotely like solving my problem ?

Any information apprecieted,
Best Regards

On 2/3/06, Guillaume Fraysse <gfraysse (at) gmail.com> wrote:
> Hello everyone,
>
> I've been testing the last release of OPAL that can be found on
> voxgratia.org the 2.1 beta2 and I found what seems to be a bug, or at
> least introduce a big step back for the way I use it.
>
> I'm using an external RTP stack and it seems that in that piece of
> code is the cause of my problem :
>
> SIPConnection::OnReceivedSDPMediaDescription method
>   rtpSession = OnUseRTPSession(rtpSessionId, address, localAddress);
>   if (rtpSession == NULL) {
>       Release(EndedByTransportFail);
>       return FALSE;
>   }
>
> as well as a similar piece of code in the
> SIPConnection::OnSendSDPMediaDescription method.
>
> the OnUseRTPSession returns NULL if the rtp session is not created,
> even if it's not because of an error and a volunteer act.
> So the call get released...
>
> I'm not sure that's it's something that is wanted.
>
> I made some ugly workaround to simply not release the call and added a
> check on the validity of rtpSession around the call to
> SetRemoteSocketInfo.
>
> I haven't been able to check if the CVS version works better as of now
> the sourceforge CVS web interface is out.
>
> Best regards,
> Guillaume
>
------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------