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

NEW
Unassigned

Status

()

defect
P5
normal
2 years ago
5 months ago

People

(Reporter: erahm, Unassigned)

Tracking

(Blocks 2 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

> 12061 WARNING: '!mMainThread', file xpcom/threads/nsThreadManager.cpp, line 314

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

>    848 - test-linux64/debug-mochitest-chrome-3 c3
>    688 - test-linux64/debug-mochitest-chrome-1 c1
>    544 - test-linux64/debug-mochitest-e10s-10 10
>    528 - test-linux64/debug-mochitest-2 2
>    416 - test-linux64/debug-mochitest-chrome-2 c2
>    352 - test-linux64/debug-mochitest-clipboard-e10s cl
>    336 - test-linux64/debug-mochitest-clipboard cl
>    312 - test-linux64/debug-mochitest-4 4
>    296 - test-linux64/debug-mochitest-10 10
>    280 - test-linux64/debug-mochitest-e10s-6 6
>    280 - test-linux64/debug-mochitest-e10s-5 5
>    280 - test-linux64/debug-mochitest-e10s-1 1
>    256 - test-linux64/debug-mochitest-e10s-8 8
>    225 - test-linux64/debug-firefox-ui-functional-local-e10s en-US
>    224 - test-linux64/debug-mochitest-browser-chrome-e10s-4 bc4
>    216 - test-linux64/debug-mochitest-e10s-7 7
>    208 - test-linux64/debug-mochitest-e10s-3 3
>    200 - 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-jetpack JP
>    184 - test-linux64/debug-mochitest-1 1
>    176 - test-linux64/debug-mochitest-browser-chrome-e10s-7 bc7
>    176 - test-linux64/debug-mochitest-5 5
>    160 - test-linux64/debug-mochitest-8 8
>    160 - test-linux64/debug-mochitest-6 6
>    160 - test-linux64/debug-mochitest-3 3
>    152 - test-linux64/debug-firefox-ui-functional-remote-e10s en-US
>    152 - test-linux64/debug-mochitest-7 7
>    136 - test-linux64/debug-mochitest-9 9
>    128 - test-linux64/debug-mochitest-devtools-chrome-e10s-6 dt6
>    120 - test-linux64/debug-mochitest-browser-chrome-e10s-9 bc9
>    104 - test-linux64/debug-mochitest-browser-chrome-e10s-5 bc5
>    104 - test-linux64/debug-mochitest-browser-chrome-e10s-6 bc6
>    104 - test-linux64/debug-firefox-ui-functional-local en-US
>    104 - test-linux64/debug-mochitest-browser-chrome-2 bc2
>     96 - test-linux64/debug-mochitest-browser-chrome-10 bc10
>     96 - test-linux64/debug-mochitest-browser-chrome-e10s-8 bc8
>     96 - test-linux64/debug-mochitest-browser-chrome-8 bc8
>     96 - test-linux64/debug-mochitest-browser-chrome-3 bc3
>     96 - test-linux64/debug-mochitest-gpu-e10s gpu
>     88 - test-linux64/debug-mochitest-browser-chrome-6 bc6
>     88 - test-linux64/debug-mochitest-browser-chrome-e10s-10 bc10
>     88 - test-linux64/debug-mochitest-browser-chrome-9 bc9
>     80 - test-linux64/debug-mochitest-browser-chrome-e10s-3 bc3
>     80 - test-linux64/debug-mochitest-browser-chrome-11 bc11
>     80 - test-linux64/debug-mochitest-browser-chrome-e10s-2 bc2
>     80 - test-linux64/debug-mochitest-browser-chrome-1 bc1
>     80 - test-linux64/debug-mochitest-browser-chrome-e10s-1 bc1
>     80 - test-linux64/debug-mochitest-browser-chrome-7 bc7
>     72 - test-linux64/debug-mochitest-media-e10s-3 mda3
>     64 - test-linux64/debug-mochitest-devtools-chrome-e10s-5 dt5
>     64 - test-linux64/debug-mochitest-browser-chrome-5 bc5
>     56 - test-linux64/debug-mochitest-media-3 mda3
>     56 - test-linux64/debug-mochitest-browser-chrome-4 bc4
>     48 - test-linux64/debug-mochitest-devtools-chrome-e10s-4 dt4
>     48 - test-linux64/debug-mochitest-devtools-chrome-e10s-1 dt1
>     48 - test-linux64/debug-mochitest-devtools-chrome-3 dt3
>     48 - test-linux64/debug-mochitest-webgl-e10s-3 gl3
>     40 - test-linux64/debug-firefox-ui-functional-remote en-US
>     40 - test-linux64/debug-mochitest-devtools-chrome-1 dt1
>     40 - test-linux64/debug-mochitest-devtools-chrome-8 dt8
>     32 - test-linux64/debug-mochitest-devtools-chrome-e10s-3 dt3
>     32 - test-linux64/debug-mochitest-devtools-chrome-4 dt4
>     32 - test-linux64/debug-mochitest-devtools-chrome-5 dt5
>     32 - test-linux64/debug-mochitest-webgl-3 gl3
>     32 - test-linux64/debug-mochitest-devtools-chrome-e10s-2 dt2
>     32 - test-linux64/debug-mochitest-devtools-chrome-7 dt7
>     32 - test-linux64/debug-mochitest-a11y a11y
>     32 - test-linux64/debug-mochitest-browser-chrome-e10s-15 bc15
>     32 - test-linux64/debug-mochitest-devtools-chrome-2 dt2
>     26 - test-linux64/debug-mochitest-media-2 mda2
>     26 - test-linux64/debug-mochitest-media-e10s-2 mda2
>     24 - test-linux64/debug-mochitest-devtools-chrome-6 dt6
>     24 - test-linux64/debug-mochitest-webgl-e10s-1 gl1
>     24 - test-linux64/debug-mochitest-devtools-chrome-e10s-7 dt7
>     16 - test-linux64/debug-reftest-e10s-7 R7
>     16 - test-linux64/debug-reftest-e10s-8 R8
>     16 - test-linux64/debug-reftest-e10s-2 R2
>     16 - test-linux64/debug-reftest-e10s-5 R5
>     16 - test-linux64/debug-reftest-no-accel-e10s-1 Ru1
>     16 - test-linux64/debug-reftest-no-accel-e10s-8 Ru8
>     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-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-no-accel-e10s-5 Ru5
>     16 - test-linux64/debug-reftest-e10s-3 R3
>     16 - test-linux64/debug-mochitest-webgl-1 gl1
>     16 - test-linux64/debug-reftest-no-accel-e10s-7 Ru7
>     16 - test-linux64/debug-reftest-e10s-4 R4
>     16 - test-linux64/debug-mochitest-devtools-chrome-9 dt9
>     16 - test-linux64/debug-reftest-e10s-1 R1
>     16 - test-linux64/debug-reftest-no-accel-e10s-3 Ru3
>     16 - test-linux64/debug-crashtest-e10s C
>     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-14 bc14
>      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-no-accel-5 Ru5
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-14 bc14
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-16 bc16
>      8 - test-linux64/debug-reftest-no-accel-2 Ru2
>      8 - test-linux64/debug-crashtest C
>      8 - test-linux64/debug-reftest-7 R7
>      8 - test-linux64/debug-reftest-no-accel-8 Ru8
>      8 - test-linux64/debug-mochitest-browser-chrome-13 bc13
>      8 - test-linux64/debug-mochitest-browser-chrome-e10s-11 bc11
>      8 - test-linux64/debug-reftest-no-accel-4 Ru4
>      8 - test-linux64/debug-mochitest-browser-chrome-16 bc16
>      8 - test-linux64/debug-mochitest-devtools-chrome-10 dt10
>      8 - test-linux64/debug-reftest-no-accel-7 Ru7
>      8 - test-linux64/debug-reftest-3 R3
>      8 - test-linux64/debug-reftest-4 R4
>      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-mochitest-webgl-2 gl2
>      8 - test-linux64/debug-reftest-no-accel-1 Ru1

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

>   5090 -        Shutdown
>   4386 - [e10s] Shutdown
>    160 -        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 -        dom/base/test/chrome/test_swapFrameLoaders.xul
>     40 - [e10s] dom/base/test/browser_messagemanager_loadprocessscript.js
>     40 - [e10s] test_windows.py TestBrowserWindow.test_open_close
>     40 -        test_ssl_status_after_restart.py TestSSLStatusAfterRestart.test_ssl_status_after_restart
>     32 - [e10s] dom/security/test/mixedcontentblocker/test_bug803225.html

[1] https://hg.mozilla.org/mozilla-central/annotate/cac374fb0de1/xpcom/threads/nsThreadManager.cpp#l314
Bill, it looks like your fix in bug 1340665 knocked out about half of the instances but will still have 12K warnings. This is currently the second most verbose warning during testing.
Flags: needinfo?(wmccloskey)
Flags: needinfo?(bill.mccloskey)
Priority: -- → P5
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.