Closed
Bug 537046
Opened 15 years ago
Closed 14 years ago
crash in [@ nsWSRunObject::GetWSBoundingParent() ]
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9.3a2
Tracking | Status | |
---|---|---|
status1.9.2 | --- | .5-fixed |
People
(Reporter: jrmuizel, Assigned: ehsan.akhgari)
References
Details
(Keywords: crash, regression, verified1.9.2)
Crash Data
Attachments
(3 files)
933 bytes,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
1.10 KB,
patch
|
beltzner
:
approval1.9.2.2-
christian
:
approval1.9.2.5+
|
Details | Diff | Splinter Review |
2.47 KB,
patch
|
peterv
:
review+
christian
:
approval1.9.2.5+
|
Details | Diff | Splinter Review |
The following page crashes after editing the text by hitting enter twice. http://people.mozilla.com/~jmuizelaar/editor/crash.html This happens in 3.6 and 3.7 but not in 3.5. http://crash-stats.mozilla.com/report/index/ee9cfcf6-9d49-4b12-94f9-39bba2091228 This change: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/59cb55e08d1f by Mats was the last to touch the crashing area so perhaps it's to blame. There have only been two other crashes so this probably doesn't need to block 1.9.2?
Flags: wanted1.9.2?
Flags: wanted1.9.2? → wanted1.9.2+
Assignee | ||
Comment 1•15 years ago
|
||
The page in comment 0 does not crash for me on trunk or 3.6. Jeff, can you please specify more details on how to reproduce the crash? FWIW, I tried loading the test case and typing in some text.
Assignee | ||
Comment 2•15 years ago
|
||
Jeff mentioned to me that the crash happens when pressing Enter twice in the editable area. I think I have a patch for that, just testing it out a bit...
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Comment 3•15 years ago
|
||
The problem is that IsBlockNode returns false is the node passed to it is null, and we tried to dereference that pointer inside the loop... The fix is simple enough, just null-check the pointer.
Attachment #419948 -
Flags: review?(peterv)
Comment 4•14 years ago
|
||
Comment on attachment 419948 [details] [diff] [review] Patch (v1) Return early if mNode is null, instead of doubling the null-checks in the loop (mParent is already null-checked).
Attachment #419948 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/5a4114d6608b
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a2
Assignee | ||
Updated•14 years ago
|
Attachment #426733 -
Flags: approval1.9.2.2?
Comment 7•14 years ago
|
||
Comment on attachment 426733 [details] [diff] [review] Patch to land Needs a crash test, I think?
Attachment #426733 -
Flags: approval1.9.2.3?
Attachment #426733 -
Flags: approval1.9.2.2?
Attachment #426733 -
Flags: approval1.9.2.2-
Updated•14 years ago
|
Keywords: regression
Assignee | ||
Comment 8•14 years ago
|
||
This crash test basically mimics the steps listed in comment 0.
Attachment #433155 -
Flags: review?(peterv)
Comment 9•14 years ago
|
||
We'll approve this for landing when the crash test is approved; peterv, can you help us out a bit?
Updated•14 years ago
|
Attachment #433155 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 10•14 years ago
|
||
Crash test landed as http://hg.mozilla.org/mozilla-central/rev/7788846fd5d5.
Flags: in-testsuite+
Assignee | ||
Updated•14 years ago
|
Attachment #433155 -
Flags: approval1.9.2.4?
Comment 11•14 years ago
|
||
Comment on attachment 426733 [details] [diff] [review] Patch to land a=LegNeato for 1.9.2.5. Please ONLY land this on mozilla-1.9.2 default, as we are still working on 1.9.2.4 on the relbranch
Attachment #426733 -
Flags: approval1.9.2.4? → approval1.9.2.5+
Attachment #433155 -
Flags: approval1.9.2.4? → approval1.9.2.5+
Assignee | ||
Comment 12•14 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/14ccbee75b85 http://hg.mozilla.org/releases/mozilla-1.9.2/rev/424313036030
status1.9.2:
--- → .5-fixed
Comment 13•14 years ago
|
||
Verified fix in Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.7pre) Gecko/20100630 Namoroka/3.6.7pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7pre) Gecko/20100630 Namoroka/3.6.7pre also trunk: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:2.0b2pre) Gecko/20100630 Minefield/4.0b2pre
Status: RESOLVED → VERIFIED
Keywords: verified1.9.2
Updated•13 years ago
|
Crash Signature: [@ nsWSRunObject::GetWSBoundingParent() ]
You need to log in
before you can comment on or make changes to this bug.
Description
•