Closed
Bug 1212136
Opened 9 years ago
Closed 9 years ago
5,100 instances of "Attempting to get a margins-based displayport with no base data!" emitted from layout/base/nsLayoutUtils.cpp during linux64 debug testing
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: erahm, Assigned: kats)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.33 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
This is the #1 most verbose warning during testing and appears to be a recent e10s regression.
> 5144 [NNNNN] WARNING: Attempting to get a margins-based displayport with no base data!: file layout/base/nsLayoutUtils.cpp, line 884
This warning [1], introduced in bug 1001438, shows up in the following test suites:
> mozilla-central_ubuntu64_vm-debug_test-reftest-e10s-1-bm123-tests1-linux64-build26.txt:1845
> mozilla-central_ubuntu64_vm-debug_test-reftest-e10s-2-bm118-tests1-linux64-build54.txt:1677
> mozilla-central_ubuntu64_vm-debug_test-crashtest-e10s-bm53-tests1-linux64-build14.txt:548
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-6-bm118-tests1-linux64-build6.txt:315
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-1-bm68-tests1-linux64-build7.txt:205
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-7-bm118-tests1-linux64-build4.txt:177
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-2-bm123-tests1-linux64-build7.txt:82
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-5-bm123-tests1-linux64-build9.txt:68
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-3-bm68-tests1-linux64-build48.txt:61
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-3-bm118-tests1-linux64-build41.txt:48
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-1-bm68-tests1-linux64-build1.txt:45
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-4-bm68-tests1-linux64-build10.txt:38
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-5-bm53-tests1-linux64-build7.txt:16
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-4-bm53-tests1-linux64-build12.txt:13
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-2-bm123-tests1-linux64-build41.txt:6
It shows up in 3842 tests. A few of the most prevalent:
> 43 - browser/components/sessionstore/test/browser_formdata_cc.js
> 41 - Shutdown
> 33 - browser/base/content/test/general/browser_overflowScroll.js
> 28 - dom/manifest/test/browser_ManifestObtainer_obtain.js
> 27 - browser/base/content/test/general/browser_tabMatchesInAwesomebar.js
> 25 - dom/tests/mochitest/bugs/test_bug346659.html
> 24 - file:///builds/slave/test/build/tests/reftest/tests/layout/reftests/svg/as-image/img-fragment-1a.html
> 24 - file:///builds/slave/test/build/tests/reftest/tests/layout/reftests/bugs/421710-1.html
> 24 - dom/html/test/test_iframe_sandbox_navigation2.html
> 18 - docshell/test/navigation/test_sessionhistory.html
[1] https://hg.mozilla.org/mozilla-central/annotate/780f34be1855+/layout/base/nsLayoutUtils.cpp#l884
Reporter | ||
Comment 1•9 years ago
|
||
Sorry, a functioning link:
[1] https://hg.mozilla.org/mozilla-central/annotate/89732fcdb0baca70e8b7a25a2725117113f0db80/layout/base/nsLayoutUtils.cpp#l884
Comment 2•9 years ago
|
||
hg blame (comment 1) says kats added this warning. ni=him to comment on its usefulness / worrisomeness here.
Flags: needinfo?(bugmail.mozilla)
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #2)
> hg blame (comment 1) says kats added this warning. ni=him to comment on its
> usefulness / worrisomeness here.
Note: The warning was added in 2014, the log spam regression is recent (last few weeks). Also note: kats is out for a couple of weeks.
Comment 4•9 years ago
|
||
The log spam regression was probably caused when apz was enabled on linux recently.
Reporter | ||
Comment 5•9 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #4)
> The log spam regression was probably caused when apz was enabled on linux
> recently.
Confirmed, the log spam first appeared when bug 1143856 merged to m-c on 9/30.
Blocks: apz-linux
Assignee | ||
Comment 6•9 years ago
|
||
I've seen this warning crop up occasionally in real-world usage too and suspect that there are legitimate code paths that end up triggering this warning. I've never seen any user-visible harmful effect when this warning is printed. So I'm happy to have the warning removed until we have cycles to properly investigate (i.e. never). Feel free to assign the bug to me if you'd like me to do that.
Flags: needinfo?(bugmail.mozilla)
Updated•9 years ago
|
Reporter | ||
Comment 7•9 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #6)
> I've seen this warning crop up occasionally in real-world usage too and
> suspect that there are legitimate code paths that end up triggering this
> warning. I've never seen any user-visible harmful effect when this warning
> is printed. So I'm happy to have the warning removed until we have cycles to
> properly investigate (i.e. never). Feel free to assign the bug to me if
> you'd like me to do that.
Doesn't sound like there are any objections to removal.
Assignee: nobody → bugmail.mozilla
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8680759 -
Flags: review?(tnikkel)
Comment 9•9 years ago
|
||
Comment on attachment 8680759 [details] [diff] [review]
Silence warning
When we added that I thought we'd hit it in some rare cases. But being a giant spam like this I did not expect. I'd like to investigate to see if some of our assumptions were incorrect and we hit it in the common case. Of course I can investigate whether or not it's spamming the logs.
Attachment #8680759 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Sounds good. Flagging for checkin since the tree is closed.
Keywords: checkin-needed
Comment 11•9 years ago
|
||
Keywords: checkin-needed
Comment 12•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment 13•9 years ago
|
||
bugherder uplift |
status-b2g-v2.5:
--- → fixed
Comment 14•9 years ago
|
||
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
status-b2g-v2.5:
fixed → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•