Closed Bug 370692 Opened 18 years ago Closed 18 years ago

[FIX]Crash [@ nsCellMapColumnIterator::GetNextFrame] with MathML mtr, rowspan

Categories

(Core :: Layout: Tables, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla1.9alpha3

People

(Reporter: jruderman, Assigned: bzbarsky)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(4 files)

Attached file testcase
Loading the testcase triggers: * ###!!! ASSERTION: Bogus mOrigCells?: 'mCurMapRow < mCurMapRelevantRowCount', file /Users/jruderman/trunk/mozilla/layout/tables/nsCellMap.cpp, line 2792 * Crash [@ nsCellMapColumnIterator::GetNextFrame] This happens both with and without the patch in bug 370586 comment 5.
> This happens both with and without the patch in bug 370586 comment 5. but the issue looks very similiar, rowspan inherited down to the mtd, which reports 10 when asked for its content rowspan
Attached file non-crashing testcase
Bernd is right -- this is just like bug 370586, but in copy/pasted and slightly different code.
Attached patch PatchSplinter Review
I'd love to write a reftest for the colspan too, but I can't get it to misbehave... ;)
Attached patch Same as diff -wSplinter Review
Attachment #255643 - Flags: superreview?(rbs)
Attachment #255643 - Flags: review?(rbs)
Assignee: nobody → bzbarsky
OS: Mac OS X → All
Hardware: PC → All
Summary: Crash [@ nsCellMapColumnIterator::GetNextFrame] with MathML mtr, rowspan → [FIX]Crash [@ nsCellMapColumnIterator::GetNextFrame] with MathML mtr, rowspan
Target Milestone: --- → mozilla1.9alpha3
Comment on attachment 255643 [details] [diff] [review] Same as diff -w r+sr=rbs
Attachment #255643 - Flags: superreview?(rbs)
Attachment #255643 - Flags: review?(rbs)
Attachment #255643 - Flags: review+
Attachment #255643 - Flags: superreview+
Fixed.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/layout/reftests&command=DIFF_FRAMESET&file=reftest.list&rev1=1.54&rev2=1.55&root=/cvsroot If someone can write the test mentioned in comment 4, that'd be nice too, but this covers most of the functionality, from what I can tell -- open a separate bug for it.
Flags: in-testsuite+
Crash Signature: [@ nsCellMapColumnIterator::GetNextFrame]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: