Open Bug 1366086 Opened 3 years ago Updated 2 years ago

45,800 instances of "'!mMainThread'" emitted from xpcom/threads/nsThreadManager.cpp during linux64 debug testing

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

People

(Reporter: erahm, Unassigned)

References

(Blocks 2 open bugs)

Details

> 45839 WARNING: '!mMainThread', file xpcom/threads/nsThreadManager.cpp, line 319

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

>   1840 - test-linux64/debug-web-platform-tests-e10s-10 wpt10
>   1816 - test-linux64/debug-web-platform-tests-e10s-1 wpt1
>   1704 - test-linux64/debug-web-platform-tests-e10s-12 wpt12
>   1689 - test-linux64/debug-web-platform-tests-e10s-6 wpt6
>   1680 - test-linux64/debug-web-platform-tests-e10s-9 wpt9
>   1608 - test-linux64/debug-web-platform-tests-e10s-11 wpt11
>   1600 - test-linux64/debug-web-platform-tests-e10s-4 wpt4
>   1544 - test-linux64/debug-web-platform-tests-e10s-2 wpt2
>   1488 - test-linux64/debug-web-platform-tests-e10s-8 wpt8
>   1346 - test-linux64/debug-web-platform-tests-e10s-3 wpt3
>   1328 - test-linux64/debug-web-platform-tests-e10s-5 wpt5
>   1328 - test-linux64/debug-web-platform-tests-10 wpt10
>   1310 - test-linux64/debug-web-platform-tests-e10s-7 wpt7
>   1296 - test-linux64/debug-web-platform-tests-1 wpt1
>   1213 - test-linux64/debug-web-platform-tests-6 wpt6
>   1211 - test-linux64/debug-web-platform-tests-12 wpt12
>   1168 - test-linux64/debug-web-platform-tests-9 wpt9
>   1136 - test-linux64/debug-web-platform-tests-11 wpt11
>   1112 - test-linux64/debug-web-platform-tests-4 wpt4
>   1064 - test-linux64/debug-web-platform-tests-2 wpt2
>   1024 - test-linux64/debug-web-platform-tests-8 wpt8
>    960 - test-linux64/debug-web-platform-tests-3 wpt3
>    944 - test-linux64/debug-web-platform-tests-5 wpt5
>    910 - test-linux64/debug-web-platform-tests-7 wpt7
>    874 - test-linux64/debug-web-platform-tests-reftests-e10s Wr
>    848 - test-linux64/debug-mochitest-chrome-3 c3
>    712 - test-linux64/debug-mochitest-chrome-1 c1
>    536 - test-linux64/debug-mochitest-2 2
>    496 - test-linux64/debug-mochitest-e10s-10 10
>    416 - test-linux64/debug-mochitest-chrome-2 c2
>    368 - test-linux64/debug-mochitest-clipboard-e10s cl
>    344 - test-linux64/debug-mochitest-clipboard cl
>    314 - test-linux64/debug-web-platform-tests-reftests Wr
>    312 - test-linux64/debug-mochitest-4 4
>    296 - test-linux64/debug-mochitest-e10s-5 5
>    296 - test-linux64/debug-mochitest-10 10
>    272 - test-linux64/debug-firefox-ui-functional-local-e10s en-US
>    272 - test-linux64/debug-mochitest-e10s-1 1
>    264 - test-linux64/debug-mochitest-e10s-6 6
>    264 - test-linux64/debug-mochitest-e10s-8 8
>    264 - test-linux64/debug-mochitest-browser-chrome-e10s-3 bc3
>    224 - test-linux64/debug-mochitest-browser-chrome-e10s-7 bc7
>    216 - test-linux64/debug-mochitest-e10s-7 7
>    216 - test-linux64/debug-mochitest-e10s-3 3
>    208 - test-linux64/debug-mochitest-e10s-2 2
>    200 - test-linux64/debug-mochitest-e10s-9 9
>    192 - test-linux64/debug-mochitest-e10s-4 4
>    184 - test-linux64/debug-mochitest-5 5
>    176 - test-linux64/debug-mochitest-1 1
>    168 - test-linux64/debug-mochitest-jetpack JP
>    160 - test-linux64/debug-mochitest-3 3
>    160 - test-linux64/debug-mochitest-7 7
>    152 - test-linux64/debug-mochitest-8 8
>    152 - test-linux64/debug-mochitest-9 9
>    152 - test-linux64/debug-mochitest-6 6
>    152 - test-linux64/debug-firefox-ui-functional-local en-US
>    144 - test-linux64/debug-firefox-ui-functional-remote-e10s en-US
>    128 - test-linux64/debug-mochitest-devtools-chrome-e10s-2 dt2
>    112 - test-linux64/debug-mochitest-browser-chrome-e10s-5 bc5
>    112 - test-linux64/debug-mochitest-browser-chrome-5 bc5
>    104 - test-linux64/debug-mochitest-browser-chrome-e10s-1 bc1
>    104 - test-linux64/debug-mochitest-browser-chrome-10 bc10
>     96 - test-linux64/debug-mochitest-browser-chrome-6 bc6
>     96 - test-linux64/debug-mochitest-browser-chrome-e10s-6 bc6
>     96 - test-linux64/debug-mochitest-browser-chrome-e10s-10 bc10
>     96 - test-linux64/debug-mochitest-browser-chrome-7 bc7
>     96 - test-linux64/debug-mochitest-browser-chrome-2 bc2
>     96 - test-linux64/debug-mochitest-browser-chrome-3 bc3
>     96 - test-linux64/debug-mochitest-gpu-e10s gpu
>     88 - test-linux64/debug-mochitest-browser-chrome-11 bc11
>     88 - test-linux64/debug-mochitest-browser-chrome-e10s-9 bc9
>     88 - test-linux64/debug-mochitest-browser-chrome-e10s-11 bc11
>     80 - test-linux64/debug-mochitest-browser-chrome-e10s-2 bc2
>     80 - test-linux64/debug-mochitest-browser-chrome-4 bc4
>     72 - test-linux64/debug-mochitest-browser-chrome-1 bc1
>     72 - test-linux64/debug-mochitest-media-e10s-3 mda3
>     72 - test-linux64/debug-mochitest-browser-chrome-e10s-8 bc8
>     72 - test-linux64/debug-mochitest-devtools-chrome-e10s-7 dt7
>     64 - test-linux64/debug-mochitest-browser-chrome-8 bc8
>     56 - test-linux64/debug-mochitest-devtools-chrome-e10s-4 dt4
>     56 - test-linux64/debug-mochitest-media-3 mda3
>     56 - test-linux64/debug-mochitest-browser-chrome-9 bc9
>     48 - test-linux64/debug-mochitest-webgl-e10s-3 gl3
>     48 - test-linux64/debug-mochitest-devtools-chrome-4 dt4
>     48 - test-linux64/debug-mochitest-browser-chrome-e10s-4 bc4
>     40 - test-linux64/debug-firefox-ui-functional-remote en-US
>     40 - test-linux64/debug-mochitest-devtools-chrome-e10s-5 dt5
>     40 - test-linux64/debug-mochitest-browser-chrome-e10s-15 bc15
>     40 - test-linux64/debug-mochitest-devtools-chrome-9 dt9
>     40 - test-linux64/debug-mochitest-devtools-chrome-8 dt8
>     35 - test-linux64/debug-mochitest-media-e10s-2 mda2
>     33 - test-linux64/debug-mochitest-media-2 mda2
>     32 - test-linux64/debug-mochitest-devtools-chrome-e10s-3 dt3
>     32 - test-linux64/debug-mochitest-webgl-3 gl3
>     32 - test-linux64/debug-mochitest-devtools-chrome-1 dt1
>     32 - test-linux64/debug-mochitest-a11y a11y
>     32 - test-linux64/debug-mochitest-devtools-chrome-7 dt7
>     32 - test-linux64/debug-mochitest-devtools-chrome-2 dt2
>     24 - test-linux64/debug-mochitest-devtools-chrome-5 dt5
>     24 - test-linux64/debug-mochitest-devtools-chrome-e10s-1 dt1
>     24 - test-linux64/debug-mochitest-devtools-chrome-3 dt3
>     24 - test-linux64/debug-mochitest-webgl-e10s-1 gl1
>     16 - test-linux64/debug-reftest-e10s-7 R7
>     16 - test-linux64/debug-reftest-e10s-8 R8
>     16 - test-linux64/debug-reftest-e10s-5 R5
>     16 - test-linux64/debug-mochitest-webgl-1 gl1
>     16 - test-linux64/debug-reftest-no-accel-e10s-1 Ru1
>     16 - test-linux64/debug-mochitest-devtools-chrome-e10s-9 dt9
>     16 - test-linux64/debug-reftest-no-accel-e10s-2 Ru2
>     16 - test-linux64/debug-mochitest-devtools-chrome-e10s-8 dt8
>     16 - test-linux64/debug-reftest-e10s-2 R2
>     16 - test-linux64/debug-mochitest-media-1 mda1
>     16 - test-linux64/debug-reftest-e10s-6 R6
>     16 - test-linux64/debug-reftest-no-accel-e10s-4 Ru4
>     16 - test-linux64/debug-reftest-no-accel-e10s-6 Ru6
>     16 - test-linux64/debug-reftest-e10s-3 R3
>     16 - test-linux64/debug-reftest-no-accel-e10s-8 Ru8
>     16 - test-linux64/debug-reftest-no-accel-e10s-7 Ru7
>     16 - test-linux64/debug-mochitest-devtools-chrome-6 dt6
>     16 - test-linux64/debug-reftest-e10s-4 R4
>     16 - test-linux64/debug-crashtest-e10s C
>     16 - test-linux64/debug-reftest-e10s-1 R1
>     16 - test-linux64/debug-reftest-no-accel-e10s-5 Ru5
>     16 - test-linux64/debug-reftest-no-accel-e10s-3 Ru3
>     16 - test-linux64/debug-mochitest-devtools-chrome-e10s-6 dt6
>     16 - test-linux64/debug-mochitest-media-e10s-1 mda1
>      8 - test-linux64/debug-reftest-2 R2
>      8 - test-linux64/debug-mochitest-webgl-e10s-2 gl2
>      8 - test-linux64/debug-mochitest-browser-chrome-15 bc15
>      8 - test-linux64/debug-mochitest-browser-chrome-16 bc16
>      8 - test-linux64/debug-reftest-no-accel-6 Ru6
>      8 - test-linux64/debug-reftest-1 R1
>      8 - test-linux64/debug-reftest-no-accel-3 Ru3
>      8 - test-linux64/debug-reftest-7 R7
>      8 - test-linux64/debug-reftest-no-accel-5 Ru5
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-16 bc16
>      8 - test-linux64/debug-reftest-no-accel-2 Ru2
>      8 - test-linux64/debug-reftest-no-accel-7 Ru7
>      8 - test-linux64/debug-crashtest C
>      8 - test-linux64/debug-reftest-no-accel-8 Ru8
>      8 - test-linux64/debug-mochitest-browser-chrome-13 bc13
>      8 - test-linux64/debug-reftest-no-accel-4 Ru4
>      8 - test-linux64/debug-mochitest-browser-chrome-14 bc14
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-14 bc14
>      8 - test-linux64/debug-reftest-3 R3
>      8 - test-linux64/debug-reftest-4 R4
>      8 - test-linux64/debug-mochitest-devtools-chrome-10 dt10
>      8 - test-linux64/debug-web-platform-tests-wdspec-e10s Wd
>      8 - test-linux64/debug-reftest-6 R6
>      8 - test-linux64/debug-mochitest-browser-chrome-12 bc12
>      8 - test-linux64/debug-mochitest-devtools-chrome-e10s-10 dt10
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-13 bc13
>      8 - test-linux64/debug-reftest-8 R8
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-12 bc12
>      8 - test-linux64/debug-reftest-5 R5
>      8 - test-linux64/debug-web-platform-tests-wdspec Wd
>      8 - test-linux64/debug-mochitest-webgl-2 gl2
>      8 - test-linux64/debug-reftest-no-accel-1 Ru1

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

