Bug: Intermittent browser/base/content/test/menubar/browser_search_bookmarks.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-06-28 16:11:21+00:00
Resolved: 2023-09-10 20:39:17+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=420941376&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/P76Vp4wRTcaBD-d6HIyQ1Q/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/P76Vp4wRTcaBD-d6HIyQ1Q/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-06-28T14:56:47.922Z] 14:56:47     INFO - GECKO(5547) | [Parent 5547, IPDL Background] WARNING: quota manager shutdown step: '0.011338s: invalidatePendingDirectoryLocks', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3266
[task 2023-06-28T14:56:47.923Z] 14:56:47     INFO - GECKO(5547) | [Parent 5547, IPDL Background] WARNING: quota manager shutdown step: '0.011355s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3266
[task 2023-06-28T14:56:48.118Z] 14:56:48     INFO - GECKO(5547) | [Utility 5707, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:508
[task 2023-06-28T14:56:48.188Z] 14:56:48     INFO - GECKO(5547) | Destroying context 0x7f6122b243c0 surface (nil) on display 0x7f6122b5af00
[task 2023-06-28T14:56:48.775Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-28T14:56:48.778Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-28T14:56:48.893Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7f612f47d6a0) [pid = 5547] [serial = 13] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-28T14:56:48.900Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7f610d1d3c00) [pid = 5547] [serial = 14] [outer = 0] [url = about:blank]
[task 2023-06-28T14:56:48.901Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (7f6122a66400) [pid = 5547] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-28T14:56:48.902Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f6126451b60) [pid = 5547] [serial = 1] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-28T14:56:48.902Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7f6103216880) [pid = 5547] [serial = 11] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-06-28T14:56:48.903Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f6103a60c00) [pid = 5547] [serial = 12] [outer = 0] [url = about:blank]
[task 2023-06-28T14:56:48.904Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f610e2fdc40) [pid = 5547] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-06-28T14:56:48.905Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f60fde17400) [pid = 5547] [serial = 18] [outer = 0] [url = about:blank]
[task 2023-06-28T14:56:48.906Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f610f466e20) [pid = 5547] [serial = 3] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-28T14:56:48.906Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f610f1f0000) [pid = 5547] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-28T14:56:48.907Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f610bf093e0) [pid = 5547] [serial = 8] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-06-28T14:56:48.912Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f6104ddf000) [pid = 5547] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2023-06-28T14:56:48.977Z] 14:56:48     INFO - GECKO(5547) | [Parent 5547, Main Thread] WARNING: WaylandDisplayRelease(): Wayland display is missing!: file /builds/worker/checkouts/gecko/widget/gtk/nsWaylandDisplay.cpp:31
[task 2023-06-28T14:56:48.999Z] 14:56:48     INFO - TEST-INFO | Main app process: exit 0
[task 2023-06-28T14:56:48.999Z] 14:56:48     INFO - TEST-INFO | Confirming we saw 18 DOCSHELL created and 18 destroyed log strings.
[task 2023-06-28T14:56:48.999Z] 14:56:48     INFO - TEST-INFO | Confirming we saw 50 DOMWINDOW created and 50 destroyed log strings.
[task 2023-06-28T14:56:48.999Z] 14:56:48    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/menubar/browser_search_bookmarks.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2023-06-28T14:56:49.000Z] 14:56:48    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/menubar/browser_search_bookmarks.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2023-06-28T14:56:49.001Z] 14:56:49     INFO - TEST-INFO | browser/base/content/test/menubar/browser_search_bookmarks.js | windows(s) leaked: [pid = 5547] [serial = 13], [pid = 5547] [serial = 14]
[task 2023-06-28T14:56:49.001Z] 14:56:49     INFO - TEST-INFO | browser/base/content/test/menubar/browser_search_bookmarks.js | This test created 1 hidden window(s)
[task 2023-06-28T14:56:49.002Z] 14:56:49     INFO - TEST-INFO | browser/base/content/test/menubar/browser_search_bookmarks.js | This test created 1 hidden docshell(s)
[task 2023-06-28T14:56:49.003Z] 14:56:49     INFO - runtests.py | Application ran for: 0:00:27.248197
[task 2023-06-28T14:56:49.004Z] 14:56:49     INFO - zombiecheck | Reading PID log: /tmp/tmp86k8i14wpidlog
[task 2023-06-28T14:56:49.005Z] 14:56:49     INFO - ==> process 5547 launched child process 5567
[task 2023-06-28T14:56:49.005Z] 14:56:49     INFO - ==> process 5547 launched child process 5613
[task 2023-06-28T14:56:49.006Z] 14:56:49     INFO - ==> process 5547 launched child process 5640
[task 2023-06-28T14:56:49.007Z] 14:56:49     INFO - ==> process 5547 launched child process 5683
[task 2023-06-28T14:56:49.007Z] 14:56:49     INFO - ==> process 5547 launched child process 5707
[task 2023-06-28T14:56:49.008Z] 14:56:49     INFO - ==> process 5547 launched child process 5711
[task 2023-06-28T14:56:49.009Z] 14:56:49     INFO - ==> process 5547 launched child process 5726
[task 2023-06-28T14:56:49.010Z] 14:56:49     INFO - ==> process 5547 launched child process 5750
[task 2023-06-28T14:56:49.010Z] 14:56:49     INFO - ==> process 5547 launched child process 5788
[task 2023-06-28T14:56:49.011Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5640
[task 2023-06-28T14:56:49.012Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5707
[task 2023-06-28T14:56:49.013Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5613
[task 2023-06-28T14:56:49.013Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5711
[task 2023-06-28T14:56:49.014Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5683
[task 2023-06-28T14:56:49.015Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5750
[task 2023-06-28T14:56:49.015Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5788
[task 2023-06-28T14:56:49.016Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5726
[task 2023-06-28T14:56:49.017Z] 14:56:49     INFO - zombiecheck | Checking for orphan process with PID: 5567
[task 2023-06-28T14:56:49.017Z] 14:56:49     INFO - Stopping web server
[task 2023-06-28T14:56:49.018Z] 14:56:49     INFO - Server shut down.
[task 2023-06-28T14:56:49.038Z] 14:56:49     INFO - Web server killed.
```