Closed
Bug 414170
Opened 17 years ago
Closed 15 years ago
"ASSERTION: row count did not change by the amount suggested, check caller"
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 479931
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase, Whiteboard: [sg:dupe 479931?])
Attachments
(2 files)
Loading the testcase triggers: ###!!! ASSERTION: row count did not change by the amount suggested, check caller: 'rowCount == mRowCount', file /Users/jruderman/trunk/mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp, line 1817 WARNING: row count changed unexpectedly: 'mRowCount == rowCount', file /Users/jruderman/trunk/mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp, line 2764 ###!!! ASSERTION: bad index: 'aIndex >= 0 && aIndex < mRows.Count()', file /Users/jruderman/trunk/mozilla/layout/xul/base/src/tree/src/nsTreeContentView.cpp, line 284 The "bad index" assertion is covered by bug 366203, but the "row count did not change by the amount suggested" assertion doesn't seem to be covered by other bug reports.
Comment 1•17 years ago
|
||
Looks to me that ContentInserted needs to call InsertRowFor to deal with <option> correctly (it already does that for treeitem/treeseparator/optgroup).
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
Reporter | ||
Comment 2•15 years ago
|
||
The testcase crashes on trunk [@ nsTreeContentView::InsertRow].
Comment 4•15 years ago
|
||
This looks like a straight duplicate to me; the only difference I noticed is that there's a slightly different non-tree node in the tree. The crash would probably occur with a text node if you cared to give it a try.
Comment 5•15 years ago
|
||
Looks like a duplicate to me too. The patch in bug 479931 fixes this.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•12 years ago
|
Group: core-security
Comment 6•12 years ago
|
||
Added crashtest https://hg.mozilla.org/integration/mozilla-inbound/rev/8bb0cea0f629
Flags: in-testsuite+
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8bb0cea0f629
You need to log in
before you can comment on or make changes to this bug.
Description
•