Closed Bug 1602986 Opened 2 years ago Closed 2 years ago

2 million instances of "'!mIOThread'" and NS_FAILED(mIOThread->Dispatch(r.forget())) emitted from xpcom/io/nsSegmentedBuffer.cpp during linux64 debug testing

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- wontfix
firefox73 --- wontfix
firefox74 --- fixed

People

(Reporter: erahm, Assigned: KrisWright)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

1466823 WARNING: '!mIOThread', file xpcom/io/nsSegmentedBuffer.cpp, line 165

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

127317 - test-linux64/debug-web-platform-tests-wdspec-e10s-1 Wd1
111236 - test-linux64/debug-web-platform-tests-wdspec-sw-e10s-1 Wd1
109633 - test-linux64/debug-web-platform-tests-wdspec-fis-e10s-1 Wd1
 67258 - test-linux64/debug-web-platform-tests-wdspec-sw-e10s-2 Wd2
 65616 - test-linux64/debug-web-platform-tests-wdspec-e10s-2 Wd2
 28487 - test-linux64/debug-web-platform-tests-e10s-14 wpt14
 27113 - test-linux64/debug-web-platform-tests-fis-e10s-17 wpt17
 26793 - test-linux64/debug-web-platform-tests-e10s-17 wpt17
 26335 - test-linux64/debug-web-platform-tests-sw-e10s-17 wpt17
 23963 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-4 Wr4
 20307 - test-linux64/debug-web-platform-tests-sw-e10s-14 wpt14
 18263 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-4 Wr4
 18165 - test-linux64/debug-web-platform-tests-fis-e10s-14 wpt14
 15474 - test-linux64/debug-mochitest-chrome-1proc-2 c2
 14941 - test-linux64/debug-web-platform-tests-sw-e10s-6 wpt6
 14860 - test-linux64/debug-web-platform-tests-wdspec-fis-e10s-2 Wd2
 14668 - test-linux64/debug-mochitest-chrome-sw-1proc-2 c2
 14172 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-2 Wr2
 13926 - test-linux64/debug-test-verify-e10s TV
 13837 - test-linux64/debug-web-platform-tests-reftests-e10s-3 Wr3
 13832 - test-linux64/debug-web-platform-tests-e10s-6 wpt6
 13658 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-2 Wr2
 13085 - test-linux64/debug-web-platform-tests-fis-e10s-6 wpt6
 12774 - test-linux64/debug-mochitest-chrome-1proc-3 c3
 12412 - test-linux64/debug-web-platform-tests-reftests-e10s-4 Wr4
 12197 - test-linux64/debug-mochitest-chrome-sw-1proc-3 c3
 11733 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-3 Wr3
 11350 - test-linux64/debug-web-platform-tests-sw-e10s-9 wpt9
 11319 - test-linux64/debug-web-platform-tests-fis-e10s-9 wpt9
 11156 - test-linux64/debug-web-platform-tests-e10s-5 wpt5
 10886 - test-linux64/debug-web-platform-tests-sw-e10s-4 wpt4
 10746 - test-linux64/debug-mochitest-chrome-sw-1proc-1 c1
 10666 - test-linux64/debug-reftest-no-accel-sw-e10s-6 Ru6
 10604 - test-linux64/debug-reftest-no-accel-e10s-7 Ru7
 10560 - test-linux64/debug-mochitest-chrome-1proc-1 c1
 10547 - test-linux64/debug-web-platform-tests-fis-e10s-4 wpt4
 10083 - test-linux64/debug-web-platform-tests-fis-e10s-3 wpt3
 10009 - test-linux64/debug-web-platform-tests-sw-e10s-5 wpt5
  9968 - test-linux64/debug-web-platform-tests-fis-e10s-18 wpt18
  9831 - test-linux64/debug-web-platform-tests-e10s-4 wpt4
  9774 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-1 Wr1
  9756 - test-linux64/debug-reftest-no-accel-e10s-6 Ru6
  9752 - test-linux64/debug-web-platform-tests-e10s-3 wpt3
  9724 - test-linux64/debug-web-platform-tests-reftests-e10s-1 Wr1
  9714 - test-linux64/debug-reftest-no-accel-e10s-4 Ru4
  9688 - test-linux64/debug-reftest-no-accel-sw-e10s-1 Ru1
  9632 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-3 Wr3
  9499 - test-linux64/debug-web-platform-tests-e10s-16 wpt16
  9262 - test-linux64/debug-reftest-no-accel-e10s-1 Ru1
  8863 - test-linux64/debug-web-platform-tests-e10s-2 wpt2
  8862 - test-linux64/debug-web-platform-tests-fis-e10s-5 wpt5
  8836 - test-linux64/debug-reftest-no-accel-sw-e10s-3 Ru3
  8766 - test-linux64/debug-reftest-no-accel-sw-e10s-2 Ru2
  8752 - test-linux64/debug-reftest-no-accel-sw-e10s-4 Ru4
  8723 - test-linux64/debug-web-platform-tests-fis-e10s-16 wpt16
  8660 - test-linux64/debug-web-platform-tests-fis-e10s-15 wpt15
  8505 - test-linux64/debug-web-platform-tests-sw-e10s-11 wpt11
  8444 - test-linux64/debug-reftest-no-accel-sw-e10s-7 Ru7
  8312 - test-linux64/debug-reftest-no-accel-e10s-3 Ru3
  8117 - test-linux64/debug-web-platform-tests-sw-e10s-3 wpt3
  8012 - test-linux64/debug-web-platform-tests-e10s-18 wpt18
  7960 - test-linux64/debug-reftest-no-accel-e10s-2 Ru2
  7899 - test-linux64/debug-web-platform-tests-fis-e10s-13 wpt13
  7599 - test-linux64/debug-web-platform-tests-sw-e10s-18 wpt18
  7556 - test-linux64/debug-web-platform-tests-sw-e10s-15 wpt15
  7550 - test-linux64/debug-web-platform-tests-reftests-e10s-2 Wr2
  7488 - test-linux64/debug-web-platform-tests-e10s-1 wpt1
  7426 - test-linux64/debug-reftest-no-accel-sw-e10s-5 Ru5
  7374 - test-linux64/debug-reftest-no-accel-e10s-5 Ru5
  7116 - test-linux64/debug-web-platform-tests-e10s-7 wpt7
  6945 - test-linux64/debug-web-platform-tests-e10s-9 wpt9
  6593 - test-linux64/debug-web-platform-tests-e10s-10 wpt10
  6560 - test-linux64/debug-reftest-e10s-1 R1
  6455 - test-linux64/debug-web-platform-tests-e10s-12 wpt12
  6425 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-1 Wr1
  6183 - test-linux64/debug-web-platform-tests-sw-e10s-10 wpt10
  6176 - test-linux64/debug-reftest-sw-e10s-6 R6
  6166 - test-linux64/debug-web-platform-tests-sw-e10s-16 wpt16
  6015 - test-linux64/debug-web-platform-tests-fis-e10s-8 wpt8
  6005 - test-linux64/debug-web-platform-tests-sw-e10s-12 wpt12
  5967 - test-linux64/debug-web-platform-tests-fis-e10s-10 wpt10
  5856 - test-linux64/debug-web-platform-tests-e10s-15 wpt15
  5828 - test-linux64/debug-test-verify-wpt-e10s TVw
  5706 - test-linux64/debug-reftest-e10s-6 R6
  5512 - test-linux64/debug-web-platform-tests-fis-e10s-2 wpt2
  5368 - test-linux64/debug-web-platform-tests-sw-e10s-2 wpt2
  5277 - test-linux64/debug-web-platform-tests-e10s-13 wpt13
  5204 - test-linux64/debug-reftest-e10s-3 R3
  5201 - test-linux64/debug-marionette-e10s Mn
  5190 - test-linux64/debug-reftest-sw-e10s-1 R1
  5186 - test-linux64/debug-reftest-e10s-7 R7
  5176 - test-linux64/debug-reftest-sw-e10s-5 R5
  4918 - test-linux64/debug-web-platform-tests-fis-e10s-12 wpt12
  4840 - test-linux64/debug-web-platform-tests-sw-e10s-8 wpt8
  4744 - test-linux64/debug-reftest-e10s-4 R4
  4738 - test-linux64/debug-reftest-sw-e10s-3 R3
  4716 - test-linux64/debug-reftest-sw-e10s-7 R7
  4703 - test-linux64/debug-web-platform-tests-fis-e10s-11 wpt11
  4688 - test-linux64/debug-reftest-sw-e10s-4 R4
  4658 - test-linux64/debug-reftest-sw-e10s-2 R2
  4203 - test-linux64/debug-web-platform-tests-e10s-8 wpt8
  3481 - test-linux64/debug-web-platform-tests-sw-e10s-1 wpt1
  3460 - test-linux64/debug-reftest-e10s-5 R5
  3363 - test-linux64/debug-telemetry-tests-client-e10s c
  3219 - test-linux64/debug-web-platform-tests-e10s-11 wpt11
  3014 - test-linux64/debug-web-platform-tests-sw-e10s-13 wpt13
  2998 - test-linux64/debug-web-platform-tests-sw-e10s-7 wpt7
  2046 - test-linux64/debug-reftest-e10s-2 R2
  1739 - test-linux64/debug-mochitest-gpu-e10s gpu
  1462 - test-linux64/debug-mochitest-gpu-sw-e10s gpu
  1422 - test-linux64/debug-mochitest-e10s-16 16
  1207 - test-linux64/debug-web-platform-tests-fis-e10s-1 wpt1
  1179 - test-linux64/debug-mochitest-sw-e10s-16 16
  1141 - test-linux64/debug-web-platform-tests-fis-e10s-7 wpt7
   606 - test-linux64/debug-mochitest-e10s-10 10
   446 - test-linux64/debug-mochitest-fis-e10s-15 15
   428 - test-linux64/debug-mochitest-e10s-15 15
   401 - test-linux64/debug-firefox-ui-functional-local-e10s en-US
   362 - test-linux64/debug-mochitest-sw-e10s-15 15
   333 - test-linux64/debug-mochitest-sw-e10s-14 14
   329 - test-linux64/debug-mochitest-sw-e10s-3 3
   313 - test-linux64/debug-mochitest-sw-e10s-10 10
   311 - test-linux64/debug-mochitest-fis-e10s-3 3
   286 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-3 bc3
   267 - test-linux64/debug-mochitest-sw-e10s-8 8
   220 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-9 bc9
   159 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-4 bc4
   122 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-10 bc10
   122 - test-linux64/debug-mochitest-fis-e10s-7 7
   120 - test-linux64/debug-mochitest-fis-e10s-5 5
   118 - test-linux64/debug-mochitest-fis-e10s-9 9
   114 - test-linux64/debug-mochitest-e10s-6 6
   111 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-14 bc14
   106 - test-linux64/debug-mochitest-fis-e10s-6 6
   102 - test-linux64/debug-mochitest-sw-e10s-6 6
    98 - test-linux64/debug-mochitest-sw-e10s-4 4
    98 - test-linux64/debug-mochitest-fis-e10s-14 14
    92 - test-linux64/debug-mochitest-sw-e10s-9 9
    90 - test-linux64/debug-mochitest-e10s-9 9
    90 - test-linux64/debug-mochitest-fis-e10s-11 11
    84 - test-linux64/debug-mochitest-fis-e10s-1 1
    84 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-13 bc13
    82 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-1 bc1
    80 - test-linux64/debug-mochitest-e10s-5 5
    76 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-4 dt4
    76 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-10 dt10
    74 - test-linux64/debug-mochitest-sw-e10s-5 5
    72 - test-linux64/debug-mochitest-sw-e10s-7 7
    70 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-11 dt11
    70 - test-linux64/debug-mochitest-fis-e10s-16 16
    68 - test-linux64/debug-mochitest-fis-e10s-4 4
    66 - test-linux64/debug-mochitest-e10s-14 14
    62 - test-linux64/debug-mochitest-e10s-4 4
    60 - test-linux64/debug-mochitest-e10s-7 7
    60 - test-linux64/debug-mochitest-sw-e10s-1 1
    56 - test-linux64/debug-mochitest-e10s-3 3
    56 - test-linux64/debug-mochitest-media-e10s-2 mda2
    54 - test-linux64/debug-mochitest-fis-e10s-10 10
    52 - test-linux64/debug-mochitest-media-fis-e10s-2 mda2
    48 - test-linux64/debug-mochitest-e10s-11 11
    48 - test-linux64/debug-mochitest-sw-e10s-11 11
    46 - test-linux64/debug-reftest-sw-e10s-8 R8
    46 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-11 bc11
    46 - test-linux64/debug-mochitest-fis-e10s-2 2
    46 - test-linux64/debug-mochitest-fis-e10s-12 12
    46 - test-linux64/debug-mochitest-media-sw-e10s-2 mda2
    42 - test-linux64/debug-mochitest-e10s-1 1
    42 - test-linux64/debug-mochitest-media-spi-e10s-2 mda2
    42 - test-linux64/debug-mochitest-sw-e10s-12 12
    34 - test-linux64/debug-reftest-e10s-8 R8
    34 - test-linux64/debug-reftest-no-accel-sw-e10s-8 Ru8
    34 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-6 bc6
    34 - test-linux64/debug-reftest-no-accel-e10s-8 Ru8
    32 - test-linux64/debug-mochitest-webgl1-core-fis-e10s gl1c
    29 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-7 bc7
    28 - test-linux64/debug-mochitest-fis-e10s-8 8
    28 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-2 bc2
    26 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-9 dt9
    24 - test-linux64/debug-mochitest-media-fis-e10s-3 mda3
    24 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-8 dt8
    24 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-1 dt1
    22 - test-linux64/debug-mochitest-e10s-2 2
    22 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-12 bc12
    20 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-8 bc8
    20 - test-linux64/debug-mochitest-webgl1-core-e10s gl1c
    20 - test-linux64/debug-firefox-ui-functional-remote-e10s en-US
    18 - test-linux64/debug-mochitest-media-sw-e10s-3 mda3
    14 - test-linux64/debug-mochitest-webgl1-core-sw-e10s gl1c
    14 - test-linux64/debug-mochitest-fis-e10s-13 13
    14 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-6 dt6
    14 - test-linux64/debug-mochitest-sw-e10s-2 2
    12 - test-linux64/debug-mochitest-e10s-8 8
    12 - test-linux64/debug-mochitest-media-spi-e10s-1 mda1
    12 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-12 bc12
    12 - test-linux64/debug-mochitest-media-fis-e10s-1 mda1
    12 - test-linux64/debug-mochitest-media-e10s-3 mda3
    12 - test-linux64/debug-mochitest-media-e10s-1 mda1
    11 - test-linux64/debug-mochitest-browser-chrome-e10s-4 bc4
    10 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-10 bc10
    10 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-2 dt2
    10 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-6 bc6
    10 - test-linux64/debug-mochitest-browser-chrome-e10s-14 bc14
    10 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-4 dt4
    10 - test-linux64/debug-mochitest-browser-chrome-e10s-6 bc6
    10 - test-linux64/debug-mochitest-devtools-chrome-e10s-4 dt4
    10 - test-linux64/debug-mochitest-media-spi-e10s-3 mda3
     9 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-4 bc4
     8 - test-linux64/debug-mochitest-e10s-12 12
     8 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-11 bc11
     8 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-3 dt3
     8 - test-linux64/debug-mochitest-browser-chrome-e10s-11 bc11
     6 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-1 bc1
     6 - test-linux64/debug-mochitest-browser-chrome-e10s-2 bc2
     6 - test-linux64/debug-mochitest-browser-chrome-e10s-9 bc9
     6 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-3 bc3
     6 - test-linux64/debug-jsreftest-e10s-2 J2
     6 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-5 dt5
     6 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-9 bc9
     6 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-14 bc14
     6 - test-linux64/debug-mochitest-browser-chrome-e10s-12 bc12
     6 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-2 bc2
     4 - test-linux64/debug-mochitest-browser-chrome-e10s-3 bc3
     4 - test-linux64/debug-mochitest-sw-e10s-13 13
     4 - test-linux64/debug-mochitest-browser-chrome-e10s-7 bc7
     4 - test-linux64/debug-mochitest-devtools-chrome-e10s-2 dt2
     4 - test-linux64/debug-mochitest-browser-chrome-e10s-10 bc10
     4 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-7 bc7
     4 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-2 dt2
     4 - test-linux64/debug-mochitest-browser-chrome-e10s-1 bc1
     4 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-12 dt12
     4 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-13 bc13
     4 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-16 bc16
     4 - test-linux64/debug-mochitest-browser-chrome-e10s-8 bc8
     2 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-7 dt7
     2 - test-linux64/debug-mochitest-browser-chrome-e10s-5 bc5
     2 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-6 dt6
     2 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-7 dt7
     2 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-5 bc5
     2 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-5 bc5
     2 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-5 dt5
     2 - test-linux64/debug-mochitest-devtools-chrome-e10s-5 dt5
     2 - test-linux64/debug-mochitest-e10s-13 13
     2 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-8 bc8
     2 - test-linux64/debug-mochitest-browser-chrome-e10s-13 bc13
     2 - test-linux64/debug-mochitest-devtools-chrome-e10s-7 dt7
     2 - test-linux64/debug-mochitest-devtools-chrome-e10s-6 dt6
     2 - test-linux64/debug-mochitest-media-sw-e10s-1 mda1

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

 76419 -        Shutdown
 52787 - [e10s] /webdriver/tests/new_session/create_alwaysMatch.py
 52767 - [e10s] /webdriver/tests/new_session/create_firstMatch.py
 11824 - [e10s] Shutdown
 11732 - [e10s] /webdriver/tests/get_window_handles/user_prompts.py
 11732 - [e10s] /webdriver/tests/get_window_handle/user_prompts.py
 11729 - [e10s] /webdriver/tests/delete_all_cookies/user_prompts.py
 11726 - [e10s] /webdriver/tests/new_session/default_values.py
 11345 - [e10s] /webdriver/tests/get_page_source/user_prompts.py
 10523 - [e10s] /webdriver/tests/get_named_cookie/user_prompts.py

