The default bug view has changed. See this FAQ.

"ASSERTION: bad arg, numCharsToDelete. Not enough characters in node" in DeleteTextTxn::Init

RESOLVED FIXED in mozilla9

Status

()

Core
Editor
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Jesse Ruderman, Assigned: Ehsan)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
mozilla9
x86_64
Mac OS X
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

6 years ago
Created attachment 556358 [details]
testcase

###!!! ASSERTION: bad arg, numCharsToDelete.  Not enough characters in node: 'count>=aOffset+aNumCharsToDelete', file editor/libeditor/base/DeleteTextTxn.cpp, line 92

###!!! ASSERTION: could not get text to delete.: 'NS_SUCCEEDED(result)', file editor/libeditor/base/DeleteTextTxn.cpp, line 108
(Reporter)

Comment 1

6 years ago
Created attachment 556360 [details]
stack traces
(Assignee)

Comment 2

6 years ago
Created attachment 559003 [details] [diff] [review]
Patch (v2)
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #559003 - Flags: review?(roc)
Attachment #559003 - Flags: review?(roc) → review+
(Assignee)

Comment 3

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/daa5e76d7f13
Flags: in-testsuite+
Target Milestone: --- → mozilla9

Comment 4

6 years ago
Try run for b06d48129f39 is complete.
Detailed breakdown of the results available here:
    http://tbpl.allizom.org/?tree=Try&usebuildbot=1&rev=b06d48129f39
Results (out of 182 total builds):
    exception: 2
    success: 124
    warnings: 54
    failure: 2
Builds available at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/eakhgari@mozilla.com-b06d48129f39
(Assignee)

Comment 5

6 years ago
http://hg.mozilla.org/mozilla-central/rev/daa5e76d7f13
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.