Bug: Intermittent browser/components/sessionstore/test/browser_586068-window_state_override.js | leaked 1 docShell(s) until shutdown
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-11-12 12:34:14+00:00
Resolved: 2022-02-22 17:04:24+00:00

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

---
```
[task 2021-11-12T11:31:35.634Z] 11:31:35     INFO - TEST-START | Shutdown
[task 2021-11-12T11:31:35.634Z] 11:31:35     INFO - Browser Chrome Test Summary
[task 2021-11-12T11:31:35.635Z] 11:31:35     INFO - Passed:  1520
[task 2021-11-12T11:31:35.635Z] 11:31:35     INFO - Failed:  0
[task 2021-11-12T11:31:35.636Z] 11:31:35     INFO - Todo:    9
[task 2021-11-12T11:31:35.636Z] 11:31:35     INFO - Mode:    e10s
[task 2021-11-12T11:31:35.637Z] 11:31:35     INFO - *** End BrowserChrome Test Results ***
[task 2021-11-12T11:31:35.681Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.688Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.692Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.697Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.704Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.705Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.717Z] 11:31:35     INFO - GECKO(3292) | [Child 4384, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2021-11-12T11:31:35.728Z] 11:31:35     INFO - GECKO(3292) | [Parent 6680: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1991ce00 == 4 [pid = 6680] [id = 2] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-11-12T11:31:35.799Z] 11:31:35     INFO - GECKO(3292) | 1636716695803	Marionette	TRACE	Received observer notification quit-application
[task 2021-11-12T11:31:35.804Z] 11:31:35     INFO - GECKO(3292) | 1636716695803	Marionette	INFO	Stopped listening on port 2828
[task 2021-11-12T11:31:35.805Z] 11:31:35     INFO - GECKO(3292) | 1636716695804	Marionette	DEBUG	Marionette stopped listening
<...>
[task 2021-11-12T11:31:37.535Z] 11:31:37     INFO - GECKO(3292) | [Parent 6680: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1b11be00) [pid = 6680] [serial = 6] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2021-11-12T11:31:37.538Z] 11:31:37     INFO - GECKO(3292) | [Parent 6680: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1f569500) [pid = 6680] [serial = 11] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2021-11-12T11:31:37.551Z] 11:31:37     INFO - GECKO(3292) | [Parent 6680, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3353
[task 2021-11-12T11:31:37.626Z] 11:31:37     INFO - GECKO(3292) | [Parent 6680, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-11-12T11:31:37.688Z] 11:31:37     INFO - TEST-INFO | Main app process: exit 0
[task 2021-11-12T11:31:37.689Z] 11:31:37     INFO - TEST-INFO | Confirming we saw 1641 DOCSHELL created and 1575 destroyed log strings.
[task 2021-11-12T11:31:37.689Z] 11:31:37     INFO - TEST-INFO | Confirming we saw 4252 DOMWINDOW created and 3959 destroyed log strings.
[task 2021-11-12T11:31:37.690Z] 11:31:37    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_586068-window_state_override.js | leaked 1 docShell(s) until shutdown
[task 2021-11-12T11:31:37.690Z] 11:31:37     INFO - TEST-INFO | browser/components/sessionstore/test/browser_586068-window_state_override.js | docShell(s) leaked: [pid = 6072] [id = 98]
[task 2021-11-12T11:31:37.691Z] 11:31:37     INFO - TEST-INFO | browser/components/sessionstore/test/browser_586068-window_state_override.js | This test created 1 hidden window(s)
task 2021-11-12T11:31:37.857Z] 11:31:37     INFO - Stopping web server
[task 2021-11-12T11:31:37.858Z] 11:31:37     INFO - Server shut down.
[task 2021-11-12T11:31:37.867Z] 11:31:37     INFO - Web server killed.
[task 2021-11-12T11:31:37.868Z] 11:31:37     INFO - Stopping web socket server
[task 2021-11-12T11:31:37.896Z] 11:31:37     INFO - Stopping ssltunnel
[task 2021-11-12T11:31:37.926Z] 11:31:37     INFO - leakcheck | Processing log file C:\Users\task_163671490456919\AppData\Local\Temp\tmp6hzg5epy.mozrunner\runtests_leaks.log
[task 2021-11-12T11:31:37.928Z] 11:31:37     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.928Z] 11:31:37     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.929Z] 11:31:37     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2021-11-12T11:31:37.930Z] 11:31:37     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.930Z] 11:31:37     INFO - TEST-INFO | leakcheck | plugin process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.931Z] 11:31:37     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.931Z] 11:31:37     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.932Z] 11:31:37     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 1000 bytes
[task 2021-11-12T11:31:37.932Z] 11:31:37     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2021-11-12T11:31:37.932Z] 11:31:37     INFO - leakcheck | Processing leak log file C:\Users\task_163671490456919\AppData\Local\Temp\tmp6hzg5epy.mozrunner\runtests_leaks.log
[task 2021-11-12T11:31:37.933Z] 11:31:37     INFO - 
[task 2021-11-12T11:31:37.933Z] 11:31:37     INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, default process 6680
[task 2021-11-12T11:31:37.933Z] 11:31:37     INFO - 
[task 2021-11-12T11:31:37.934Z] 11:31:37     INFO -      |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2021-11-12T11:31:37.934Z] 11:31:37     INFO -      |                                      | Per-Inst   Leaked|   Total      Rem|
[task 2021-11-12T11:31:37.934Z] 11:31:37     INFO -    0 |TOTAL                                 |       41        0|81800057        0|
[task 2021-11-12T11:31:37.935Z] 11:31:37     INFO - 
[task 2021-11-12T11:31:37.936Z] 11:31:37     INFO - nsTraceRefcnt::DumpStatistics: 2298 entries
[task 2021-11-12T11:31:37.936Z] 11:31:37     INFO - TEST-PASS | leakcheck | default no leaks detected!
```