[1] https://hg.mozilla.org/mozilla-central/annotate/f5d38101ac7c0bb452a09a08226f65d9e5d29f8c/xpcom/io/nsSegmentedBuffer.cpp#l165

We also see a variant where dispatching fails:

532400 WARNING: 'NS_FAILED(mIOThread->Dispatch(r.forget()))', file xpcom/io/nsSegmentedBuffer.cpp, line 166

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

 47478 - test-linux64/debug-web-platform-tests-wdspec-e10s-1 Wd1
 41328 - test-linux64/debug-web-platform-tests-wdspec-sw-e10s-1 Wd1
 40344 - test-linux64/debug-web-platform-tests-wdspec-fis-e10s-1 Wd1
 24846 - test-linux64/debug-web-platform-tests-wdspec-sw-e10s-2 Wd2
 24354 - test-linux64/debug-web-platform-tests-wdspec-e10s-2 Wd2
  9358 - test-linux64/debug-web-platform-tests-e10s-14 wpt14
  9348 - test-linux64/debug-web-platform-tests-e10s-17 wpt17
  9348 - test-linux64/debug-web-platform-tests-fis-e10s-17 wpt17
  9102 - test-linux64/debug-web-platform-tests-sw-e10s-17 wpt17
  8610 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-4 Wr4
  7380 - test-linux64/debug-test-verify-e10s TV
  6642 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-4 Wr4
  6408 - test-linux64/debug-web-platform-tests-sw-e10s-14 wpt14
  6156 - test-linux64/debug-web-platform-tests-fis-e10s-14 wpt14
  5658 - test-linux64/debug-reftest-no-accel-e10s-7 Ru7
  5658 - test-linux64/debug-reftest-no-accel-sw-e10s-6 Ru6
  5412 - test-linux64/debug-mochitest-chrome-1proc-2 c2
  5412 - test-linux64/debug-mochitest-chrome-sw-1proc-2 c2
  5168 - test-linux64/debug-web-platform-tests-sw-e10s-6 wpt6
  5166 - test-linux64/debug-reftest-no-accel-sw-e10s-1 Ru1
  5166 - test-linux64/debug-reftest-no-accel-e10s-4 Ru4
  5166 - test-linux64/debug-reftest-no-accel-e10s-6 Ru6
  4920 - test-linux64/debug-reftest-no-accel-e10s-1 Ru1
  4920 - test-linux64/debug-web-platform-tests-reftests-e10s-3 Wr3
  4676 - test-linux64/debug-web-platform-tests-e10s-6 wpt6
  4674 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-2 Wr2
  4674 - test-linux64/debug-reftest-no-accel-sw-e10s-3 Ru3
  4674 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-2 Wr2
  4674 - test-linux64/debug-reftest-no-accel-sw-e10s-4 Ru4
  4674 - test-linux64/debug-reftest-no-accel-sw-e10s-2 Ru2
  4430 - test-linux64/debug-web-platform-tests-fis-e10s-6 wpt6
  4428 - test-linux64/debug-reftest-no-accel-sw-e10s-7 Ru7
  4428 - test-linux64/debug-mochitest-chrome-1proc-3 c3
  4428 - test-linux64/debug-web-platform-tests-wdspec-fis-e10s-2 Wd2
  4428 - test-linux64/debug-reftest-no-accel-e10s-3 Ru3
  4182 - test-linux64/debug-web-platform-tests-reftests-e10s-4 Wr4
  4182 - test-linux64/debug-reftest-no-accel-e10s-2 Ru2
  4182 - test-linux64/debug-mochitest-chrome-sw-1proc-3 c3
  3938 - test-linux64/debug-web-platform-tests-fis-e10s-9 wpt9
  3936 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-3 Wr3
  3936 - test-linux64/debug-reftest-no-accel-sw-e10s-5 Ru5
  3936 - test-linux64/debug-reftest-no-accel-e10s-5 Ru5
  3716 - test-linux64/debug-web-platform-tests-e10s-5 wpt5
  3472 - test-linux64/debug-web-platform-tests-sw-e10s-4 wpt4
  3446 - test-linux64/debug-web-platform-tests-sw-e10s-9 wpt9
  3444 - test-linux64/debug-mochitest-chrome-sw-1proc-1 c1
  3444 - test-linux64/debug-mochitest-chrome-1proc-1 c1
  3444 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-3 Wr3
  3444 - test-linux64/debug-reftest-e10s-1 R1
  3228 - test-linux64/debug-web-platform-tests-sw-e10s-5 wpt5
  3222 - test-linux64/debug-web-platform-tests-fis-e10s-18 wpt18
  3214 - test-linux64/debug-web-platform-tests-e10s-4 wpt4
  3204 - test-linux64/debug-web-platform-tests-fis-e10s-4 wpt4
  3198 - test-linux64/debug-web-platform-tests-reftests-e10s-1 Wr1
  3198 - test-linux64/debug-web-platform-tests-reftests-sw-e10s-1 Wr1
  3198 - test-linux64/debug-reftest-sw-e10s-6 R6
  2972 - test-linux64/debug-web-platform-tests-fis-e10s-5 wpt5
  2966 - test-linux64/debug-web-platform-tests-fis-e10s-3 wpt3
  2954 - test-linux64/debug-web-platform-tests-fis-e10s-16 wpt16
  2952 - test-linux64/debug-reftest-e10s-6 R6
  2762 - test-linux64/debug-web-platform-tests-e10s-3 wpt3
  2706 - test-linux64/debug-reftest-e10s-7 R7
  2706 - test-linux64/debug-reftest-sw-e10s-1 R1
  2706 - test-linux64/debug-reftest-sw-e10s-5 R5
  2706 - test-linux64/debug-web-platform-tests-e10s-2 wpt2
  2706 - test-linux64/debug-reftest-e10s-3 R3
  2502 - test-linux64/debug-web-platform-tests-sw-e10s-11 wpt11
  2494 - test-linux64/debug-web-platform-tests-e10s-16 wpt16
  2482 - test-linux64/debug-web-platform-tests-sw-e10s-18 wpt18
  2480 - test-linux64/debug-web-platform-tests-e10s-18 wpt18
  2476 - test-linux64/debug-web-platform-tests-e10s-1 wpt1
  2464 - test-linux64/debug-web-platform-tests-fis-e10s-13 wpt13
  2460 - test-linux64/debug-reftest-sw-e10s-7 R7
  2460 - test-linux64/debug-reftest-sw-e10s-3 R3
  2460 - test-linux64/debug-reftest-sw-e10s-4 R4
  2460 - test-linux64/debug-reftest-e10s-4 R4
  2460 - test-linux64/debug-web-platform-tests-fis-e10s-15 wpt15
  2460 - test-linux64/debug-reftest-sw-e10s-2 R2
  2274 - test-linux64/debug-web-platform-tests-sw-e10s-3 wpt3
  2224 - test-linux64/debug-web-platform-tests-sw-e10s-15 wpt15
  2216 - test-linux64/debug-web-platform-tests-e10s-9 wpt9
  2214 - test-linux64/debug-test-verify-wpt-e10s TVw
  2214 - test-linux64/debug-web-platform-tests-reftests-e10s-2 Wr2
  1972 - test-linux64/debug-web-platform-tests-e10s-12 wpt12
  1968 - test-linux64/debug-web-platform-tests-e10s-7 wpt7
  1968 - test-linux64/debug-web-platform-tests-reftests-fis-e10s-1 Wr1
  1804 - test-linux64/debug-marionette-e10s Mn
  1736 - test-linux64/debug-web-platform-tests-e10s-10 wpt10
  1722 - test-linux64/debug-reftest-e10s-5 R5
  1722 - test-linux64/debug-web-platform-tests-fis-e10s-8 wpt8
  1492 - test-linux64/debug-web-platform-tests-sw-e10s-10 wpt10
  1492 - test-linux64/debug-web-platform-tests-sw-e10s-16 wpt16
  1486 - test-linux64/debug-web-platform-tests-fis-e10s-10 wpt10
  1480 - test-linux64/debug-web-platform-tests-sw-e10s-12 wpt12
  1478 - test-linux64/debug-web-platform-tests-sw-e10s-8 wpt8
  1478 - test-linux64/debug-web-platform-tests-fis-e10s-2 wpt2
  1260 - test-linux64/debug-web-platform-tests-fis-e10s-11 wpt11
  1238 - test-linux64/debug-web-platform-tests-e10s-13 wpt13
  1234 - test-linux64/debug-web-platform-tests-fis-e10s-12 wpt12
  1232 - test-linux64/debug-web-platform-tests-e10s-8 wpt8
  1230 - test-linux64/debug-telemetry-tests-client-e10s c
  1230 - test-linux64/debug-web-platform-tests-sw-e10s-2 wpt2
   992 - test-linux64/debug-web-platform-tests-e10s-15 wpt15
   984 - test-linux64/debug-reftest-e10s-2 R2
   746 - test-linux64/debug-web-platform-tests-sw-e10s-1 wpt1
   532 - test-linux64/debug-web-platform-tests-e10s-11 wpt11
   492 - test-linux64/debug-mochitest-gpu-sw-e10s gpu
   492 - test-linux64/debug-mochitest-e10s-16 16
   492 - test-linux64/debug-mochitest-gpu-e10s gpu
   252 - test-linux64/debug-web-platform-tests-sw-e10s-13 wpt13
   246 - test-linux64/debug-web-platform-tests-sw-e10s-7 wpt7
   246 - test-linux64/debug-mochitest-sw-e10s-16 16
    12 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-8 dt8
     8 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-4 dt4
     8 - test-linux64/debug-web-platform-tests-fis-e10s-1 wpt1
     6 - test-linux64/debug-mochitest-devtools-chrome-fis-e10s-11 dt11
     6 - test-linux64/debug-mochitest-devtools-chrome-e10s-4 dt4
     6 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-4 dt4
     4 - test-linux64/debug-mochitest-sw-e10s-9 9
     4 - test-linux64/debug-mochitest-fis-e10s-9 9
     4 - test-linux64/debug-mochitest-devtools-chrome-sw-e10s-11 dt11
     4 - test-linux64/debug-mochitest-devtools-chrome-e10s-11 dt11
     2 - test-linux64/debug-mochitest-e10s-3 3
     2 - test-linux64/debug-mochitest-fis-e10s-3 3
     1 - test-linux64/debug-mochitest-browser-chrome-sw-e10s-9 bc9
     1 - test-linux64/debug-mochitest-browser-chrome-fis-e10s-9 bc9

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

 26322 -        Shutdown
 19926 - [e10s] /webdriver/tests/new_session/create_firstMatch.py
 19926 - [e10s] /webdriver/tests/new_session/create_alwaysMatch.py
  4428 - [e10s] /webdriver/tests/new_session/default_values.py
  4428 - [e10s] /webdriver/tests/get_window_handle/user_prompts.py
  4428 - [e10s] /webdriver/tests/delete_all_cookies/user_prompts.py
  4428 - [e10s] /webdriver/tests/get_window_handles/user_prompts.py
  4182 - [e10s] /webdriver/tests/get_page_source/user_prompts.py
  3936 - [e10s] /webdriver/tests/navigate_to/user_prompts.py
  3690 - [e10s] /webdriver/tests/new_session/merge.py

