Closed Bug 458145 Opened 14 years ago Closed 14 years ago

Crash [@ nsINode::AppendChildTo] with source, body and link


(Core :: DOM: HTML Parser, defect, P1)

Windows XP





(Reporter: martijn.martijn, Assigned: mrbkap)



(4 keywords)

Crash Data


(2 files, 1 obsolete file)

Attached file testcase
See testcase, which crashes directly or after a few reloads.
0  	xul.dll  	nsINode::AppendChildTo  	 obj-firefox/dist/include/content/nsINode.h:334
1 	xul.dll 	HTMLContentSink::ProcessLINKTag 	content/html/document/src/nsHTMLContentSink.cpp:2940
2 	xul.dll 	xul.dll@0x30c801

I guess this is a regression from bug 364315.
This is a really bad crash that's a regression from bug 457806. I'm working on a fix; however, given the complexity of the code we're touching, I recommend backing out bug 457806 for beta.
Assignee: nobody → mrbkap
Blocks: 457806
No longer blocks: 364315
Flags: blocking1.9.1?
Attached patch Proposed fix (obsolete) — Splinter Review
Attachment #341710 - Flags: superreview?(jst)
Attachment #341710 - Flags: review?(jst)
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P1
Target Milestone: --- → mozilla1.9.1b1
Blake and I talked about this and I think our best approach here is to fix this bug with a minimal patch (a subset of Blake's fix in this bug) and do it for beta1. If we don't, we'll need to fix this later in the release that means less testing, or back out the patch that caused this and probably live with the hang in that bug for this whole release. Therefore I think we should take Blake's upcoming patch that is very isolated only to the source element for beta1 and leave things as such for 1.9.1 final.
I included a mochitest too.
Attachment #341710 - Attachment is obsolete: true
Attachment #341713 - Flags: superreview?(jst)
Attachment #341713 - Flags: review?(jst)
Attachment #341710 - Flags: superreview?(jst)
Attachment #341710 - Flags: review?(jst)
Attachment #341713 - Flags: superreview?(jst)
Attachment #341713 - Flags: superreview+
Attachment #341713 - Flags: review?(jst)
Attachment #341713 - Flags: review+
I checked this in on Friday but forgot to note it in the bug:
Shouldn't this be marked fixed then?
Oops, yeah.
Closed: 14 years ago
Resolution: --- → FIXED
verified fixed using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081013 Minefield/3.1b2pre. I verified using the testcase in Comment 0.
Keywords: verified1.9.1
Keywords: fixed1.9.1
Crash Signature: [@ nsINode::AppendChildTo]
You need to log in before you can comment on or make changes to this bug.