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)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
e10s + ---
firefox44 --- affected
firefox45 --- fixed

People

(Reporter: erahm, Assigned: kats)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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
hg blame (comment 1) says kats added this warning. ni=him to comment on its usefulness / worrisomeness here.
Flags: needinfo?(bugmail.mozilla)
(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.
The log spam regression was probably caused when apz was enabled on linux recently.
(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
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)
(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
Attached patch Silence warningSplinter Review
Attachment #8680759 - Flags: review?(tnikkel)
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+
Sounds good. Flagging for checkin since the tree is closed.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: