Closed
Bug 144764
Opened 23 years ago
Closed 23 years ago
tollerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 144763
People
(Reporter: timeless, Assigned: timeless)
Details
Program received signal SIGSEGV, Segmentation fault.
0x294b9f9b in nsXULPrototypeScript::Compile (this=0x82b8c80, aText=0x84d4000, aTextLength=34, aURI=0x80d1500, aLineNo=118,
aDocument=0x0, aPrototypeDocument=0x84927c0) at /home/timeless/mozilla/content/xul/content/src/nsXULElement.cpp:5437
5437 rv = aDocument->GetPrincipal(getter_AddRefs(principal));
Current language: auto; currently c++
(gdb) p aDocument
$1 = (nsIDocument *) 0x0
(gdb) up
#1 0x294c4be7 in XULContentSinkImpl::HandleEndElement (this=0x8499500, aName=0x82ba70c)
at /home/timeless/mozilla/content/xul/document/src/nsXULContentSink.cpp:947
947 script->mLineNo, doc, mPrototype);
(gdb) l
942 nsCOMPtr<nsIDocument> doc = do_QueryReferent(mDocument);
943
944 script->mOutOfLine = PR_FALSE;
945
946 rv = script->Compile(mText, mTextLength, mDocumentURL,
947 script->mLineNo, doc, mPrototype);
948 }
949
950 FlushText(PR_FALSE);
951 }
(gdb) p doc
$2 = {mRawPtr = 0x0}
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 144763 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•