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

RESOLVED FIXED in mozilla12

Status

()

Core
Layout
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Jesse Ruderman, 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

6 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

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

Updated

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

Comment 2

5 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

5 years ago
Created attachment 584565 [details] [diff] [review]
fix
Attachment #584565 - Flags: review?(roc)
(Assignee)

Comment 4

5 years ago
Created attachment 584566 [details] [diff] [review]
Regression test

Try run pending:
https://tbpl.mozilla.org/?tree=Try&rev=156d26ae94f1
Attachment #584565 - Flags: review?(roc) → review+
(Assignee)

Comment 5

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/52384048e349
https://hg.mozilla.org/integration/mozilla-inbound/rev/166bde5c0002
Flags: in-testsuite+
Whiteboard: [inbound]
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/52384048e349
https://hg.mozilla.org/mozilla-central/rev/166bde5c0002
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
You need to log in before you can comment on or make changes to this bug.