Closed Bug 1158837 Opened 9 years ago Closed 9 years ago

crash in nsINode::GetAsText()

Categories

(Core :: DOM: Editor, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla40
Tracking Status
firefox40 --- verified

People

(Reporter: phorea, Assigned: ehsan.akhgari)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-e38cbe46-7ea3-4d39-bbc6-92f242150423.
=============================================================
There are a few crashes in Socorro after bug 1146883 landed:

https://crash-stats.mozilla.com/report/index/47db6d1c-2460-4c2b-b1d9-0b4932150424
https://crash-stats.mozilla.com/report/index/bc323988-f597-40f4-b4a0-20fdd2150423
https://crash-stats.mozilla.com/report/index/e38cbe46-7ea3-4d39-bbc6-92f242150423

No steps or relevant information until now on comments.
Blocks: 1146883
Flags: needinfo?(ehsan)
This seems to be caused by mRangeItem->startNode being null.  I don't understand how this can be null except if the start part of the range inside the selection is null, which kind of makes no sense, but I think the selection may be in an inconsistent state at this point.

But anyways, wallpapering over this seems totally worth it, since we'd just leave a bunch of  's in the DOM, which seems like a survivable consequence.
Assignee: nobody → ehsan
Flags: needinfo?(ehsan)
(This doesn't need a try server run.)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/bdebff6d0770
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.