Bug: Intermittent browser/components/sessionstore/test/browser_465223.js | leaked 1 window(s) until shutdown [url = about:blank]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-11-05 15:03:03+00:00
Resolved: 2021-11-30 17:02:56+00:00

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

---
```
[task 2021-11-05T13:42:15.523Z] 13:42:15     INFO - TEST-START | Shutdown
[task 2021-11-05T13:42:15.523Z] 13:42:15     INFO - Browser Chrome Test Summary
[task 2021-11-05T13:42:15.524Z] 13:42:15     INFO - Passed:  1499
[task 2021-11-05T13:42:15.524Z] 13:42:15     INFO - Failed:  0
[task 2021-11-05T13:42:15.525Z] 13:42:15     INFO - Todo:    9
[task 2021-11-05T13:42:15.525Z] 13:42:15     INFO - Mode:    e10s
[task 2021-11-05T13:42:15.526Z] 13:42:15     INFO - *** End BrowserChrome Test Results ***
[task 2021-11-05T13:42:15.570Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.578Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.582Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.589Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.596Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.597Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.610Z] 13:42:15     INFO - GECKO(1180) | [Child 4668, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-05T13:42:15.620Z] 13:42:15     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 23a4666f800 == 4 [pid = 1528] [id = 2] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-11-05T13:42:15.695Z] 13:42:15     INFO - GECKO(1180) | 1636119735695	Marionette	TRACE	Received observer notification quit-application
[task 2021-11-05T13:42:15.697Z] 13:42:15     INFO - GECKO(1180) | 1636119735695	Marionette	INFO	Stopped listening on port 2828
[task 2021-11-05T13:42:15.697Z] 13:42:15     INFO - GECKO(1180) | 1636119735696	Marionette	DEBUG	Marionette stopped listening
<...>
[task 2021-11-05T13:42:16.228Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: idb: '0.000000s: gLiveDatabaseHashtable entry removed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.240Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: idb: '0.031000s: Live database entry removed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.245Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: idb: '0.031000s: Live database entry removed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.246Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: idb: '0.031000s: gLiveDatabaseHashtable entry removed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.246Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: idb: '0.031000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.246Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: cache: '0.031000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.247Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: sdb: '0.031000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.247Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528, IPDL Background] WARNING: ls: '0.031000s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3819
[task 2021-11-05T13:42:16.595Z] 13:42:16     INFO - GECKO(1180) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-11-05T13:42:16.670Z] 13:42:16     INFO - GECKO(1180) | Destroying context 00000168D1F66000 surface 00000168D0065580 on display 00000168D00F9400
[task 2021-11-05T13:42:16.701Z] 13:42:16     INFO - GECKO(1180) | [GPU 5184, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-11-05T13:42:16.704Z] 13:42:16     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 23a465ecc00 == 0 [pid = 1528] [id = 4] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-11-05T13:42:17.417Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (23a465dfc00) [pid = 1528] [serial = 4] [outer = 0] [url = about:blank]
[task 2021-11-05T13:42:17.424Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (23a45258e40) [pid = 1528] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-11-05T13:42:17.425Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (23a4f4b7e40) [pid = 1528] [serial = 12] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2021-11-05T13:42:17.426Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (23a4f93ec00) [pid = 1528] [serial = 13] [outer = 0] [url = about:blank]
[task 2021-11-05T13:42:17.426Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (23a452b2000) [pid = 1528] [serial = 1141] [outer = 0] [url = about:blank]
[task 2021-11-05T13:42:17.427Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (23a4814eac0) [pid = 1528] [serial = 7] [outer = 0] [url = about:blank]
[task 2021-11-05T13:42:17.427Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (23a4814e3c0) [pid = 1528] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-11-05T13:42:17.428Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (23a4b61d000) [pid = 1528] [serial = 6] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-11-05T13:42:17.428Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (23a4c2f83c0) [pid = 1528] [serial = 9] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-11-05T13:42:17.432Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (23a4e82e800) [pid = 1528] [serial = 11] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-11-05T13:42:17.447Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3353
[task 2021-11-05T13:42:17.533Z] 13:42:17     INFO - GECKO(1180) | [Parent 1528, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-11-05T13:42:17.595Z] 13:42:17     INFO - TEST-INFO | Main app process: exit 0
[task 2021-11-05T13:42:17.597Z] 13:42:17     INFO - TEST-INFO | Confirming we saw 1610 DOCSHELL created and 1546 destroyed log strings.
[task 2021-11-05T13:42:17.597Z] 13:42:17     INFO - TEST-INFO | Confirming we saw 4164 DOMWINDOW created and 3911 destroyed log strings.
[task 2021-11-05T13:42:17.598Z] 13:42:17    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_465223.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2021-11-05T13:42:17.599Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465223.js | windows(s) leaked: [pid = 2020] [serial = 73]
[task 2021-11-05T13:42:17.599Z] 13:42:17    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_465223.js | leaked 1 docShell(s) until shutdown
[task 2021-11-05T13:42:17.600Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465223.js | docShell(s) leaked: [pid = 2020] [id = 28]
[task 2021-11-05T13:42:17.600Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465223.js | This test created 1 hidden window(s)
[task 2021-11-05T13:42:17.601Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465223.js | This test created 1 hidden docshell(s)
[task 2021-11-05T13:42:17.601Z] 13:42:17    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_465215.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2021-11-05T13:42:17.602Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465215.js | windows(s) leaked: [pid = 2020] [serial = 72]
[task 2021-11-05T13:42:17.602Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465215.js | This test created 1 hidden window(s)
[task 2021-11-05T13:42:17.602Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_465215.js | This test created 1 hidden docshell(s)
[task 2021-11-05T13:42:17.603Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_1234021.js | This test created 1 hidden window(s)
[task 2021-11-05T13:42:17.603Z] 13:42:17     INFO - TEST-INFO | browser/components/sessionstore/test/browser_1234021.js | This test created 1 hidden docshell(s)
```