Bug: Intermittent browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | leaked 2 window(s) until shutdown [url = about:blank]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-07-19 15:48:02+00:00
Resolved: 2023-07-07 12:00:51+00:00

**Filed by:** apavel [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=345604222&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eeebHItgQ2aSSOZrsD7yYw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-07-19T10:18:55.956Z] 10:18:55     INFO - TEST-START | browser/base/content/test/tabcrashed/browser_withoutDump.js
[task 2021-07-19T10:18:55.967Z] 10:18:55     INFO - GECKO(4864) | [Child 9788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL bcaa800 == 1 [pid = 9788] [id = 0]
[task 2021-07-19T10:18:55.967Z] 10:18:55     INFO - GECKO(4864) | [Child 9788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (5369900) [pid = 9788] [serial = 1] [outer = 0]
[task 2021-07-19T10:18:55.969Z] 10:18:55     INFO - GECKO(4864) | [Child 9788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (bcac000) [pid = 9788] [serial = 2] [outer = 5369900]
[task 2021-07-19T10:18:56.053Z] 10:18:56     INFO - GECKO(4864) | [Child 9788: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (bcb2400) [pid = 9788] [serial = 3] [outer = 5369900]
[task 2021-07-19T10:18:56.279Z] 10:18:56     INFO - GECKO(4864) | Et tu, Brute?

[task 2021-07-19T10:19:04.358Z] 10:19:04     INFO - GECKO(4864) | Destroying context 0D318000 surface 0523F900 on display 0521A800
[task 2021-07-19T10:19:04.374Z] 10:19:04     INFO - GECKO(4864) | [GPU 11032, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4438
[task 2021-07-19T10:19:04.952Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (14443c00) [pid = 7936] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-07-19T10:19:04.953Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (141f9700) [pid = 7936] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-07-19T10:19:04.953Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (1e87e400) [pid = 7936] [serial = 12] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2021-07-19T10:19:04.954Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (1d055c00) [pid = 7936] [serial = 13] [outer = 0] [url = about:blank]
[task 2021-07-19T10:19:04.954Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (141f7300) [pid = 7936] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-07-19T10:19:04.955Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1b388000) [pid = 7936] [serial = 6] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-07-19T10:19:04.955Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (1443d400) [pid = 7936] [serial = 75] [outer = 0] [url = about:blank]
[task 2021-07-19T10:19:04.956Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1b3ae200) [pid = 7936] [serial = 7] [outer = 0] [url = about:blank]
[task 2021-07-19T10:19:04.956Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (19bdd400) [pid = 7936] [serial = 9] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-07-19T10:19:04.958Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1fe90800) [pid = 7936] [serial = 11] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-07-19T10:19:04.966Z] 10:19:04     INFO - GECKO(4864) | [Parent 7936, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3357
[task 2021-07-19T10:19:05.017Z] 10:19:05     INFO - GECKO(4864) | [Parent 7936, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4438
[task 2021-07-19T10:22:10.189Z] 10:22:10     INFO -  WARNING | IO Completion Port failed to signal process shutdown
[task 2021-07-19T10:22:10.190Z] 10:22:10     INFO -  Parent process 4864 exited with children alive:
[task 2021-07-19T10:22:10.190Z] 10:22:10     INFO -  PIDS: 8560
[task 2021-07-19T10:22:10.190Z] 10:22:10     INFO -  Attempting to kill them, but no guarantee of success
[task 2021-07-19T10:22:10.191Z] 10:22:10     INFO - TEST-INFO | Main app process: exit 0
[task 2021-07-19T10:22:10.191Z] 10:22:10     INFO - TEST-INFO | Confirming we saw 82 DOCSHELL created and 58 destroyed log strings.
[task 2021-07-19T10:22:10.191Z] 10:22:10     INFO - TEST-INFO | Confirming we saw 224 DOMWINDOW created and 142 destroyed log strings.
[task 2021-07-19T10:22:10.192Z] 10:22:10    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2021-07-19T10:22:10.192Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | windows(s) leaked: [pid = 5696] [serial = 7], [pid = 5696] [serial = 8]
[task 2021-07-19T10:22:10.193Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.193Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.193Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.194Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.194Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_launchFail.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.195Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_launchFail.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.195Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.195Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.196Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_printpreview_crash.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.196Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_printpreview_crash.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.196Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_showForm.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.197Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_showForm.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.197Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shown.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.198Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shown.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.198Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.198Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.199Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_withoutDump.js | This test created 1 hidden window(s)
[task 2021-07-19T10:22:10.199Z] 10:22:10     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_withoutDump.js | This test created 1 hidden docshell(s)
[task 2021-07-19T10:22:10.199Z] 10:22:10     INFO - runtests.py | Application ran for: 0:04:12.252882
[task 2021-07-19T10:22:10.200Z] 10:22:10     INFO - zombiecheck | Reading PID log: C:\Users\task_1626689475\AppData\Local\Temp\tmpjub1fdo5pidlog
```