Closed Bug 1350091 Opened 3 years ago Closed 3 years ago

95,700 instances of "'NS_FAILED(aResult)'" emitted from extensions/cookie/nsPermissionManager.cpp during linux64 debug testing

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED DUPLICATE of bug 1350090

People

(Reporter: erahm, Unassigned)

References

(Blocks 1 open bug)

Details

> 95685 WARNING: 'NS_FAILED(aResult)', file extensions/cookie/nsPermissionManager.cpp, line 645

This warning [1] shows up in the following test suites:

>   4008 - test-linux64/debug-mochitest-browser-chrome-e10s-12 bc12
>   3819 - test-linux64/debug-mochitest-browser-chrome-e10s-2 bc2
>   3757 - test-linux64/debug-mochitest-browser-chrome-11 bc11
>   3622 - test-linux64/debug-mochitest-browser-chrome-10 bc10
>   3543 - test-linux64/debug-mochitest-jetpack JP
>   3000 - test-linux64/debug-mochitest-browser-chrome-e10s-11 bc11
>   2850 - test-linux64/debug-mochitest-browser-chrome-7 bc7
>   2830 - test-linux64/debug-mochitest-browser-chrome-e10s-10 bc10
>   2544 - test-linux64/debug-mochitest-browser-chrome-1 bc1
>   2528 - test-linux64/debug-mochitest-browser-chrome-e10s-3 bc3
>   2328 - test-linux64/debug-mochitest-browser-chrome-5 bc5
>   2292 - test-linux64/debug-mochitest-browser-chrome-12 bc12
>   2159 - test-linux64/debug-mochitest-devtools-chrome-5 dt5
>   2054 - test-linux64/debug-mochitest-browser-chrome-e10s-7 bc7
>   1962 - test-linux64/debug-mochitest-browser-chrome-e10s-5 bc5
>   1885 - test-linux64/debug-mochitest-devtools-chrome-9 dt9
>   1851 - test-linux64/debug-mochitest-e10s-10 10
>   1822 - test-linux64/debug-mochitest-browser-chrome-e10s-6 bc6
>   1786 - test-linux64/debug-mochitest-browser-chrome-4 bc4
>   1753 - test-linux64/debug-mochitest-browser-chrome-3 bc3
>   1739 - test-linux64/debug-mochitest-browser-chrome-e10s-1 bc1
>   1672 - test-linux64/debug-mochitest-browser-chrome-2 bc2
>   1565 - test-linux64/debug-mochitest-chrome-3 c3
>   1515 - test-linux64/debug-mochitest-devtools-chrome-3 dt3
>   1463 - test-linux64/debug-mochitest-browser-chrome-e10s-8 bc8
>   1399 - test-linux64/debug-mochitest-chrome-1 c1
>   1367 - test-linux64/debug-mochitest-devtools-chrome-8 dt8
>   1361 - test-linux64/debug-mochitest-browser-chrome-e10s-9 bc9
>   1347 - test-linux64/debug-mochitest-devtools-chrome-10 dt10
>   1292 - test-linux64/debug-mochitest-browser-chrome-8 bc8
>   1215 - test-linux64/debug-mochitest-devtools-chrome-1 dt1
>   1214 - test-linux64/debug-mochitest-browser-chrome-9 bc9
>   1194 - test-linux64/debug-mochitest-devtools-chrome-e10s-9 dt9
>   1148 - test-linux64/debug-mochitest-browser-chrome-e10s-4 bc4
>   1129 - test-linux64/debug-mochitest-devtools-chrome-6 dt6
>   1122 - test-linux64/debug-mochitest-browser-chrome-6 bc6
>   1102 - test-linux64/debug-mochitest-devtools-chrome-2 dt2
>   1071 - test-linux64/debug-mochitest-10 10
>   1011 - test-linux64/debug-mochitest-devtools-chrome-e10s-7 dt7
>    996 - test-linux64/debug-mochitest-clipboard cl
>    958 - test-linux64/debug-mochitest-devtools-chrome-4 dt4
>    929 - test-linux64/debug-mochitest-devtools-chrome-e10s-4 dt4
>    813 - test-linux64/debug-mochitest-chrome-2 c2
>    803 - test-linux64/debug-mochitest-devtools-chrome-e10s-1 dt1
>    769 - test-linux64/debug-mochitest-devtools-chrome-e10s-10 dt10
>    693 - test-linux64/debug-mochitest-1 1
>    628 - test-linux64/debug-mochitest-devtools-chrome-7 dt7
>    627 - test-linux64/debug-mochitest-3 3
>    615 - test-linux64/debug-mochitest-e10s-1 1
>    603 - test-linux64/debug-mochitest-e10s-3 3
>    597 - test-linux64/debug-reftest-1 R1
>    597 - test-linux64/debug-reftest-no-accel-1 Ru1
>    594 - test-linux64/debug-mochitest-devtools-chrome-e10s-8 dt8
>    579 - test-linux64/debug-mochitest-devtools-chrome-e10s-5 dt5
>    573 - test-linux64/debug-mochitest-5 5
>    567 - test-linux64/debug-reftest-no-accel-e10s-1 Ru1
>    567 - test-linux64/debug-reftest-e10s-1 R1
>    485 - test-linux64/debug-mochitest-2 2
>    465 - test-linux64/debug-mochitest-clipboard-e10s cl
>    423 - test-linux64/debug-mochitest-e10s-5 5
>    370 - test-linux64/debug-mochitest-devtools-chrome-e10s-3 dt3
>    350 - test-linux64/debug-mochitest-devtools-chrome-e10s-2 dt2
>    348 - test-linux64/debug-mochitest-6 6
>    306 - test-linux64/debug-mochitest-devtools-chrome-e10s-6 dt6
>    291 - test-linux64/debug-mochitest-8 8
>    289 - test-linux64/debug-mochitest-a11y a11y
>    282 - test-linux64/debug-mochitest-e10s-8 8
>    249 - test-linux64/debug-mochitest-e10s-2 2
>    240 - test-linux64/debug-mochitest-e10s-6 6
>    228 - test-linux64/debug-mochitest-9 9
>    213 - test-linux64/debug-mochitest-e10s-9 9
>    198 - test-linux64/debug-mochitest-7 7
>    153 - test-linux64/debug-mochitest-e10s-7 7
>    120 - test-linux64/debug-mochitest-4 4
>     57 - test-linux64/debug-mochitest-e10s-4 4
>     50 - test-linux64/debug-mochitest-gpu-e10s gpu
>     42 - test-linux64/debug-crashtest C
>     36 - test-linux64/debug-mochitest-media-3 mda3
>     30 - test-linux64/debug-reftest-no-accel-8 Ru8
>     30 - test-linux64/debug-reftest-8 R8
>     24 - test-linux64/debug-reftest-no-accel-3 Ru3
>     24 - test-linux64/debug-reftest-no-accel-5 Ru5
>     24 - test-linux64/debug-mochitest-webgl-3 gl3
>     24 - test-linux64/debug-reftest-5 R5
>     24 - test-linux64/debug-mochitest-media-1 mda1
>     24 - test-linux64/debug-reftest-3 R3
>     24 - test-linux64/debug-mochitest-media-2 mda2
>     21 - test-linux64/debug-reftest-e10s-8 R8
>     21 - test-linux64/debug-reftest-no-accel-e10s-8 Ru8
>     18 - test-linux64/debug-reftest-2 R2
>     18 - test-linux64/debug-reftest-no-accel-4 Ru4
>     18 - test-linux64/debug-reftest-no-accel-6 Ru6
>     18 - test-linux64/debug-reftest-7 R7
>     18 - test-linux64/debug-reftest-no-accel-2 Ru2
>     18 - test-linux64/debug-reftest-no-accel-7 Ru7
>     18 - test-linux64/debug-reftest-4 R4
>     18 - test-linux64/debug-reftest-6 R6
>     18 - test-linux64/debug-mochitest-media-e10s-3 mda3
>     18 - test-linux64/debug-crashtest-e10s C
>     18 - test-linux64/debug-mochitest-media-e10s-1 mda1
>     15 - test-linux64/debug-reftest-e10s-3 R3
>     15 - test-linux64/debug-mochitest-media-e10s-2 mda2
>     15 - test-linux64/debug-reftest-no-accel-e10s-3 Ru3
>     12 - test-linux64/debug-mochitest-webgl-1 gl1
>     12 - test-linux64/debug-jsreftest-3 J3
>     12 - test-linux64/debug-jsreftest-1 J1
>     12 - test-linux64/debug-jsreftest-2 J2
>     12 - test-linux64/debug-mochitest-webgl-e10s-3 gl3
>      9 - test-linux64/debug-reftest-e10s-7 R7
>      9 - test-linux64/debug-reftest-e10s-5 R5
>      9 - test-linux64/debug-reftest-no-accel-e10s-4 Ru4
>      9 - test-linux64/debug-reftest-no-accel-e10s-5 Ru5
>      9 - test-linux64/debug-reftest-no-accel-e10s-7 Ru7
>      9 - test-linux64/debug-reftest-e10s-4 R4
>      6 - test-linux64/debug-mochitest-webgl-e10s-1 gl1
>      6 - test-linux64/debug-mochitest-webgl-2 gl2
>      3 - test-linux64/debug-mochitest-webgl-e10s-2 gl2
>      3 - test-linux64/debug-reftest-e10s-2 R2
>      3 - test-linux64/debug-jsreftest-e10s-3 J3
>      3 - test-linux64/debug-reftest-no-accel-e10s-2 Ru2
>      3 - test-linux64/debug-jsreftest-e10s-2 J2
>      3 - test-linux64/debug-jsreftest-e10s-1 J1
>      3 - test-linux64/debug-reftest-e10s-6 R6
>      3 - test-linux64/debug-reftest-no-accel-e10s-6 Ru6

