Bug: Intermittent browser/base/content/test/gesture/browser_gesture_navigation.js | leaked 2 window(s) until shutdown [url = about:blank]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-03-28 21:13:24+00:00
Resolved: 2023-07-07 12:03:20+00:00

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

---
```
[task 2022-03-28T19:57:35.746Z] 19:57:35     INFO - GECKO(7872) | ###!!! [Parent][PGPUParent] Error: RunMessage(msgname=PGPU::Msg_ShutdownVR) Channel closing: too late to send/recv, messages will be lost
[task 2022-03-28T19:57:35.759Z] 19:57:35     INFO - GECKO(7872) | [GPU 6236, Main Thread] WARNING: IPC message 'PGPU::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-03-28T19:57:35.770Z] 19:57:35     INFO - GECKO(7872) | Destroying context 00000222BBF96000 surface 00000222BBF95190 on display 00000222BBF2B000
[task 2022-03-28T19:57:35.782Z] 19:57:35     INFO - GECKO(7872) | [GPU 6236, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4465
[task 2022-03-28T19:57:36.507Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1b3b7ee8c00) [pid = 5700] [serial = 4] [outer = 0] [url = about:blank]
[task 2022-03-28T19:57:36.510Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (1b3ab5619a0) [pid = 5700] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-03-28T19:57:36.511Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (1b3ab562bc0) [pid = 5700] [serial = 13] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2022-03-28T19:57:36.512Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (1b3c1749400) [pid = 5700] [serial = 14] [outer = 0] [url = about:blank]
[task 2022-03-28T19:57:36.513Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (1b3b6abdc00) [pid = 5700] [serial = 36] [outer = 0] [url = about:blank]
[task 2022-03-28T19:57:36.513Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (1b3ab561b70) [pid = 5700] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2022-03-28T19:57:36.514Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (1b3bbeba000) [pid = 5700] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2022-03-28T19:57:36.515Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (1b3bf4c5430) [pid = 5700] [serial = 27] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-03-28T19:57:36.515Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (1b3bf4c69f0) [pid = 5700] [serial = 19] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2022-03-28T19:57:36.516Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1b3bd5f1000) [pid = 5700] [serial = 28] [outer = 0] [url = about:blank]
[task 2022-03-28T19:57:36.516Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (1b3bd5e6400) [pid = 5700] [serial = 20] [outer = 0] [url = about:blank]
[task 2022-03-28T19:57:36.517Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1b3ab564e30) [pid = 5700] [serial = 10] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2022-03-28T19:57:36.518Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1b3ab5629f0) [pid = 5700] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-03-28T19:57:36.519Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1b3bfc7a400) [pid = 5700] [serial = 12] [outer = 0] [url = resource://gre-resources/hiddenWindow.html]
[task 2022-03-28T19:57:36.531Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-03-28T19:57:36.555Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:128
[task 2022-03-28T19:57:36.601Z] 19:57:36     INFO - GECKO(7872) | [Parent 5700, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4465
[task 2022-03-28T19:57:36.631Z] 19:57:36     INFO - TEST-INFO | Main app process: exit 0
[task 2022-03-28T19:57:36.632Z] 19:57:36     INFO - TEST-INFO | Confirming we saw 30 DOCSHELL created and 30 destroyed log strings.
[task 2022-03-28T19:57:36.632Z] 19:57:36     INFO - TEST-INFO | Confirming we saw 83 DOMWINDOW created and 83 destroyed log strings.
[task 2022-03-28T19:57:36.633Z] 19:57:36    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/gesture/browser_gesture_navigation.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2022-03-28T19:57:36.633Z] 19:57:36    ERROR - TEST-UNEXPECTED-FAIL | browser/base/content/test/gesture/browser_gesture_navigation.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/browser.xhtml]
[task 2022-03-28T19:57:36.634Z] 19:57:36     INFO - TEST-INFO | browser/base/content/test/gesture/browser_gesture_navigation.js | windows(s) leaked: [pid = 5700] [serial = 28], [pid = 5700] [serial = 19], [pid = 5700] [serial = 27], [pid = 5700] [serial = 20]
[task 2022-03-28T19:57:36.634Z] 19:57:36     INFO - TEST-INFO | browser/base/content/test/gesture/browser_gesture_navigation.js | This test created 1 hidden window(s)
[task 2022-03-28T19:57:36.635Z] 19:57:36     INFO - TEST-INFO | browser/base/content/test/gesture/browser_gesture_navigation.js | This test created 1 hidden docshell(s)
[task 2022-03-28T19:57:36.635Z] 19:57:36     INFO - runtests.py | Application ran for: 0:00:51.933080
[task 2022-03-28T19:57:36.635Z] 19:57:36     INFO - zombiecheck | Reading PID log: C:\Users\task_164849452324718\AppData\Local\Temp\tmpvq8y78o_pidlog
[task 2022-03-28T19:57:36.636Z] 19:57:36     INFO - ==> process 5700 launched child process 6236 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.0.1182552111\1388277349" -parentBuildID 20220328191119 -prefsHandle 2076 -prefMapHandle 2068 -prefsLen 1 -prefMapSize 261707 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 2156 1b3b7cd9480 gpu)
[task 2022-03-28T19:57:36.637Z] 19:57:36     INFO - ==> process 5700 launched child process 5276 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.1.1926698001\1555770198" -childID 1 -isForBrowser -prefsHandle 2704 -prefMapHandle 2688 -prefsLen 1641 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 2716 1b3baf23f80 tab)
[task 2022-03-28T19:57:36.638Z] 19:57:36     INFO - ==> process 5700 launched child process 872 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.2.284899215\1066959747" -childID 2 -isForBrowser -prefsHandle 2872 -prefMapHandle 3036 -prefsLen 1746 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 2900 1b3baf23380 tab)
[task 2022-03-28T19:57:36.639Z] 19:57:36     INFO - ==> process 5700 launched child process 5748 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.3.198174775\730184481" -childID 3 -isForBrowser -prefsHandle 3352 -prefMapHandle 3348 -prefsLen 1821 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 3360 1b3bd240780 tab)
[task 2022-03-28T19:57:36.640Z] 19:57:36     INFO - ==> process 5700 launched child process 7120 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.4.1530576707\669902087" -childID 4 -isForBrowser -prefsHandle 3032 -prefMapHandle 3720 -prefsLen 2063 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 2844 1b3b7cda680 tab)
[task 2022-03-28T19:57:36.641Z] 19:57:36     INFO - ==> process 5700 launched child process 8060 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.5.3084250\98935405" -childID 5 -isForBrowser -prefsHandle 3892 -prefMapHandle 3888 -prefsLen 2063 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 3904 1b3bca15580 tab)
[task 2022-03-28T19:57:36.641Z] 19:57:36     INFO - ==> process 5700 launched child process 1752 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.6.962976362\1254886084" -childID 6 -isForBrowser -prefsHandle 3868 -prefMapHandle 3872 -prefsLen 2063 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 4048 1b3bce8de80 tab)
[task 2022-03-28T19:57:36.642Z] 19:57:36     INFO - ==> process 5700 launched child process 5152 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.7.621510541\152662657" -childID 7 -isForBrowser -prefsHandle 4348 -prefMapHandle 4312 -prefsLen 8478 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 4264 1b3ab585b80 tab)
[task 2022-03-28T19:57:36.643Z] 19:57:36     INFO - ==> process 5700 launched child process 3740 ("Z:\task_164849452324718\build\application\firefox\firefox.exe" -contentproc --channel="5700.8.561790624\1809324940" -childID 8 -isForBrowser -prefsHandle 5060 -prefMapHandle 5076 -prefsLen 10048 -prefMapSize 261707 -jsInitHandle 1344 -jsInitLen 337240 -a11yResourceId 64 -parentBuildID 20220328191119 -appDir "Z:\task_164849452324718\build\application\firefox\browser" - 5700 "\\.\pipe\gecko-crash-server-pipe.5700" 5096 1b3b72f6680 tab)
[task 2022-03-28T19:57:36.644Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 5152
[task 2022-03-28T19:57:36.644Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 3740
[task 2022-03-28T19:57:36.644Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 872
[task 2022-03-28T19:57:36.645Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 8060
[task 2022-03-28T19:57:36.645Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 6236
[task 2022-03-28T19:57:36.645Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 7120
[task 2022-03-28T19:57:36.646Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 5748
[task 2022-03-28T19:57:36.646Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 1752
[task 2022-03-28T19:57:36.647Z] 19:57:36     INFO - zombiecheck | Checking for orphan process with PID: 5276
[task 2022-03-28T19:57:36.647Z] 19:57:36     INFO - Stopping web server
[task 2022-03-28T19:57:36.647Z] 19:57:36     INFO - Server shut down.
[task 2022-03-28T19:57:36.676Z] 19:57:36     INFO - Web server killed.
[task 2022-03-28T19:57:36.677Z] 19:57:36     INFO - Stopping web socket server
[task 2022-03-28T19:57:36.721Z] 19:57:36     INFO - Stopping ssltunnel
```