>   5129 -        Shutdown
>   4403 - [e10s] Shutdown
>    144 -        jetpack-package/addon-sdk/source/test/test-simple-prefs.js.testUnloadOfDynamicPrefGeneration
>    104 -        test_restore_windows_after_restart.py TestRestoreWindowsAfterRestart.test_with_variety
>     96 - [e10s] dom/tests/browser/browser_largeAllocation_non_win32.js
>     64 - [e10s] /html/browsers/the-window-object/security-window/window-security.html
>     64 -        dom/base/test/chrome/test_swapFrameLoaders.xul
>     56 - [e10s] dom/base/test/browser_force_process_selector.js
>     55 -        /webvtt/parsing/cue-text-parsing/tests/tree-building.html
>     48 - [e10s] /html/browsers/the-window-object/window-prototype-chain.html

[1] https://hg.mozilla.org/mozilla-central/annotate/cc65f9233e5b/xpcom/threads/nsThreadManager.cpp#l319
Bob, bisection seems to point to part 1 of bug 1329294 [1]. Does that seem possible?

[1] https://hg.mozilla.org/integration/mozilla-inbound/rev/59d5c20392e6
Flags: needinfo?(bobowencode)
(In reply to Eric Rahm [:erahm] from comment #1)
> Bob, bisection seems to point to part 1 of bug 1329294 [1]. Does that seem
> possible?
> 
> [1] https://hg.mozilla.org/integration/mozilla-inbound/rev/59d5c20392e6

I'm pretty sure that changeset is all within code that is #if-ed out on Linux, so I don't think so.
Flags: needinfo?(bobowencode)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.