Closed
Bug 840818
Opened 12 years ago
Closed 12 years ago
"ASSERTION: value should always be stored and non-empty when state set" with nested -moz-column, odd characters
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: jruderman, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(3 files)
|
234 bytes,
text/html; charset=utf-8
|
Details | |
|
7.78 KB,
text/plain
|
Details | |
|
6.14 KB,
patch
|
bzbarsky
:
review+
bajaj
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: value should always be stored and non-empty when state set: 'prop && !prop->mLines.empty() && prop->mLines.front()->GetChildCount() == 0 ? prop->mFrames.IsEmpty() : prop->mLines.front()->mFirstChild == prop->mFrames.FirstChild()', file layout/generic/nsBlockFrame.cpp, line 4580
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Updated•12 years ago
|
Attachment #713205 -
Attachment mime type: text/html → text/html; charset=utf-8
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → matspal
| Assignee | ||
Comment 2•12 years ago
|
||
Regression window: 2012-12-29 -- 2012-12-30
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0bb4773db082&tochange=eb2f5c66561b
Keywords: regression
| Assignee | ||
Comment 3•12 years ago
|
||
The regression range above isn't the real problem, it's just that bug 822053
fixed an error that prevented the testcase to reach the problematic code.
The real "regression" is bug 728908 that added the additional conditions
to the assertion in RemoveOverflowLines (line 4589):
https://bugzilla.mozilla.org/attachment.cgi?id=601726&action=diff#a/layout/generic/nsBlockFrame.cpp_sec18
| Assignee | ||
Comment 4•12 years ago
|
||
The good news is that the code is working correctly, it's just the assert
conditions are stricter than it was before.
This patch cleans up nsBlockFrame::PullFrameFrom so that it avoids the
problem. Instead of RemoveOverflowLines() followed by SetOverflowLines()
if there are still lines remaining, I'm doing DestroyOverflowLines()
just in case the last line was removed.
(I'll clean up PullFrame/PullFrameFrom a bit more (making it faster)
in a follow-up bug after I land the other nsFrameList bugs)
https://tbpl.mozilla.org/?tree=Try&rev=f132761991b9
Attachment #714811 -
Flags: review?(bzbarsky)
Comment 5•12 years ago
|
||
Comment on attachment 714811 [details] [diff] [review]
fix+test
r=me
Attachment #714811 -
Flags: review?(bzbarsky) → review+
Comment 6•12 years ago
|
||
The assertions described show up in the reftest for column-balancing-overflow-004 when the patch for bug 810726 is applied, so this kind of blocks the landing of that bug until it lands. (The patch on this bug fixes that assertion, though).
Comment 7•12 years ago
|
||
mats,
Do you have an idea when this will land?
| Assignee | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment 10•12 years ago
|
||
Comment on attachment 714811 [details] [diff] [review]
fix+test
We need this on aurora for bug 810726, since otherwise we will have oranges for the test in bug 810726.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: We'll have assertions in test cases on aurora in the test for bug 810726.
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): Minimal, I believe.
String or UUID changes made by this patch: None
Attachment #714811 -
Flags: approval-mozilla-aurora?
Comment 11•12 years ago
|
||
Note, this cset should be backed out when landing if approval is granted.
https://hg.mozilla.org/releases/mozilla-aurora/rev/133095cc43fa
Comment 12•12 years ago
|
||
Comment on attachment 714811 [details] [diff] [review]
fix+test
Approving for uplift as this will help avoid oranges due to bug 810726
Attachment #714811 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 13•12 years ago
|
||
Comment on attachment 714811 [details] [diff] [review]
fix+test
[Approval Request Comment]
Same as Aurora, we're hitting these on Beta too.
Attachment #714811 -
Flags: approval-mozilla-beta?
Comment 14•12 years ago
|
||
Comment on attachment 714811 [details] [diff] [review]
fix+test
Helps fix intermittent orange due to backout of bug 810726
Attachment #714811 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 15•12 years ago
|
||
Pushed to aurora:
https://hg.mozilla.org/releases/mozilla-aurora/rev/aa3e16175fe9
Updated•12 years ago
|
status-firefox20:
--- → affected
status-firefox21:
--- → fixed
Comment 16•12 years ago
|
||
status-firefox22:
--- → fixed
Comment 17•12 years ago
|
||
Verified fixed with the latest beta debug build, on a Mac OSX 10.7.5 machine. The assertion doesn't show anymore.
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:20.0) Gecko/20130313 Firefox/20.0
Build ID: 20130313174412
QA Contact: manuela.muntean
Comment 18•12 years ago
|
||
Verified fixed with the latest aurora debug build, on a Mac OSX 10.8.3
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20130512 Firefox/22.0
Build ID: 20130512150817
You need to log in
before you can comment on or make changes to this bug.
Description
•