Bug: Intermittent browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | leaked 1 window(s) until shutdown [url = about:blank]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-09 23:39:29+00:00
Resolved: 2023-07-07 12:02:05+00:00

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

---
```
[task 2021-08-09T22:12:53.232Z] 22:12:53     INFO - TEST-START | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js
[task 2021-08-09T22:12:53.242Z] 22:12:53     INFO - GECKO(6244) | [Child 5852: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 171d4739000 == 2 [pid = 5852] [id = 1]
[task 2021-08-09T22:12:53.242Z] 22:12:53     INFO - GECKO(6244) | [Child 5852: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (171d37c7200) [pid = 5852] [serial = 4] [outer = 0]
[task 2021-08-09T22:12:53.243Z] 22:12:53     INFO - GECKO(6244) | [Child 5852: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (171d473a000) [pid = 5852] [serial = 5] [outer = 171d37c7200]
[task 2021-08-09T22:12:53.422Z] 22:12:53     INFO - GECKO(6244) | [Child 5852: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (171d473ec00) [pid = 5852] [serial = 6] [outer = 171d37c7200]
[task 2021-08-09T22:12:53.564Z] 22:12:53     INFO - GECKO(6244) | [Child 4876: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1f4dddbfc00 == 3 [pid = 4876] [id = 2]
[task 2021-08-09T22:12:53.565Z] 22:12:53     INFO - GECKO(6244) | [Child 4876: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (1f4de5c4740) [pid = 4876] [serial = 6] [outer = 0]
[task 2021-08-09T22:12:53.565Z] 22:12:53     INFO - GECKO(6244) | [Child 4876: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (1f4de593c00) [pid = 4876] [serial = 7] [outer = 1f4de5c4740]
[task 2021-08-09T22:12:53.745Z] 22:12:53     INFO - GECKO(6244) | [Child 4876, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-09T22:12:53.747Z] 22:12:53     INFO - GECKO(6244) | [Child 4876: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (1f4dfa1d000) [pid = 4876] [serial = 8] [outer = 1f4de5c4740]
[task 2021-08-09T22:12:53.896Z] 22:12:53     INFO - GECKO(6244) | [Child 6140: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1f8f93bf400 == 1 [pid = 6140] [id = 0]
[task 2021-08-09T22:12:53.896Z] 22:12:53     INFO - GECKO(6244) | [Child 6140: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1f8f93c2900) [pid = 6140] [serial = 1] [outer = 0]
[task 2021-08-09T22:12:53.898Z] 22:12:53     INFO - GECKO(6244) | [Child 6140: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1f8f93c0400) [pid = 6140] [serial = 2] [outer = 1f8f93c2900]
[task 2021-08-09T22:12:54.111Z] 22:12:54     INFO - GECKO(6244) | [Child 6140, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-09T22:12:54.119Z] 22:12:54     INFO - GECKO(6244) | [Child 6140: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1f8fad72000) [pid = 6140] [serial = 3] [outer = 1f8f93c2900]
[task 2021-08-09T22:12:54.538Z] 22:12:54     INFO - GECKO(6244) | Et tu, Brute?
[task 2021-08-09T22:12:54.539Z] 22:12:54     INFO - GECKO(6244) | XPCOM_MEM_BLOAT_LOG: C:\Users\task_1628546598\AppData\Local\Temp\tmp6n1qxhzq.mozrunner\runtests_leaks.log
[task 2021-08-09T22:12:54.539Z] 22:12:54     INFO - GECKO(6244) | Writing to log: C:\Users\task_1628546598\AppData\Local\Temp\tmp6n1qxhzq.mozrunner\runtests_leaks_tab_pid5852.log
[task 2021-08-09T22:12:54.711Z] 22:12:54     INFO - GECKO(6244) | [Parent 2640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (27ddddd0800) [pid = 2640] [serial = 27] [outer = 0] [url = about:blank]
<...>
[task 2021-08-09T22:13:41.748Z] 22:13:41     INFO - GECKO(6244) | [Parent 2640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (27de70e0000) [pid = 2640] [serial = 11] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-08-09T22:13:41.756Z] 22:13:41     INFO - GECKO(6244) | [Parent 2640, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3357
[task 2021-08-09T22:13:41.806Z] 22:13:41     INFO - GECKO(6244) | [Parent 2640, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4438
[task 2021-08-09T22:13:41.842Z] 22:13:41     INFO - TEST-INFO | Main app process: exit 0
[task 2021-08-09T22:13:41.843Z] 22:13:41     INFO - TEST-INFO | Confirming we saw 72 DOCSHELL created and 52 destroyed log strings.
[task 2021-08-09T22:13:41.843Z] 22:13:41     INFO - TEST-INFO | Confirming we saw 204 DOMWINDOW created and 126 destroyed log strings.
[task 2021-08-09T22:13:41.843Z] 22:13:41    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2021-08-09T22:13:41.844Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | windows(s) leaked: [pid = 6140] [serial = 3]
[task 2021-08-09T22:13:41.844Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.845Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_multipleCrashedTabs.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.845Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.845Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_basic.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.846Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_buildid.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.846Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_aboutRestartRequired_buildid.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.847Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.847Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_autoSubmitRequest.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.847Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_launchFail.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.848Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_launchFail.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.848Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_printpreview_crash.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.848Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_printpreview_crash.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.849Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_showForm.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.849Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_showForm.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.850Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shown.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.850Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shown.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.850Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.851Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_shownRestartRequired.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.851Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_withoutDump.js | This test created 1 hidden window(s)
[task 2021-08-09T22:13:41.851Z] 22:13:41     INFO - TEST-INFO | browser/base/content/test/tabcrashed/browser_withoutDump.js | This test created 1 hidden docshell(s)
[task 2021-08-09T22:13:41.852Z] 22:13:41     INFO - runtests.py | Application ran for: 0:01:12.786757
```