It shows up in 7866 tests. A few of the most prevalent:

>   4098 -        Shutdown
>   1365 - [e10s] Shutdown
>   1266 -        jetpack-package/addon-sdk/source/test/test-simple-prefs.js.testUnloadOfDynamicPrefGeneration
>    270 - [e10s] toolkit/mozapps/extensions/test/browser/browser_discovery.js
>    267 - [e10s] browser/components/sessionstore/test/browser_354894_perwindowpb.js
>    246 -        browser/components/sessionstore/test/browser_354894_perwindowpb.js
>    240 - [e10s] toolkit/mozapps/extensions/test/browser/browser_bug562797.js
>    195 -        dom/tests/browser/browser_focus_steal_from_chrome.js
>    183 - [e10s] dom/tests/browser/browser_focus_steal_from_chrome.js
>    183 -        browser/components/extensions/test/browser/browser_ext_browserAction_popup.js

[1] https://hg.mozilla.org/mozilla-central/annotate/200182ef1156/extensions/cookie/nsPermissionManager.cpp#l645
This most likely has the same root cause as bug 1350090.
(In reply to Eric Rahm [:erahm] from comment #1)
> This most likely has the same root cause as bug 1350090.

It's a chained warning in nsPermissionManager::PermissionKey::CreateFromPrincipal with the exact same number of counts.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1350090
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.