Closed Bug 279316 Opened 20 years ago Closed 20 years ago

Crash closing Print Preview [@ nsFrameList::DestroyFrames]

Categories

(Core :: Layout: Tables, defect)

defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 274516

People

(Reporter: MatsPalmgren_bugz, Assigned: bernd_mozilla)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(3 files)

Crash closing Print Preview [@ nsFrameList::DestroyFrames]

STEPS TO REPRODUCE:
1. Load attached testcase
2. Print Preview
3. Close

100% reproducable crash at 3.

Before the crash I see:

###!!! ASSERTION: bad prev sibling: 'aPrevSibling->GetNextSibling() ==
aFromChild', file nsTableFrame.cpp, line 2210

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/tables/nsTableFrame.cpp&rev=3.603&root=/cvsroot&mark=2204,2210#2204


I bump into this a lot when coding a fix for bug 278983 but since it occurs
also without explicit 'page-break-after/before' I think it should be handled
separately (the core problem of bug 278983 is different).

SPECULATION: since row-groups are reflowed "out-of-order" this causes
problems when pushing them (PushChildren seems to assume document order)...
Attached file Crash call stack
Attached file Testcase (CRASH)
hmm, seems that tables are the only ones that push children at all
http://lxr.mozilla.org/seamonkey/ident?i=PushChildren
And as usual when something goes wrong with thead and tbody watch out for
OrderRowGroups it might not have been called when it should be.
Attached file Testcase #2 (CRASH)
Mats are you going to work on this?
Bernd, no, I don't intend to work on this bug.
yep, no orphaned crash bugs please....
Assignee: nobody → bernd_mozilla
Status: NEW → ASSIGNED
this got fixed by bug 274516

*** This bug has been marked as a duplicate of 274516 ***
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Depends on: 274516
Resolution: --- → DUPLICATE
verified dup
Status: RESOLVED → VERIFIED
Crash Signature: [@ nsFrameList::DestroyFrames]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: