Bug: Intermittent browser/components/sessionstore/test/browser_367052.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-03-23 09:17:54+00:00
Resolved: 2024-06-03 12:01:46+00:00

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

---
```
[task 2023-03-23T07:42:57.362Z] 07:42:57     INFO - TEST-OK | browser/components/sessionstore/test/browser_windowStateContainer.js | took 9356ms
[task 2023-03-23T07:42:57.371Z] 07:42:57     INFO - GECKO(6172) | [Child 4896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1b3b0138400 == 1 [pid = 4896] [id = 6]
[task 2023-03-23T07:42:57.376Z] 07:42:57     INFO - GECKO(6172) | [Child 4896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1b3ab080bb0) [pid = 4896] [serial = 16] [outer = 0]
[task 2023-03-23T07:42:57.376Z] 07:42:57     INFO - GECKO(6172) | [Child 4896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1b3b0139000) [pid = 4896] [serial = 17] [outer = 1b3ab080bb0]
[task 2023-03-23T07:42:57.392Z] 07:42:57     INFO - checking window state
...
[task 2023-03-23T07:43:05.119Z] 07:43:05     INFO - GECKO(6172) | Destroying context 000002B02B7C8000 surface 000002B02B748780 on display 000002B02B77C100
[task 2023-03-23T07:43:05.150Z] 07:43:05     INFO - GECKO(6172) | [GPU 2728, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4689
[task 2023-03-23T07:43:05.826Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-03-23T07:43:05.967Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (2577f9b2000) [pid = 8824] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-03-23T07:43:05.970Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (2577c278e10) [pid = 8824] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-03-23T07:43:05.971Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (2570e4af200) [pid = 8824] [serial = 13] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-03-23T07:43:05.971Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (25713cbe800) [pid = 8824] [serial = 14] [outer = 0] [url = about:blank]
[task 2023-03-23T07:43:05.972Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (2570bec7800) [pid = 8824] [serial = 1303] [outer = 0] [url = about:blank]
[task 2023-03-23T07:43:05.972Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (257117b0d20) [pid = 8824] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-03-23T07:43:05.974Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (2570eb59e20) [pid = 8824] [serial = 8] [outer = 0] [url = about:blank]
[task 2023-03-23T07:43:05.974Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (2570be1fe10) [pid = 8824] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-03-23T07:43:05.975Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (2570e1c0c00) [pid = 8824] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-03-23T07:43:05.984Z] 07:43:05     INFO - GECKO(6172) | [Parent 8824: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (257120cd800) [pid = 8824] [serial = 12] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-03-23T07:43:06.014Z] 07:43:06     INFO - GECKO(6172) | [Parent 8824, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3396
[task 2023-03-23T07:43:06.046Z] 07:43:06     INFO - GECKO(6172) | [Parent 8824, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-03-23T07:43:06.124Z] 07:43:06     INFO - GECKO(6172) | [Parent 8824, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4689
[task 2023-03-23T07:43:06.187Z] 07:43:06     INFO - TEST-INFO | Main app process: exit 0
[task 2023-03-23T07:43:06.189Z] 07:43:06     INFO - TEST-INFO | Confirming we saw 1898 DOCSHELL created and 1853 destroyed log strings.
[task 2023-03-23T07:43:06.189Z] 07:43:06     INFO - TEST-INFO | Confirming we saw 4934 DOMWINDOW created and 4784 destroyed log strings.
[task 2023-03-23T07:43:06.190Z] 07:43:06    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_367052.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2023-03-23T07:43:06.190Z] 07:43:06     INFO - TEST-INFO | browser/components/sessionstore/test/browser_367052.js | windows(s) leaked: [pid = 4896] [serial = 16], [pid = 4896] [serial = 17]
[task 2023-03-23T07:43:06.191Z] 07:43:06    ERROR - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_367052.js | leaked 1 docShell(s) until shutdown
[task 2023-03-23T07:43:06.191Z] 07:43:06     INFO - TEST-INFO | browser/components/sessionstore/test/browser_367052.js | docShell(s) leaked: [pid = 4896] [id = 6]
```