[1] https://hg.mozilla.org/mozilla-central/annotate/f5d38101ac7c0bb452a09a08226f65d9e5d29f8c/xpcom/io/nsSegmentedBuffer.cpp#l166

Regressed by: 1584898
Summary: 1,466,800 instances of "'!mIOThread'" emitted from xpcom/io/nsSegmentedBuffer.cpp during linux64 debug testing → 2 million instances of "'!mIOThread'" and NS_FAILED(mIOThread->Dispatch(r.forget())) emitted from xpcom/io/nsSegmentedBuffer.cpp during linux64 debug testing

I looked into this and because nsSegmentedBuffer calls Empty() which uses FreeOMT after threads have been shut down, attempting to dispatch in background or get the stream transport service will always fail, and always generate a warning. Looks like it was already noted in the code that this could happen, but with such a large amount of warnings it would probably be better to add a shutdown flag to nsSegmentedBuffer to tell it to free synchronously during shutdown.

I find it quite annoying to see lots of this warning when debugging wpt locally, as it basically flush out almost all useful information.

baku, could you have a look at this given the regressing bug?

Flags: needinfo?(amarchesini)

At shutdown, the stream transport service is not available and free(aPtr) happens synchronously. These warnings will always trigger and produce a lot of logspam.

Assignee: nobody → kwright
Status: NEW → ASSIGNED
Pushed by kwright@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b03b06ab62f9
Get rid of NS_WARN_IF warnings in nsSegmentedBuffer::FreeOMT r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Flags: needinfo?(amarchesini)
You need to log in before you can comment on or make changes to this bug.