Closed
Bug 418498
Opened 16 years ago
Closed 15 years ago
"ASSERTION: Already have a document. Unbind first!" with XBL
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 460876
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion)
Attachments
(2 files)
I have a testcase that uses XBL and sometimes triggers one or both of: ###!!! ASSERTION: Already have a document. Unbind first!: '!GetCurrentDoc() && !IsInDoc()', file /Users/jruderman/trunk/mozilla/content/base/src/nsGenericDOMDataNode.cpp, line 568 ###!!! ASSERTION: Already have a document. Unbind first!: '!GetCurrentDoc()', file /Users/jruderman/trunk/mozilla/content/base/src/nsGenericElement.cpp, line 1981 I can reproduce reliably enough to extract bits of information from gdb, but not reliably enough to make a reduced testcase. How enlightening is the attached stack trace? These assertions were added in 2005 in bug 286000.
Comment 1•16 years ago
|
||
Hmm.... I thought we already had this on file for situations when the XUL forces binding attachment. Not sure. smaug might know?
Reporter | ||
Comment 2•16 years ago
|
||
Here's a testcase that triggers the bug by forcing a garbage collection at the right moment. Related to bug 429623?
Reporter | ||
Comment 3•16 years ago
|
||
This bug might be related to some too-much-recursion crashes I've been seeing with nsXULElement::BindToTree.
Reporter | ||
Comment 4•15 years ago
|
||
The testcase now triggers: Error: uncaught exception: [Exception... "Operation is not supported" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "file:///Users/jruderman/Downloads/f4.xul Line: 13"] Which means it is a duplicate.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•