"ASSERTION: Can only call this on frames that have been reflowed" with too-deep frame tree

RESOLVED FIXED in mozilla12

Status

()

RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: jruderman, Assigned: mats)

Tracking

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

Trunk
mozilla12
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

(Reporter)

Description

7 years ago
Created attachment 572198 [details]
testcase

WARNING: frame tree too deep; setting zero size and returning: file /builds/slave/m-cen-osx64-dbg/build/layout/generic/nsFrame.cpp, line 4941

###!!! ASSERTION: Can only call this on frames that have been reflowed: '!(GetStateBits() & NS_FRAME_FIRST_REFLOW)', file layout/generic/nsTextFrameThebes.cpp, line 2317
(Reporter)

Comment 1

7 years ago
Created attachment 572199 [details]
stack trace
(Assignee)

Updated

7 years ago
Assignee: nobody → matspal
OS: Mac OS X → All
Hardware: x86_64 → All
(Assignee)

Comment 2

7 years ago
http://hg.mozilla.org/mozilla-central/annotate/d144d8a5af9e/layout/mathml/nsMathMLContainerFrame.cpp#l901
'aChildFrame' has NS_FRAME_TOO_DEEP_IN_FRAME_TREE so any child frames are not
reflowed.  The assertion occurs when calling ComputeTightBounds on line 920.
(Assignee)

Comment 3

7 years ago
Created attachment 584565 [details] [diff] [review]
fix
Attachment #584565 - Flags: review?(roc)
You need to log in before you can comment on or make changes to this bug.