pj_caching_pool_destory - infinite loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using pjsip stack on windows. Sometimes pjsip clean up goes to an
infinite loop and also keeps feeling up the log file. Log file points to a
case where most probably the linked list has gone bad and same pool object
being cleaned again and again.

Is there any bug related to link list problem? I am using almost a year old
pjsip trunk of April 2008. This could also be due to my app corrupting the
list data structure, I am yet to find any suspect on that.

Snippet of log file:

 10:59:28.828    tsx0FC96734 Incoming Response msg 401/REGISTER/cseq=31953
(rdata08233024) in state Calling
 10:59:28.828    tsx0FC96734 State changed from Calling to Completed,
event=RX_MSG
 10:59:28.828    tsx0FC8FE74 Transaction created for Request msg
REGISTER/cseq=31954 (tdta082B1F50)
 10:59:28.828    tsx0FC8FE74 Sending Request msg REGISTER/cseq=31954
(tdta082B1F50) in state Null
 10:59:28.828  sip_resolve.c Target '192.168.8.9:6999' type=Unspecified
resolved to '192.168.8.9:6999' type=UDP (UDP transport)
 10:59:28.828   pjsua_core.c TX 661 bytes Request msg REGISTER/cseq=31954
(tdta082B1F50) to UDP 192.168.8.9:6999:
REGISTER sip:192.168.8.9:6999 SIP/2.0
Via: SIP/2.0/UDP
192.168.8.227:8435;rport;branch=z9hG4bKPjfc6628a1108a4d45930b221b74d85f41

Route: <sip:192.168.8.9:6999;lr> <sip:192.168.8.9:6999;lr>
Max-Forwards: 70
From: "sohil" <sip:sohil@xxxxxxxxx>
<sip:sohil at gslab.com>;tag=95d1b4ce8b7d41b4acab0646526e4879

To: "sohil" <sip:sohil at gslab.com> <sip:sohil at gslab.com>
Call-ID: 2c906b82548249f7a40a31903ac4d9c7
CSeq: 31954 REGISTER
User-Agent: cxclient-kweb 2.3.0.15315
Contact: "sohil" <sip:sohil at 192.168.8.227:8435><sip:sohil at 192.168.8.227:8435>
Expires: 0
Authorization: Digest username="sohil", realm="gslab.com",
nonce="4a0272c84a4a6fea710552f7aa7956434a5c519a",
uri="sip:192.168.8.9:6999"<sip:192.168.8.9:6999>,
response="f273f25d50e6bcc43dba263b206f80b3"
Content-Length:  0


--end msg--
 10:59:28.828    tsx0FC8FE74 State changed from Null to Calling,
event=TX_MSG
 10:59:28.843 sip_endpoint.c Processing incoming message: Response msg
200/REGISTER/cseq=31954 (rdata08233024)
 10:59:28.843   pjsua_core.c RX 394 bytes Response msg
200/REGISTER/cseq=31954 (rdata08233024) from UDP 192.168.8.9:6999:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.8.227:8435;rport=8435;branch=z9hG4bKPjfc6628a1108a4d45930b221b74d85f41

From: "sohil" <sip:sohil@xxxxxxxxx>
<sip:sohil at gslab.com>;tag=95d1b4ce8b7d41b4acab0646526e4879

To: "sohil" <sip:sohil at gslab.com>
<sip:sohil at gslab.com>;tag=3e974ff09b1f45525fce36b23c7663f5.762e

Call-ID: 2c906b82548249f7a40a31903ac4d9c7
CSeq: 31954 REGISTER
Server: OpenSER (1.2.1-notls (i386/linux))
Content-Length: 0


--end msg--
 10:59:28.843    tsx0FC8FE74 Incoming Response msg 200/REGISTER/cseq=31954
(rdata08233024) in state Calling
 10:59:28.843    tsx0FC8FE74 State changed from Calling to Completed,
event=RX_MSG
 10:59:28.984          pjsua Thread stack max usage=6945 by
..\src\pj\string.c:171
 10:59:29.078   pjsua_core.c Shutting down...
 10:59:30.078  pjsua_media.c Closing (null) sound playback device and (null)
sound capture device
 10:59:30.109      pasound.c Stopping stream..
 10:59:30.109      pasound.c PA message: WinMME StopStream: waiting for
background thread.

 10:59:30.203      pasound.c PA message: WinMME StopStream: waiting for
background thread.

 10:59:30.203      pasound.c Done, status=0
 10:59:30.203      pasound.c Closing Realtek HD Audio Input: 0 underflow, 0
overflow
 10:59:30.703          media Thread stack max usage=2849 by
..\src\pj\string.c:171
 10:59:30.703      pasound.c PortAudio sound library shutting down..
 10:59:30.703      pasound.c PA message: TerminateHostApis in

 10:59:30.703      pasound.c PA message: TerminateHostApis out

 10:59:30.703 sip_endpoint.c Destroying endpoing instance..
 10:59:30.703 sip_endpoint.c Module "mod-pjsua-options" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-pjsua-im" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-pjsua-pres" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-pjsua" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-stateful-util" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-refer" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-presence" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-evsub" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-invite" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-100rel" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-ua" unregistered
 10:59:30.703 sip_transactio Stopping transaction layer module
 10:59:30.703    tsx0FC8FE74 Transaction destroyed!
 10:59:30.703   tdta082B1F50 Destroying txdata Request msg
REGISTER/cseq=31954 (tdta082B1F50)
 10:59:30.703    tsx0FC96734 Transaction destroyed!
 10:59:30.703   tdta0823B068 Destroying txdata Request msg BYE/cseq=11172
(tdta0823B068)
 10:59:30.703    tsx0FC98884 Transaction destroyed!
 10:59:30.703 sip_transactio Transaction layer module destroyed
 10:59:30.703 sip_endpoint.c Module "mod-tsx-layer" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-msg-print" unregistered
 10:59:30.703 sip_endpoint.c Module "mod-pjsua-log" unregistered
 10:59:30.703 sip_transport. Destroying transport manager
 10:59:30.703 sip_endpoint.c Endpoint 082D62AC destroyed
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
 10:59:30.703   pept082D6248 Pool is not released by application, releasing
now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090507/8648660c/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux