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

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to