Closed
Bug 600933
Opened 15 years ago
Closed 15 years ago
points.initialize causes nsDocument leak and "ABORT: Tear-off objects remain in hashtable at shutdown"
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: assertion, memory-leak, testcase)
Attachments
(3 files)
1. Temporarily install 'DOM Fuzz Lite' from
https://www.squarefree.com/extensions/domFuzzLite.xpi
2. Load one of the testcases.
Result: leak nsDocument / abort
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
###!!! ABORT: Tear-off objects remain in hashtable at shutdown.: 'mTable.Count() == 0', file content/svg/content/src/nsSVGAttrTearoffTable.h, line 54
At nsSVGAttrTearoffTable<nsSVGLength2, nsIDOMSVGAnimatedLength>::
~nsSVGAttrTearoffTable()
Reporter | ||
Comment 3•15 years ago
|
||
The line
x.points.initialize({})
now triggers
Error: uncaught exception: [Exception... "Unknown or invalid type" code: "0" nsresult: "0x80620000 (NS_ERROR_DOM_SVG_WRONG_TYPE_ERR)" location: "file:///Users/jruderman/Desktop/s.svg Line: 14"]
Reporter | ||
Comment 4•15 years ago
|
||
... thanks to the fix for bug 601251.
Reporter | ||
Comment 5•15 years ago
|
||
Did that fix the leak bug, or just break the testcase?
Reporter | ||
Updated•15 years ago
|
blocking2.0: --- → ?
Comment 6•15 years ago
|
||
It stopped you being able to pass random weird things to most SVG DOM methods. The leak may well no longer be triggerable.
Comment 7•15 years ago
|
||
You'll have to try harder from now on ;-)
Reporter | ||
Comment 8•15 years ago
|
||
Fair enough ;)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
blocking2.0: ? → final+
You need to log in
before you can comment on or make changes to this bug.
Description
•