Bug: Intermittent browser/extensions/pdfjs/test/browser_pdfjs_zoom.js | leaked 1 window(s) until shutdown [url = http://example.com/browser/browser/extensions/pdfjs/test/file_pdfjs_test.pdf]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-02-20 11:05:40+00:00
Resolved: 2020-03-24 17:01:53+00:00

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

---

[task 2020-02-20T10:57:20.994Z] 10:57:20     INFO - TEST-START | browser/extensions/pdfjs/test/browser_pdfjs_zoom.js
[task 2020-02-20T10:57:21.014Z] 10:57:21     INFO - GECKO(7128) | [Child 7283: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f0e8ccba000 == 1 [pid = 7283] [id = {5e020b40-56b6-4f57-8201-f7ca1b98ab4c}]
[task 2020-02-20T10:57:21.015Z] 10:57:21     INFO - GECKO(7128) | [Child 7283: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f0e8dcb14c0) [pid = 7283] [serial = 4] [outer = (nil)]
[task 2020-02-20T10:57:21.015Z] 10:57:21     INFO - GECKO(7128) | [Child 7283, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 847
[task 2020-02-20T10:57:21.016Z] 10:57:21     INFO - GECKO(7128) | [Child 7283: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f0e8cc68400) [pid = 7283] [serial = 5] [outer = 0x7f0e8dcb14c0]
[task 2020-02-20T10:57:21.072Z] 10:57:21     INFO - GECKO(7128) | [Child 7283: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f0e8dac4800) [pid = 7283] [serial = 6] [outer = 0x7f0e8dcb14c0]
[task 2020-02-20T10:57:21.254Z] 10:57:21     INFO - GECKO(7128) | [Child 7492: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fe9180cd000 == 0 [pid = 7492] [id = {db9557e3-1806-476f-831b-a5384858a195}] [url = http://example.com/browser/browser/extensions/pdfjs/test/file_pdfjs_test.pdf]
[task 2020-02-20T10:57:21.256Z] 10:57:21     INFO - GECKO(7128) | [Child 7492: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7fe9190f5100) [pid = 7492] [serial = 1] [outer = (nil)] [url = http://example.com/browser/browser/extensions/pdfjs/test/file_pdfjs_test.pdf]
[task 2020-02-20T10:57:21.256Z] 10:57:21     INFO - GECKO(7128) | [Child 7492: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7fe918060c00) [pid = 7492] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-02-20T10:57:21.257Z] 10:57:21     INFO - GECKO(7128) | [Child 7492: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7fe91806c800) [pid = 7492] [serial = 3] [outer = (nil)] [url = http://example.com/browser/browser/extensions/pdfjs/test/file_pdfjs_test.pdf]
[task 2020-02-20T10:57:21.273Z] 10:57:21     INFO - GECKO(7128) | [Child 7492, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/workspace/build/src/xpcom/base/nsCycleCollector.cpp, line 3362
[task 2020-02-20T10:57:21.293Z] 10:57:21     INFO - GECKO(7128) | nsStringStats
[task 2020-02-20T10:57:21.293Z] 10:57:21     INFO - GECKO(7128) |  => mAllocCount:          11019
[task 2020-02-20T10:57:21.294Z] 10:57:21     INFO - GECKO(7128) |  => mReallocCount:            0
[task 2020-02-20T10:57:21.295Z] 10:57:21     INFO - GECKO(7128) |  => mFreeCount:           11019
[task 2020-02-20T10:57:21.295Z] 10:57:21     INFO - GECKO(7128) |  => mShareCount:          12655
[task 2020-02-20T10:57:21.296Z] 10:57:21     INFO - GECKO(7128) |  => mAdoptCount:            689
[task 2020-02-20T10:57:21.297Z] 10:57:21     INFO - GECKO(7128) |  => mAdoptFreeCount:        699
[task 2020-02-20T10:57:21.297Z] 10:57:21     INFO - GECKO(7128) |  => Process ID: 7492, Thread ID: 140639568353088
[task 2020-02-20T10:57:21.400Z] 10:57:21     INFO - GECKO(7128) | [Child 7283, Main Thread] WARNING: Trying to request nsIHttpChannel from DocumentChannel, this is likely broken: file /builds/worker/workspace/build/src/netwerk/ipc/DocumentChannel.cpp, line 64
[task 2020-02-20T10:57:21.400Z] 10:57:21     INFO - GECKO(7128) | [Child 7283, Main Thread] WARNING: Trying to request nsIHttpChannel from DocumentChannel, this is likely broken: file /builds/worker/workspace/build/src/netwerk/ipc/DocumentChannel.cpp, line 64
[task 2020-02-20T10:57:21.400Z] 10:57:21     INFO - GECKO(7128) | [Child 7283, Main Thread] WARNING: NS_ENSURE_TRUE(request) failed: file /builds/worker/workspace/build/src/netwerk/base/nsLoadGroup.cpp, line 584
[task 2020-02-20T10:57:21.445Z] 10:57:21     INFO - GECKO(7128) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpeAYi3a.mozrunner/runtests_leaks_tab_pid7523.log
[task 2020-02-20T10:57:21.465Z] 10:57:21     INFO - GECKO(7128) | [Child 7523, Main Thread] WARNING: No CID found when attempting to map contract ID: file /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp, line 721
[task 2020-02-20T10:57:21.573Z] 10:57:21     INFO - GECKO(7128) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties

[task 2020-02-20T10:57:41.563Z] 10:57:41     INFO - GECKO(7128) | [Parent 7128: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7efe73222f20) [pid = 7128] [serial = 7] [outer = (nil)] [url = resource://gre-resources/hiddenWindow.html]
[task 2020-02-20T10:57:41.564Z] 10:57:41     INFO - GECKO(7128) | [Parent 7128: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7efe7020dc00) [pid = 7128] [serial = 15] [outer = (nil)] [url = about:blank]
[task 2020-02-20T10:57:41.564Z] 10:57:41     INFO - GECKO(7128) | [Parent 7128: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7efe74f2f100) [pid = 7128] [serial = 5] [outer = (nil)] [url = about:blank]
[task 2020-02-20T10:57:41.579Z] 10:57:41     INFO - GECKO(7128) | [Parent 7128: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7efe73294c00) [pid = 7128] [serial = 9] [outer = (nil)] [url = resource://gre-resources/hiddenWindow.html]
[task 2020-02-20T10:57:41.595Z] 10:57:41     INFO - GECKO(7128) | [Parent 7128, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/workspace/build/src/xpcom/base/nsCycleCollector.cpp, line 3362
[task 2020-02-20T10:57:41.651Z] 10:57:41     INFO - GECKO(7128) | nsStringStats
[task 2020-02-20T10:57:41.652Z] 10:57:41     INFO - GECKO(7128) |  => mAllocCount:         174434
[task 2020-02-20T10:57:41.653Z] 10:57:41     INFO - GECKO(7128) |  => mReallocCount:            1
[task 2020-02-20T10:57:41.653Z] 10:57:41     INFO - GECKO(7128) |  => mFreeCount:          174434
[task 2020-02-20T10:57:41.653Z] 10:57:41     INFO - GECKO(7128) |  => mShareCount:         163463
[task 2020-02-20T10:57:41.653Z] 10:57:41     INFO - GECKO(7128) |  => mAdoptCount:           2836
[task 2020-02-20T10:57:41.653Z] 10:57:41     INFO - GECKO(7128) |  => mAdoptFreeCount:       2986
[task 2020-02-20T10:57:41.653Z] 10:57:41     INFO - GECKO(7128) |  => Process ID: 7128, Thread ID: 139631951869760
[task 2020-02-20T10:57:41.690Z] 10:57:41     INFO - TEST-INFO | Main app process: exit 0
[task 2020-02-20T10:57:41.691Z] 10:57:41     INFO - TEST-INFO | Confirming we saw 30 DOCSHELL created and 30 destroyed log strings.
[task 2020-02-20T10:57:41.692Z] 10:57:41     INFO - TEST-INFO | Confirming we saw 82 DOMWINDOW created and 82 destroyed log strings.
[task 2020-02-20T10:57:41.692Z] 10:57:41    ERROR - TEST-UNEXPECTED-FAIL | browser/extensions/pdfjs/test/browser_pdfjs_zoom.js | leaked 1 window(s) until shutdown [url = http://example.com/browser/browser/extensions/pdfjs/test/file_pdfjs_test.pdf]
[task 2020-02-20T10:57:41.693Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_zoom.js | windows(s) leaked: [pid = 7552] [serial = 1]
[task 2020-02-20T10:57:41.694Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_zoom.js | This test created 1 hidden window(s)
[task 2020-02-20T10:57:41.695Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_zoom.js | This test created 1 hidden docshell(s)
[task 2020-02-20T10:57:41.695Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_main.js | This test created 1 hidden window(s)
[task 2020-02-20T10:57:41.700Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_main.js | This test created 1 hidden docshell(s)
[task 2020-02-20T10:57:41.701Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_navigation.js | This test created 1 hidden window(s)
[task 2020-02-20T10:57:41.702Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_navigation.js | This test created 1 hidden docshell(s)
[task 2020-02-20T10:57:41.702Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_savedialog.js | This test created 1 hidden window(s)
[task 2020-02-20T10:57:41.703Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_savedialog.js | This test created 1 hidden docshell(s)
[task 2020-02-20T10:57:41.704Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_views.js | This test created 1 hidden window(s)
[task 2020-02-20T10:57:41.704Z] 10:57:41     INFO - TEST-INFO | browser/extensions/pdfjs/test/browser_pdfjs_views.js | This test created 1 hidden docshell(s)
[task 2020-02-20T10:57:41.705Z] 10:57:41     INFO - runtests.py | Application ran for: 0:00:46.463494