Closed Bug 293844 Opened 19 years ago Closed 19 years ago

ASSERTION: Already have a document. Unbind first!: '!GetCurrentDoc()', file r:/mozilla/content/base/src/nsGenericDOMDataNode.cpp

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 292247

People

(Reporter: timeless, Unassigned)

Details

(Keywords: assertion)

cvs build from probably about the beginning of the month (definitely before
bfcache and the security fun stuff)

WARNING: NS_ENSURE_TRUE(mDocument) failed, file
r:/mozilla/layout/base/nsDocumentViewer.cpp, line 1559
WARNING: NS_ENSURE_TRUE(mDocument) failed, file
r:/mozilla/layout/base/nsDocumentViewer.cpp, line 1559
WARNING: NS_ENSURE_TRUE(mDocument) failed, file
r:/mozilla/layout/base/nsDocumentViewer.cpp, line 1559
WARNING: NS_ENSURE_TRUE(mDocument) failed, file
r:/mozilla/layout/base/nsDocumentViewer.cpp, line 1559
WARNING: NS_ENSURE_TRUE(mDocument) failed, file
r:/mozilla/layout/base/nsDocumentViewer.cpp, line 1559
0[344988]: ###!!! ASSERTION: Already have a document.  Unbind first!:
'!GetCurrentDoc()', file r:/mozilla/content/base/src/nsGenericDOMDataNode.cpp,
line 608
0[344988]: ###!!! Break: at file
r:/mozilla/content/base/src/nsGenericDOMDataNode.cpp, line 608

0012e9f0 004be80e ntdll!DbgBreakPoint
0012e9f8 004be74e xpcom_core!nsDebugImpl::Break(char * aFile = 0x01ea7e2c
"r:/mozilla/content/base/src/nsGenericDOMDataNode.cpp", int aLine = 608)+0x7e
[r:\mozilla\xpcom\base\nsdebugimpl.cpp @ 385]
0012ef74 0044730d xpcom_core!nsDebugImpl::Assertion(char * aStr = 0x01ea7e78
"Already have a document.  Unbind first!", char * aExpr = 0x01ea7e64
"!GetCurrentDoc()", char * aFile = 0x01ea7e2c
"r:/mozilla/content/base/src/nsGenericDOMDataNode.cpp", int aLine = 608)+0x29e
[r:\mozilla\xpcom\base\nsdebugimpl.cpp @ 301]
0012ef94 01b3dcda xpcom_core!nsDebug::Assertion(char * aStr = 0x01ea7e78
"Already have a document.  Unbind first!", char * aExpr = 0x01ea7e64
"!GetCurrentDoc()", char * aFile = 0x01ea7e2c
"r:/mozilla/content/base/src/nsGenericDOMDataNode.cpp", int aLine = 608)+0x4d
[r:\mozilla\all-i686-pc-cygwin\xpcom\build\nsdebug.cpp @ 109]
0012efb4 01bc1aaf gklayout!nsGenericDOMDataNode::BindToTree(class nsIDocument *
aDocument = 0x04e43900, class nsIContent * aParent = 0x052c9028, class
nsIContent * aBindingParent = 0x00000000, int aCompileEventHandlers = 1)+0xaa
[r:\mozilla\content\base\src\nsgenericdomdatanode.cpp @ 608]
0012f014 01bc2104 gklayout!nsXULElement::BindToTree(class nsIDocument *
aDocument = 0x04e43900, class nsIContent * aParent = 0x053920c8, class
nsIContent * aBindingParent = 0x00000000, int aCompileEventHandlers = 1)+0x3ff
[r:\mozilla\content\xul\content\src\nsxulelement.cpp @ 1005]
0012f094 01be1e8d gklayout!nsXULElement::AppendChildTo(class nsIContent * aKid =
0x052c9028, int aNotify = 0)+0xf4
[r:\mozilla\content\xul\content\src\nsxulelement.cpp @ 1208]
0012f238 01bdff46 gklayout!nsXULDocument::InsertElement(class nsIContent *
aParent = 0x053920c8, class nsIContent * aChild = 0x052c9028, int aNotify =
0)+0x50d [r:\mozilla\content\xul\document\src\nsxuldocument.cpp @ 4309]
0012f384 01bd898b
gklayout!nsXULDocument::OverlayForwardReference::Resolve(void)+0x106
[r:\mozilla\content\xul\document\src\nsxuldocument.cpp @ 3802]
0012f3b0 01bde14c gklayout!nsXULDocument::ResolveForwardReferences(void)+0xcb
[r:\mozilla\content\xul\document\src\nsxuldocument.cpp @ 1350]
0012f628 01bd733f gklayout!nsXULDocument::ResumeWalk(void)+0xe7c
[r:\mozilla\content\xul\document\src\nsxuldocument.cpp @ 3149]
0012f690 01be73fe gklayout!nsXULDocument::EndLoad(void)+0x38f
[r:\mozilla\content\xul\document\src\nsxuldocument.cpp @ 742]
0012f6b0 02794f26 gklayout!XULContentSinkImpl::DidBuildModel(void)+0x4e
[r:\mozilla\content\xul\document\src\nsxulcontentsink.cpp @ 407]
0012f6c0 027b136e gkparser!nsExpatDriver::DidBuildModel(unsigned int anErrorCode
= 0, int aNotifySink = 1, class nsIParser * aParser = 0x04dc57f0, class
nsIContentSink * aSink = 0x04dc5768)+0x26
[r:\mozilla\parser\htmlparser\src\nsexpatdriver.cpp @ 1105]
0012f6e4 027b2ba9 gkparser!nsParser::DidBuildModel(unsigned int anErrorCode =
0)+0x6e [r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 1319]
0012f72c 027b4922 gkparser!nsParser::ResumeParse(int allowIteration = 1, int
aIsFinalChunk = 1, int aCanInterrupt = 1)+0x2d9
[r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 2001]
0012f760 029b38b1 gkparser!nsParser::OnStopRequest(class nsIRequest * request =
0x04285388, class nsISupports * aContext = 0x00000000, unsigned int status =
0)+0xc2 [r:\mozilla\parser\htmlparser\src\nsparser.cpp @ 2670]
0012f780 014d3fe8 jar50!nsJARChannel::OnStopRequest(class nsIRequest * req =
0x042857e8, class nsISupports * ctx = 0x00000000, unsigned int status = 0)+0x91
[r:\mozilla\modules\libjar\nsjarchannel.cpp @ 694]
0012f7ac 014d39d0 necko!nsInputStreamPump::OnStateStop(void)+0xd8
[r:\mozilla\netwerk\base\src\nsinputstreampump.cpp @ 507]
0012f7bc 0048cc69 necko!nsInputStreamPump::OnInputStreamReady(class
nsIAsyncInputStream * stream = 0x042858e8)+0x90
[r:\mozilla\netwerk\base\src\nsinputstreampump.cpp @ 343]

I'm pretty sure i'm trying to load chrome://myapp/content/myapp.xul even though
chrome can't find it :)

of interest
aDocument==mDocument
> cvs build from probably about the beginning of the month

In that case this is a duplicate of bug 292247 (given the stack and all).

*** This bug has been marked as a duplicate of 292247 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.