Last Comment Bug 682650 - "ASSERTION: bad arg, numCharsToDelete. Not enough characters in node" in DeleteTextTxn::Init
: "ASSERTION: bad arg, numCharsToDelete. Not enough characters in node" in Del...
Status: RESOLVED FIXED
: assertion, testcase
Product: Core
Classification: Components
Component: Editor (show other bugs)
: Trunk
: x86_64 Mac OS X
: -- normal (vote)
: mozilla9
Assigned To: :Ehsan Akhgari (busy, don't ask for review please)
:
Mentors:
Depends on:
Blocks: 336383
  Show dependency treegraph
 
Reported: 2011-08-27 22:43 PDT by Jesse Ruderman
Modified: 2011-09-09 07:42 PDT (History)
2 users (show)
ehsan: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
testcase (659 bytes, text/html)
2011-08-27 22:43 PDT, Jesse Ruderman
no flags Details
stack traces (9.91 KB, text/plain)
2011-08-27 22:46 PDT, Jesse Ruderman
no flags Details
Patch (v2) (2.78 KB, patch)
2011-09-07 16:55 PDT, :Ehsan Akhgari (busy, don't ask for review please)
roc: review+
Details | Diff | Review

Description Jesse Ruderman 2011-08-27 22:43:48 PDT
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
Comment 1 Jesse Ruderman 2011-08-27 22:46:49 PDT
Created attachment 556360 [details]
stack traces
Comment 2 :Ehsan Akhgari (busy, don't ask for review please) 2011-09-07 16:55:21 PDT
Created attachment 559003 [details] [diff] [review]
Patch (v2)
Comment 3 :Ehsan Akhgari (busy, don't ask for review please) 2011-09-08 15:08:16 PDT
http://hg.mozilla.org/integration/mozilla-inbound/rev/daa5e76d7f13
Comment 4 Mozilla RelEng Bot 2011-09-08 16:01:16 PDT
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
Comment 5 :Ehsan Akhgari (busy, don't ask for review please) 2011-09-09 07:42:22 PDT
http://hg.mozilla.org/mozilla-central/rev/daa5e76d7f13

Note You need to log in before you can comment on or make changes to this bug.