"Assertion failure: !Failed(), at ErrorResult.h:103" - nsEditor::SplitNodeDeep - nsHTMLEditRules::BustUpInlinesAtRangeEndpoints

RESOLVED FIXED in Firefox 47

Status

()

Core
Editor
--
critical
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: Jesse Ruderman, Assigned: khuey)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Trunk
mozilla47
assertion, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox47 fixed)

Details

Attachments

(4 attachments)

(Reporter)

Description

2 years ago
Created attachment 8714510 [details]
testcase

Assertion failure: !Failed(), at ErrorResult.h:103

> * thread #1: tid = 0x87b05e, 0x0000000102877388 XUL`mozilla::ErrorResult::~ErrorResult(this=0x00007fff5fbf63f0) + 88 at ErrorResult.h:103, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
>   * frame #0: 0x0000000102877388 XUL`mozilla::ErrorResult::~ErrorResult(this=0x00007fff5fbf63f0) + 88 at ErrorResult.h:103
>     frame #1: 0x00000001028703c5 XUL`mozilla::ErrorResult::~ErrorResult(this=0x00007fff5fbf63f0) + 21 at ErrorResult.h:100
>     frame #2: 0x00000001061ffe63 XUL`nsEditor::SplitNodeDeep(this=0x000000013f34c400, aNode=0x00000001206e68c0, aSplitPointParent=0x000000013bbf9700, aSplitPointOffset=0, aEmptyContainers=no, aOutLeftNode=0x0000000000000000, aOutRightNode=0x0000000000000000) + 547 at nsEditor.cpp:3844
>     frame #3: 0x00000001062770e7 XUL`nsHTMLEditRules::BustUpInlinesAtRangeEndpoints(this=0x00000001244c7800, item=0x000000013f3d25e0) + 967 at nsHTMLEditRules.cpp:6145
(Reporter)

Updated

2 years ago
Attachment #8714510 - Attachment mime type: text/html → application/xhtml+xml
(Reporter)

Comment 1

2 years ago
Created attachment 8714511 [details]
stack
Created attachment 8715262 [details]
another testcase

Here's another testcase with slightly different call stack, but still including SplitNodeDeeop. Taken from WebKit's crash test suite.
Assignee: nobody → khuey
Comment on attachment 8715923 [details] [diff] [review]
Patch

r=me
Attachment #8715923 - Flags: review?(bzbarsky) → review+

Comment 6

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a1ab58495944
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox47: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.