The default bug view has changed. See this FAQ.

"ASSERTION: Why don't we have a document type node?" and null deref

RESOLVED FIXED

Status

()

Core
DOM: Core & HTML
--
critical
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, 4 keywords)

Trunk
x86_64
Mac OS X
assertion, crash, regression, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 539182 [details]
testcase (crashes Firefox when loaded)

###!!! ASSERTION: Why don't we have a document type node?: 'docType1 && docType2', file content/base/src/nsGenericElement.cpp, line 905

Regression from somewhere in here:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4e1b20229d4d&tochange=1b11c64ffcd
(Reporter)

Comment 1

6 years ago
Created attachment 539183 [details]
stack trace for the assertion
http://hg.mozilla.org/mozilla-central/rev/f4ff8d137c1f

   5.110 +        nsCOMPtr<nsIDOMDocumentType> docType1 = do_QueryInterface(this);
   5.111 +        nsCOMPtr<nsIDOMDocumentType> docType2 = do_QueryInterface(aOther);

This is bogus...
Why was this cause for backing out all of the original patches?
So this is fixed now, right?
Yes, by updated patches in bug 659053
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.