Closed Bug 492286 Opened 15 years ago Closed 15 years ago

Crash [@ nsHTMLSourceElement::BindToTree] with source element as root

Categories

(Core :: Audio/Video, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED FIXED
Tracking Status
status1.9.2 --- beta1-fixed
status1.9.1 --- wanted

People

(Reporter: martijn.martijn, Assigned: cpearce)

References

Details

(Keywords: crash, testcase, verified1.9.2, Whiteboard: [sg:dos] null deref)

Crash Data

Attachments

(2 files)

Attached file testcase
See testcase, which crashes current trunk on load.

http://crash-stats.mozilla.com/report/index/99776527-717b-44f7-b38f-514a32090510?p=1
0  	xul.dll  	nsHTMLSourceElement::BindToTree  	 content/html/content/src/nsHTMLSourceElement.cpp:148
1 	xul.dll 	nsGenericElement::doInsertChildAt 	content/base/src/nsGenericElement.cpp:3278
2 	xul.dll 	nsDocument::InsertChildAt 	content/base/src/nsDocument.cpp:3229
3 	xul.dll 	xul.dll@0x9003ff 	
4 	xul.dll 	nsXMLContentSink::HandleStartElement 	content/xml/document/src/nsXMLContentSink.cpp:1102
5 	xul.dll 	storeAtts 	parser/expat/lib/xmlparse.c:3112
6 	xul.dll 	doContent 	parser/expat/lib/xmlparse.c:2439
Whiteboard: [sg:dos] null deref
We don't need to block on this, but the analysis in bug 515781 comment 1 makes it sound easy enough to fix.
Flags: wanted1.9.2?
Let's fix this.
Assignee: nobody → chris
Flags: wanted1.9.2? → wanted1.9.2+
Pushed to m-c: http://hg.mozilla.org/mozilla-central/rev/c02db2f94dce
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment on attachment 402195 [details] [diff] [review]
Patch v1 with crashtest

Can I have approval for this on 1.9.2? It's a very simple crasher fix.
Attachment #402195 - Flags: approval1.9.2?
Attachment #402195 - Flags: approval1.9.2? → approval1.9.2+
Verified fix on Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2b1pre) Gecko/20091008 Namoroka/3.6b1pre and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b1pre) Gecko/20091008 Namoroka/3.6b1pre
also Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20091008 Minefield/3.7a1pre
Status: RESOLVED → VERIFIED
Keywords: verified1.9.2
I don't see any instances of this crash in the last 3 weeks, it's probably not worth fixing this on the 1.9.1 branch.
Crash Signature: [@ nsHTMLSourceElement::BindToTree]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: