Are you talking about the line inside SipConnection::getInitialSdpCodecs( ) ?
The code does seem to check for NULL pointer, where exactly does it crash?
Regards,
Daníel
> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL
> PROTECTED]> CC: [email protected]> Subject: Re: [sipxtapi-dev]
> OsMsgPool::FindFreeMsg 'MediaSignals' queuesize(33) exceeds soft limit (32)>
> Date: Sat, 30 Jun 2007 04:36:18 +0200> > I think I found the cause of my
> problem...> > Sipxtapi crashes when the INVITE message has a multipart SDP
> body such as> the following.> In SipConnection.cpp, this statement returns
> null> > SdpBody* sdpBody = (SdpBody*)sdpMessage->getSdpBody(mpSecurity,>
> mpCallManager);> > By the way, I saw there is a SipxSdpLib project... what is
> the status of> this ?> > ---------------------------> > Sample crashing
> content in INVITE:> > Content-Type:
> multipart/mixed;boundary=\"unique-boundary-1\"\r\n> Content-Length: 751\r\n>
> \r\n> --unique-boundary-1\r\n> Content-Type:
> application/ISUP;version=cp10isup ;base=etsi121\r\n> Content-Disposition:
> signal;handling=optional\r\n\r\n01 3d 01 1f 0a 07 83 13> 71 08 09 37 01 03 17
> 6c 0d 11 80 33 33 31 37 38 30 39 30 37 33 31 28 06 53> 54> > 49 50 55 53 08
> 01 80 07 02 48 00 02 01 00 09 02 0a 00 01 05 5c 62 00 b8 0b> 04 09 04 90 00
> 12 83 02 00 22 f0 31 02 00 3c 06 01 12 00\r\n> --unique-boundary-1\r\n>
> Content-Type: application/SDP\r\n> \r\n> v=0\r\n> o=cp10 118316119459
> 118316119460 IN IP4 <ip_address>\r\n> s=SIP Call\r\n> c=IN IP4
> <ip_address>\r\n> t=0 0\r\n> m=audio 20070 RTP/AVP 8 0 18 101\r\n>
> b=AS:64\r\n> a=rtpmap:8 PCMA/8000/1\r\n> a=rtpmap:0 PCMU/8000/1\r\n>
> a=rtpmap:18 G729/8000/1\r\n> a=fmtp:18 annexb=no\r\n> a=rtpmap:101
> telephone-event/8000\r\n> a=fmtp:101 0-15\r\n> a=ptime:20\r\n> \r\n>
> --unique-boundary-1--====================END====================\n"> > > > >
> > > ----- Original Message ----- > From: "stipus" <[EMAIL PROTECTED]>> To:
> "Daniel Sigurgeirsson" <[EMAIL PROTECTED]>; "Jaroslav Libak"> <[EMAIL
> PROTECTED]>; "Alexey Trizno" <[EMAIL PROTECTED]>> Cc:
> <[email protected]>> Sent: Friday, June 29, 2007 5:45 PM>
> Subject: Re: [sipxtapi-dev] OsMsgPool::FindFreeMsg 'MediaSignals'>
> queuesize(33) exceeds soft limit (32)> > > I compared the SIP traces between
> a call with normal behavior, and a call> crashing sipxtapi.> > The difference
> I found on 2 traces is that I'm getting a RE-INVITE, and the> crash happens
> just after sipxtapi receives the RE-INVITE .> > --> INVITE> <-- TRYING> <--
> OK> --> ACK> --> INVITE *** crash ***> > Here is the INVITE message I'm
> getting just before the crash (phone numbers> and ip addr replaced by xx and
> ip):> >
> "2007-06-28T18:12:29.687000Z":3145:INCOMING_PARSED:DEBUG:klnta:SipClient-6:0>
> 0000D40:sipXtapi:"INVITE sip:[EMAIL PROTECTED]:5060;user=phone SIP/2.0\r\n>
> From:> <sip:[EMAIL
> PROTECTED];user=phone>;tag=ca1c11ac-13c4-4683fa0e-10a2305c-248e90ff\r\n> To:
> <sip:[EMAIL PROTECTED];user=phone>;tag=31881\r\n> Call-Id: [EMAIL PROTECTED]>
> Cseq:2 INVITE\r\n> Via: SIP/2.0/UDP
> ip:5060;branch=z9hG4bK-4683fa0e-10a2315e-21c9dbb8\r\n> Allow:
> UPDATE,REFER\r\n> Max-Forwards: 30\r\n> P-Asserted-Identity: <sip:[EMAIL
> PROTECTED];user=phone>\r\n> User-Agent: Cirpack/v4.40 (gw_sip)\r\n> Contact:
> <sip:[EMAIL PROTECTED]:5060;transport=UDP;user=phone>\r\n> Content-Type:
> application/SDP\r\n> Content-Length: 248\r\n> Date: Thu, 28 Jun 2007 18:12:29
> GMT\r\n\> r\n> v=0\r\n> o=cp10 118305425913 118305425915 IN IP4 ip\r\n> s=SIP
> Call\r\n> c=IN IP4 ip\r\n> t=0 0\r\n> m=audio 20822 RTP/AVP 8 0 18\r\n>
> b=AS:64\r\n> a=fmtp:18 annexb=no\r\n> a=ptime:20\r\n> a=rtpmap:8
> PCMA/8000/1\r\n> a=rtpmap:0 PCMU/8000/1\r\n> a=rtpmap:18 G729/8000/1\r\n>
> ++++++++++++++++++++END++++++++++++++++++++\n"> > > >
> "2007-06-28T18:12:33.453000Z":3146:SIP:DEBUG:klnta:SipUserAgent-3:00000CB4:s>
> ipXtapi:"SipUserAgent::handleMessage after GC, queue size = 0">
> "2007-06-28T18:12:33.453000Z":3147:KERNEL:WARNING:klnta::00000000:sipXtapi:">
> OsMsgPool::FindFreeMsg 'MediaSignals' queue size (33) exceeds soft limit>
> (32)\n">
> "2007-06-28T18:12:33.453000Z":3148:KERNEL:WARNING:klnta::00000000:sipXtapi:">
> OsMsgPool::FindFreeMsg 'MediaSignals' queue size (34) exceeds soft limit>
> (32)\n"> > ...> >
> "2007-06-28T18:12:33.453000Z":3178:KERNEL:WARNING:klnta::00000000:sipXtapi:">
> OsMsgPool::FindFreeMsg 'MediaSignals' queue size (64) exceeds soft limit>
> (32)\n">
> "2007-06-28T18:12:33.453000Z":3179:KERNEL:CRIT:klnta::00000000:sipXtapi:"OsM>
> sgPool::FindFreeMsg 'MediaSignals' queue size (64) exceeds hard limit>
> (64)\n"> > And the app is crashing.> > > ----- Original Message ----- > From:
> "Daniel Sigurgeirsson" <[EMAIL PROTECTED]>> To: "Jaroslav Libak" <[EMAIL
> PROTECTED]>; "Alexey Trizno" <[EMAIL PROTECTED]>> Cc:
> <[email protected]>> Sent: Friday, June 29, 2007 4:17 PM>
> Subject: Re: [sipxtapi-dev] OsMsgPool::FindFreeMsg 'MediaSignals' queue>
> size(33) exceeds soft limit (32)> > > I'm also getting these log messages,
> followed by a crash. But then again, it> only happens in Release mode.> >
> Regards,> Daníel> > > > > Date: Fri, 29 Jun 2007 11:28:24 +0200> From: [EMAIL
> PROTECTED]> To:> [EMAIL PROTECTED]> CC: [email protected]>
> Subject: Re:> [sipxtapi-dev] OsMsgPool::FindFreeMsg 'MediaSignals' queue size
> (33) exceeds> soft limit (32)> > Alexey Trizno wrote:> > Hello!> > > > May be
> I must try> refactored version?> > After call destroyed, debug log looks like
> this:> > >> > [2007-06-29T07:21:37.003000Z] [75] [SIPXTAPI] [INFO] [xpgwpc]
> [Call-22]> [00000768] [sipXtapi] sipxFireCallEvent Src=014EF028>
> CallId=s_2402_e4e04b815cae> RemoteAddress=<sip:[EMAIL
> PROTECTED]>;tag=as59079467> Event=DESTROYED:CAUSE_NORMAL> >
> [2007-06-29T07:23:53.513000Z] [76] [KERNEL]> [WARNING] [xpgwpc] [] [00000000]
> [sipXtapi] OsMsgPool::FindFreeMsg> 'MediaSignals' queue size (33) exceeds
> soft limit (32)> >> [2007-06-29T07:23:53.513000Z] [77] [KERNEL] [WARNING]
> [xpgwpc] [] [00000000]> [sipXtapi] OsMsgPool::FindFreeMsg 'MediaSignals'
> queue size (34) exceeds> soft limit (32)> > [2007-06-29T07:23:53.513000Z]
> [78] [KERNEL] [WARNING]> [xpgwpc] [] [00000000] [sipXtapi]
> OsMsgPool::FindFreeMsg 'MediaSignals'> queue size (35) exceeds soft limit
> (32)> > [2007-06-29T07:23:53.513000Z]> [79] [KERNEL] [WARNING] [xpgwpc] []
> [00000000] [sipXtapi]> OsMsgPool::FindFreeMsg 'MediaSignals' queue size (36)
> exceeds soft limit> (32)> > [2007-06-29T07:23:53.513000Z] [80] [KERNEL]
> [WARNING] [xpgwpc] []> [00000000] [sipXtapi] OsMsgPool::FindFreeMsg
> 'MediaSignals' queue size (37)> exceeds soft limit (32)> >
> [2007-06-29T07:23:53.513000Z] [81] [KERNEL]> [WARNING] [xpgwpc] [] [00000000]
> [sipXtapi] OsMsgPool::FindFreeMsg> 'MediaSignals' queue size (38) exceeds
> soft limit (32)> >> [2007-06-29T07:23:53.513000Z] [82] [KERNEL] [WARNING]
> [xpgwpc] [] [00000000]> [sipXtapi] OsMsgPool::FindFreeMsg 'MediaSignals'
> queue size (39) exceeds> soft limit (32)> > [2007-06-29T07:23:53.513000Z]
> [83] [KERNEL] [WARNING]> [xpgwpc] [] [00000000] [sipXtapi]
> OsMsgPool::FindFreeMsg 'MediaSignals'> queue size (40) exceeds soft limit
> (32)> > [2007-06-29T07:23:53.513000Z]> [84] [KERNEL] [WARNING] [xpgwpc] []
> [00000000] [sipXtapi]> OsMsgPool::FindFreeMsg 'MediaSignals' queue size (41)
> exceeds soft limit> (32)> > [2007-06-29T07:23:53.513000Z] [85] [KERNEL]
> [WARNING] [xpgwpc] []> [00000000] [sipXtapi] OsMsgPool::FindFreeMsg
> 'MediaSignals' queue size (42)> exceeds soft limit (32)> >
> [2007-06-29T07:23:53.513000Z] [86] [KERNEL]> [WARNING] [xpgwpc] [] [00000000]
> [sipXtapi] OsMsgPool::FindFreeMsg> 'MediaSignals' queue size (43) exceeds
> soft limit (32)> >> [2007-06-29T07:23:53.513000Z] [87] [KERNEL] [WARNING]
> [xpgwpc] [] [00000000]> [sipXtapi] OsMsgPool::FindFreeMsg 'MediaSignals'
> queue size (44) exceeds> soft limit (32)> > [2007-06-29T07:23:53.513000Z]
> [88] [KERNEL] [WARNING]> [xpgwpc] [] [00000000] [sipXtapi]
> OsMsgPool::FindFreeMsg 'MediaSignals'> queue size (45) exceeds soft limit
> (32)> > [2007-06-29T07:23:53.513000Z]> [89] [KERNEL] [WARNING] [xpgwpc] []
> [00000000] [sipXtapi]> OsMsgPool::FindFreeMsg 'MediaSignals' queue size (46)
> exceeds soft limit> (32)> > [2007-06-29T07:23:53.513000Z] [90] [KERNEL]
> [WARNING] [xpgwpc] []> [00000000] [sipXtapi] OsMsgPool::FindFreeMsg
> 'MediaSignals' queue size (47)> exceeds soft limit (32)> >
> [2007-06-29T07:23:53.513000Z] [91] [KERNEL]> [WARNING] [xpgwpc] [] [00000000]
> [sipXtapi] OsMsgPool::FindFreeMsg> 'MediaSignals' queue size (48) exceeds
> soft limit (32)> > > > Refactored> version wont help you with this, as this
> problem is in> medialib as> Alexander said.> > Btw. the refactored version on
> the web is already> obsolete, I wouldn't> recommend using it unless you
> really want to. I'm> working on it daily,> so it gets obsolete pretty fast.>
> > Jaro>> _______________________________________________> sipxtapi-dev
> mailing list>> [email protected]> List Archive:>
> http://list.sipfoundry.org/archive/sipxtapi-dev/>
> _________________________________________________________________> Make every
> IM count. Download Windows Live Messenger and join the i’m> Initiative now.
> It’s free.> http://im.live.com/messenger/im/home/?source=TAGWL_June07> > >
_________________________________________________________________
Make every IM count. Download Windows Live Messenger and join the i’m
Initiative now. It’s free.
http://im.live.com/messenger/im/home/?source=TAGWL_June07
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/