Closed
Bug 1146107
Opened 11 years ago
Closed 11 years ago
Assertion failure in nsRubyBaseContainerFrame::Reflow with huge margin
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: jruderman, Assigned: xidorn)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
Assertion failure: (0 != ((aStatus) & 0x0100)) || isize == lineSpanSize || mFrames.IsEmpty(), at layout/generic/nsRubyBaseContainerFrame.cpp:520
> MOZ_ASSERT(NS_INLINE_IS_BREAK(aStatus) ||
> isize == lineSpanSize || mFrames.IsEmpty());
| Reporter | ||
Comment 1•11 years ago
|
||
| Reporter | ||
Comment 2•11 years ago
|
||
| Assignee | ||
Comment 3•11 years ago
|
||
I don't see any serious problem could happen when this assertion is broken, hence just replace the assertion with a non-crash one.
Assignee: nobody → quanxunzhen
Attachment #8585281 -
Flags: review?(dholbert)
Comment 4•11 years ago
|
||
As in bug 1146114, we may really want to relax this to NS_WARN_IF_FALSE(), and add a code-comment mentioning the bug number on adding a flag to documents with huge CSS sizes. (so we can make this assertion contingent on a document having reasonable sizes.)
Comment 5•11 years ago
|
||
Comment on attachment 8585281 [details] [diff] [review]
patch
>- MOZ_ASSERT(NS_INLINE_IS_BREAK(aStatus) ||
>- isize == lineSpanSize || mFrames.IsEmpty());
>+ NS_ASSERTION(NS_INLINE_IS_BREAK(aStatus) ||
>+ isize == lineSpanSize || mFrames.IsEmpty(), "bad isize");
Similar to bug 1146114 comment 7: let's change this to NS_WARN_IF_FALSE instead, and add an XXX comment mentioning bug 765861, so that we remember to increase the severity once that bug's been addressed.
(And update the commit message mere accordingly.)
r=me with that
Attachment #8585281 -
Flags: review?(dholbert) → review+
Comment 6•11 years ago
|
||
Also, we should take the testcase (or something that trips this assertion) as a crashtest.
| Assignee | ||
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•