Open Bug 731350 Opened 12 years ago Updated 2 years ago

Keep hitting the assertion "We should have a margin here! (out of memory?)"

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: mak, Unassigned)

References

Details

(Keywords: assertion)

Attachments

(1 file)

Attached file stack
Applying the patch in bug 711157 I keep hitting this assertion, GetStyleMargin()->GetMargin(margin) in nsIFrame::GetUsedMargin constantly returns false.

I'm attaching the stack at that point.
This is seemingly causing some sessionstore tests to randomly time out. We could end up backing out bug 711157 because of this so it's definitely blocking.
We hit this problems with a <div> that had 'display: -moz-box' and 'margin: 0 auto'. We actually didn't need the margin here and thus removed it - the assertion disappeared.
See also bugs 391157, 586628, 611532.  I'm hitting it when running the test case in https://bug750111.bugzilla.mozilla.org/attachment.cgi?id=619436 when I go fullscreen:

WARNING: Unable to test style tree integrity -- no content node: file /Users/dave/repos/mozilla-central/layout/base/nsCSSFrameConstructor.cpp, line 8001
###!!! ASSERTION: We should have a margin here! (out of memory?): 'hasMargin', file /Users/dave/repos/mozilla-central/layout/generic/nsFrame.cpp, line 845
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: