Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    18
    Vote Rating
    1
    VT-TizianoF is on a distinguished road

      0  

    Default [OPEN-1001] Memory leak on buttons inside a window

    [OPEN-1001] Memory leak on buttons inside a window


    Ext version tested:
    • Ext 3.2.1


    Adapter used:
    • ext


    css used:
    • only default ext-all.css




    Browser versions tested against:
    • IE8


    Operating System:
    • WinXP Pro


    Description:
    Using sIEve, I see that after a 'show' and then a 'close' by clicking the button, the number of dom nodes increase by 3.

    Apart from the shadow node (that's normal), there are two nodes that do not get GC:

    Here is the copy/paste from sIEve:
    Code:
    file://C:\Documents and Settings\FurlanTi\Desktop\ext-3.2.1\examples\leak.html	(1 reference)
    	nextSibling	[null object]
    	onresizeend	
    	onrowenter	
    	aria-haspopup	
    	childNodes	[object]
    	ondragleave	
    	canHaveHTML	-1
    	onbeforepaste	
    	ondragover	
    	onbeforecopy	
    	aria-disabled	
    	onpage	
    	recordNumber	
    	previousSibling	[null object]
    	nodeName	TABLE
    	onbeforeactivate	
    	accessKey	
    	currentStyle	[object]
    	scrollLeft	0
    	onbeforeeditfocus	
    	oncontrolselect	
    	aria-hidden	
    	onblur	
    	hideFocus	0
    	clientHeight	0
    	style	[object]
    	onbeforedeactivate	
    	dir	
    	aria-expanded	
    	onkeydown	
    	nodeType	1
    	ondragstart	
    	onscroll	
    	onpropertychange	
    	ondragenter	
    	id	ext-comp-1003
    	aria-level	0
    	onrowsinserted	
    	scopeName	HTML
    	lang	
    	onmouseup	
    	aria-busy	
    	oncontextmenu	
    	language	
    	scrollTop	0
    	offsetWidth	0
    	onbeforeupdate	
    	onreadystatechange	
    	onmouseenter	
    	filters	(unknown)
    	onresize	
    	isContentEditable	0
    	aria-checked	
    	aria-readonly	
    	oncopy	
    	onselectstart	
    	scrollHeight	0
    	onmove	
    	ondragend	
    	onrowexit	
    	lastChild	[null object]
    	aria-secret	
    	onactivate	
    	canHaveChildren	-1
    	onfocus	
    	onfocusin	
    	isMultiLine	-1
    	onmouseover	
    	offsetTop	0
    	oncut	
    	parentNode	[object]
    	tagName	TABLE
    	className	x-btn x-btn-noicon x-btn-over x-btn-focus
    	onmousemove	
    	title	
    	role	
    	behaviorUrns	[object]
    	onfocusout	
    	onfilterchange	
    	disabled	0
    	parentTextEdit	[null object]
    	ownerDocument	[object]
    	offsetParent	[null object]
    	aria-posinset	0
    	ondrop	
    	ondblclick	
    	onrowsdelete	
    	tabIndex	0
    	onkeypress	
    	aria-relevant	
    	onlosecapture	
    	innerText	
    	aria-live	
    	parentElement	[null object]
    	ondeactivate	
    	aria-labelledby	
    	aria-pressed	
    	children	[object]
    	ondatasetchanged	
    	ondataavailable	
    	aria-invalid	
    	onafterupdate	
    	nodeValue	
    	onmousewheel	
    	onkeyup	
    	readyState	complete
    	onmovestart	
    	aria-valuenow	
    	aria-selected	
    	onmouseout	
    	aria-owns	
    	aria-valuemax	
    	onmoveend	
    	contentEditable	inherit
    	document	[object]
    	firstChild	[null object]
    	sourceIndex	0
    	outerText	
    	isTextEdit	0
    	isDisabled	0
    	oncellchange	
    	runtimeStyle	[object]
    	scrollWidth	0
    	aria-valuemin	
    	onlayoutcomplete	
    	onhelp	
    	attributes	[object]
    	offsetHeight	0
    	onerrorupdate	
    	onmousedown	
    	clientTop	0
    	aria-setsize	0
    	clientWidth	0
    	onpaste	
    	tagUrn	
    	onmouseleave	
    	onclick	
    	outerHTML	
    <TABLE style="WIDTH: 75px" id=ext-comp-1003 class="x-btn x-btn-noicon x-btn-over x-btn-focus" cellSpacing=0 __sIEve_hookedNode="true"></TABLE>
    	ondrag	
    	aria-controls	
    	onresizestart	
    	aria-flowto	
    	ondatasetcomplete	
    	aria-required	
    	clientLeft	0
    	aria-describedby	
    	all	[object]
    	onbeforecut	
    	innerHTML	
    	aria-activedescendant	
    	aria-multiselectable	
    	offsetLeft	0
    	tBodies	[object]
    	border	
    	rules	
    	cellSpacing	0
    	borderColor	
    	rows	[object]
    	summary	
    	caption	[null object]
    	borderColorLight	
    	dataFld	
    	borderColorDark	
    	dataSrc	
    	tFoot	[null object]
    	cellPadding	
    	dataPageSize	0
    	width	
    	background	
    	bgColor	
    	frame	
    	dataFormatAs	
    	tHead	[null object]
    	align	
    	height	
    	cells	[object]
    	cols	0
    	cloneNode	[object]
    
    
    file://C:\Documents and Settings\FurlanTi\Desktop\ext-3.2.1\examples\leak.html	(1 reference)
    	nextSibling	[null object]
    	onresizeend	
    	onrowenter	
    	aria-haspopup	
    	childNodes	[object]
    	ondragleave	
    	canHaveHTML	-1
    	onbeforepaste	
    	ondragover	
    	onbeforecopy	
    	aria-disabled	
    	onpage	
    	recordNumber	
    	previousSibling	[null object]
    	nodeName	BUTTON
    	onbeforeactivate	
    	accessKey	
    	currentStyle	[object]
    	scrollLeft	0
    	onbeforeeditfocus	
    	oncontrolselect	
    	aria-hidden	
    	onblur	
    	hideFocus	0
    	clientHeight	0
    	style	[object]
    	onbeforedeactivate	
    	dir	
    	aria-expanded	
    	onkeydown	
    	nodeType	1
    	ondragstart	
    	onscroll	
    	onpropertychange	
    	ondragenter	
    	id	ext-gen17
    	aria-level	0
    	onrowsinserted	
    	scopeName	HTML
    	lang	
    	onmouseup	
    	aria-busy	
    	oncontextmenu	
    	language	
    	scrollTop	0
    	offsetWidth	0
    	onbeforeupdate	
    	onreadystatechange	
    	onmouseenter	
    	filters	(unknown)
    	onresize	
    	isContentEditable	0
    	aria-checked	
    	aria-readonly	
    	oncopy	
    	onselectstart	
    	scrollHeight	0
    	onmove	
    	ondragend	
    	onrowexit	
    	lastChild	[null object]
    	aria-secret	
    	onactivate	
    	canHaveChildren	-1
    	onfocus	
    	onfocusin	
    	isMultiLine	-1
    	onmouseover	
    	offsetTop	0
    	oncut	
    	parentNode	[object]
    	tagName	BUTTON
    	className	 x-btn-text
    	onmousemove	
    	title	
    	role	
    	behaviorUrns	[object]
    	onfocusout	
    	onfilterchange	
    	disabled	0
    	parentTextEdit	[null object]
    	ownerDocument	[object]
    	offsetParent	[null object]
    	aria-posinset	0
    	ondrop	
    	ondblclick	
    	onrowsdelete	
    	tabIndex	0
    	onkeypress	
    	aria-relevant	
    	onlosecapture	
    	innerText	
    	aria-live	
    	parentElement	[null object]
    	ondeactivate	
    	aria-labelledby	
    	aria-pressed	
    	children	[object]
    	ondatasetchanged	
    	ondataavailable	
    	aria-invalid	
    	onafterupdate	
    	nodeValue	
    	onmousewheel	
    	onkeyup	
    	readyState	complete
    	onmovestart	
    	aria-valuenow	
    	aria-selected	
    	onmouseout	
    	aria-owns	
    	aria-valuemax	
    	onmoveend	
    	contentEditable	inherit
    	document	[object]
    	firstChild	[null object]
    	sourceIndex	0
    	outerText	
    	isTextEdit	-1
    	isDisabled	0
    	oncellchange	
    	runtimeStyle	[object]
    	scrollWidth	0
    	aria-valuemin	
    	onlayoutcomplete	
    	onhelp	
    	attributes	[object]
    	offsetHeight	0
    	onerrorupdate	
    	onmousedown	
    	clientTop	0
    	aria-setsize	0
    	clientWidth	0
    	onpaste	
    	tagUrn	
    	onmouseleave	
    	onclick	
    	outerHTML	<BUTTON style="OVERFLOW-X: hidden; OVERFLOW-Y: hidden; WIDTH: 33px; OVERFLOW: hidden" id=ext-gen17 class=" x-btn-text" __sIEve_hookedNode="true"></BUTTON>
    	ondrag	
    	aria-controls	
    	onresizestart	
    	aria-flowto	
    	ondatasetcomplete	
    	aria-required	
    	clientLeft	0
    	aria-describedby	
    	all	[object]
    	onbeforecut	
    	innerHTML	
    	aria-activedescendant	
    	aria-multiselectable	
    	offsetLeft	0
    	name	
    	type	button
    	dataFormatAs	
    	status	
    	dataSrc	
    	dataFld	
    	value	
    	form	[null object]
    	cloneNode	[object]
    Test Case:

    Code:
    Ext.onReady(function(){	
    	var win = new Ext.Window({
    		width:500,
    		height:300,
    		title: 'test panel',
    
    		html : 'test',
    
    		buttons: [
    			{
    				xtype: 'button',
    				text: 'Close',
    				handler : function(btn) {
    					btn.ownerCt.ownerCt.close();
    				}
    			}
    		]
    	});
    
    	win.show();
    });
    Steps to reproduce the problem:
    Simply run the example and click on the close button using sIEve.

    The result that was expected:
    I'd expect that the number of dom nodes return to the initial one (plus the shadow one).

    The result that occurs instead:
    • foo
    • bar


    Screenshot or Video:
    • attached


    Debugging already done:
    • none


    Possible fix:
    • not provided

  2. #2
    Sencha User
    Join Date
    May 2010
    Posts
    18
    Vote Rating
    1
    VT-TizianoF is on a distinguished road

      0  

    Default


    Any news?

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    18
    Vote Rating
    1
    VT-TizianoF is on a distinguished road

      0  

    Default


    So?

Similar Threads

  1. [2.0] Modal window memory leak?
    By mabele in forum Ext 2.x: Bugs
    Replies: 14
    Last Post: 13 May 2010, 6:38 PM
  2. Replies: 14
    Last Post: 9 Dec 2009, 9:40 AM
  3. [2.??] Memory leak in Ext.Window
    By excelsis in forum Ext 2.x: Bugs
    Replies: 11
    Last Post: 18 Dec 2008, 2:32 PM
  4. IE memory leak with Toolbar buttons
    By scottw in forum Community Discussion
    Replies: 2
    Last Post: 15 Sep 2008, 2:14 AM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi