On Wed, Nov 26, 2008 at 10:50 PM, Carsten Avenhaus <[EMAIL PROTECTED]> wrote:
> "better" is in the eye of the beholder. :-)
>
> Here is what I am currently using. It's a mix of the patches plus one
> other issue I found.
Please, split your patch into atomic chunks. That is one patch for every
logically-separate change, like SSRC reset, DTMF fix, etc.
> I am also experiencing memory corruptions that were not there in older
> sipXtapi versions. I don't know if they are related to the new Jitter
> Buffer.
Which version do you refer here as "older"?
> I am getting a Signal 8 Floating Point Exception or Signal 11 Segfault.
> The Segfault often totally corrupts the stack and GDB can not give a
> backtrace.
>
> Here are some Signal 8 GDB traces.
>
> Notice the 33554432 (0x2000000) moved from samplesPerFrame to outBufsSize.
> Also in the first bt the MprBridge::doProcessFrame() is already corrupted,
> while in the second one it's only MpBridgeAlgLinear::doMix()
>
> This leads me to suspect that the problem may be outside of these functions.
Hum... Never've seen this crash. Could you describe how to reproduce it?
I'll debug it here then.
Meantime I can recommend you to run your program from under Valgrind.
It might help a bit.
> Index: sipXtapi-3.2/sipXsdpLib/src/sdp/SdpCodecList.cpp
> ===================================================================
> --- sipXtapi-3.2/sipXsdpLib/src/sdp/SdpCodecList.cpp (revision 10954)
> +++ sipXtapi-3.2/sipXsdpLib/src/sdp/SdpCodecList.cpp (working copy)
> @@ -349,7 +349,7 @@
> if( (foundMimeSubType.compareTo(mimeSubTypeString,
> UtlString::ignoreCase) == 0)
> && (sampleRate == -1 || codecFound->getSampleRate() ==
> sampleRate)
> && (numChannels == -1 || codecFound->getNumChannels() ==
> numChannels)
> - && (fmtp == foundFmtp)
> + && (*foundFmtp.data() == 0 || fmtp == foundFmtp)
> && (codecFound->getCPUCost() <= mCodecCPULimit))
> {
> // we found a match
What is the reason for this change?
Also, re: DTMF issue
Could you send me a Wireshark trace with DTMFs which breaks
JBE?
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/