W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2003

HtNet_Delete: memory leak...???

From: Sinha, Raj (Raj) <rajsinha@avaya.com>
Date: Tue, 26 Aug 2003 11:01:38 -0400
Message-ID: <8CA1128D59AD27429985B397118CEDDF01208A23@nj7460avexu1.global.avaya.com>
To: <www-lib@w3.org>

Hi All

I have been trying to find this leak but with no luck. 

The embedded platform tools tell me that I am loosing about 8kb for
every request. The stack trace is as follows:

_HTEventList_loop->_HTEventList_lookup->_sendHTRequest->_HTLoadAnchor->_
HTXParse->_HTLoad->_HTNet_newClient->_HTNet_count->_HTList_new->_HTMemor
y_calloc->_calloc->_memPartAlloc

And the trace of the CORE is as below. I do see that the net object is
being deleted. Can someone point me in the right direction please. Is
there a documented leak in HTNet_NewClient that I am not aware of...

Thanks

raj


-> Request..... Created 0xadd5f0
Net Before.. calling 0xbff810 (request 0xadd5f0, context 0x0)
Net Before.. calling 0xc000c8 (request 0xadd5f0, context 0x0)
URL Tree.... did NOT find `w3c-AA'
Net Before.. calling 0xc18524 (request 0xadd5f0, context 0x0)
URL Tree.... did NOT find `w3c-pep'
Net Before.. calling 0xbff6ac (request 0xadd5f0, context 0x0)
Net Object.. 0xadd56c created with hash 1
NET OBJECT ****************************
NET OBJECT Net Object.. starting request 0xadd5f0 (retry=1) with net
object 0xadd56c
Net Object.. starting request 0xadd5f0 (retry=1) with net object
0xadd56c
Host info... Found Host 0xaf604c with no active channel
Host connect Grabbing lock on Host 0xaf604c with 0xadd56c
Host info... Added Net 0xadd56c (request 0xadd5f0) to pipe on Host
0xaf604c, 1 requests made, 1
requests in pipe, 0 pending
HTHost...... No ActivateRequest callback handler registered
ParseInet... as port 80 on 135.8.63.60 with 1 homes
Net Manager. Increasing active sockets to 1, 0 persistent sockets
Alert Call.. No entry found for opcode 2
Host connect Unlocking Host 0xaf604c
StreamStack. Constructing stream stack for text/x-http to www/present
Alert Call.. No entry found for opcode 16
Alert Call.. No entry found for opcode 8
Response.... Created 0xadcf08
Net Manager. 1 active sockets, increasing persistent sockets to 1
Host info... added host 0xaf604c as persistent
Net Object.. Persistent connection set ON succeeded
StreamStack. Constructing stream stack for message/rfc822 to www/present
Error....... Add   2    Severity: 8     Parameter: `OK' Where:
`HTTPNextState'
Host........ passing 17 bytes as consumed to 0xa7a674
StreamStack. Constructing stream stack for text/vnd.wap.wml to
www/present
Host........ passing 216 bytes as consumed to 0xa7a674
Alert Call.. No entry found for opcode 32
Host........ passing 1295 bytes as consumed to 0xa7a674
Net Object.. Delete 0xadd56c and call AFTER filters
****************************************************
Net Object.. Delete 0xadd56c and call AFTER filters
Host info... Remove 0xadd56c from pipe
Host Object. keeping persistent socket 18
Net Object.. Check for pending Net objects
Net Object.. Freeing object 0xadd56c
*****************************************************
Net Object.. Delete 0xadd56c Success
Net After... calling 0xc001d8 (request 0xadd5f0, response 0xadcf08,
status 200, context 0x0)
Net After... calling 0xc18670 (request 0xadd5f0, response 0xadcf08,
status 200, context 0x0)
Net After... calling 0xbffa14 (request 0xadd5f0, response 0xadcf08,
status 200, context 0x0)
Net After... calling 0xd866a8 (request 0xadd5f0, response 0xadcf08,
status 200, context 0x0)
Request..... Delete 0xadd5f0
Response.... Delete 0xadcf08
	

Raj Sinha
 
Received on Tuesday, 26 August 2003 11:01:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:43 GMT