Bug: Intermittent toolkit/content/tests/browser/browser_bug1170531.js | application terminated with exit code 1
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-07-30 10:34:18+00:00
Resolved: 2020-08-25 17:05:32+00:00

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

---

```
[task 2020-07-30T09:30:28.104Z] 09:30:28     INFO - TEST-START | toolkit/content/tests/browser/browser_bug1170531.js
[task 2020-07-30T09:30:28.140Z] 09:30:28     INFO - GECKO(27401) | [Child 27560: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f327a3d7000 == 2 [pid = 27560] [id = {3c798c7d-dfa8-4e40-8fc4-0d2f76224d73}]
[task 2020-07-30T09:30:28.140Z] 09:30:28     INFO - GECKO(27401) | [Child 27560: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f32966936f0) [pid = 27560] [serial = 40] [outer = (nil)]
[task 2020-07-30T09:30:28.140Z] 09:30:28     INFO - GECKO(27401) | [Child 27560: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f327a50f000) [pid = 27560] [serial = 41] [outer = 0x7f32966936f0]
[task 2020-07-30T09:30:28.175Z] 09:30:28     INFO - GECKO(27401) | [Child 27560: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f327fc3a400) [pid = 27560] [serial = 42] [outer = 0x7f32966936f0]
[task 2020-07-30T09:30:28.219Z] 09:30:28     INFO - GECKO(27401) | [Child 28990: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f4740372800 == 0 [pid = 28990] [id = {0de685b3-1a94-4c7b-bbb0-8465ecd4df82}] [url = https://example.com/browser/toolkit/content/tests/browser/audio.ogg]
[task 2020-07-30T09:30:28.280Z] 09:30:28     INFO - GECKO(27401) | [Child 28990: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f4756c936f0) [pid = 28990] [serial = 1] [outer = (nil)] [url = https://example.com/browser/toolkit/content/tests/browser/audio.ogg]
[task 2020-07-30T09:30:28.280Z] 09:30:28     INFO - GECKO(27401) | [Child 28990: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f473a0d8c00) [pid = 28990] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-07-30T09:30:28.280Z] 09:30:28     INFO - GECKO(27401) | [Child 28990: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f47404a1c00) [pid = 28990] [serial = 3] [outer = (nil)] [url = https://example.com/browser/toolkit/content/tests/browser/audio.ogg]
[task 2020-07-30T09:30:28.300Z] 09:30:28     INFO - GECKO(27401) | [Child 28990, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-07-30T09:30:28.324Z] 09:30:28     INFO - GECKO(27401) | [Child 28990, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4343
[task 2020-07-30T09:30:28.460Z] 09:30:28     INFO - GECKO(27401) | [Child 27560: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7f327fc50800) [pid = 27560] [serial = 43] [outer = 0x7f32966936f0]
[task 2020-07-30T09:30:28.596Z] 09:30:28     INFO - GECKO(27401) | [Child 27633, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp, line 6681
[task 2020-07-30T09:30:28.597Z] 09:30:28     INFO - GECKO(27401) | [Child 27560, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp, line 6681
[task 2020-07-30T09:30:28.684Z] 09:30:28     INFO - GECKO(27401) | Gdk-Message: 09:30:28.677: firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
[task 2020-07-30T09:30:28.712Z] 09:30:28     INFO - GECKO(27401) | [RDD 28287, Main Thread] WARNING: Shutting down RDD process early due to a crash!: file /builds/worker/checkouts/gecko/dom/media/ipc/RDDParent.cpp, line 204
[task 2020-07-30T09:30:28.716Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.717Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.718Z] 09:30:28     INFO - GECKO(27401) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-07-30T09:30:28.732Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.732Z] 09:30:28     INFO - GECKO(27401) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-07-30T09:30:28.732Z] 09:30:28     INFO - GECKO(27401) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2020-07-30T09:30:28.732Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.732Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.732Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.740Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.740Z] 09:30:28     INFO - GECKO(27401) | Exiting due to channel error.
[task 2020-07-30T09:30:28.767Z] 09:30:28     INFO - TEST-INFO | Main app process: exit 1
[task 2020-07-30T09:30:28.767Z] 09:30:28    ERROR - TEST-UNEXPECTED-FAIL | ShutdownLeaks | process() called before end of test suite
[task 2020-07-30T09:30:28.767Z] 09:30:28     INFO - TEST-INFO | Confirming we saw 81 DOCSHELL created and 67 destroyed log strings.
[task 2020-07-30T09:30:28.768Z] 09:30:28     INFO - TEST-INFO | Confirming we saw 230 DOMWINDOW created and 196 destroyed log strings.
[task 2020-07-30T09:30:28.768Z] 09:30:28     INFO - Buffered messages logged at 09:30:28
[task 2020-07-30T09:30:28.769Z] 09:30:28     INFO - Entering test bound 
[task 2020-07-30T09:30:28.769Z] 09:30:28     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<div>hello!</div>" line: 0}]
[task 2020-07-30T09:30:28.769Z] 09:30:28     INFO - TEST-PASS | toolkit/content/tests/browser/browser_bug1170531.js | menu_cut should be enabled - 
[task 2020-07-30T09:30:28.769Z] 09:30:28     INFO - TEST-PASS | toolkit/content/tests/browser/browser_bug1170531.js | menu_copy should be enabled - 
[task 2020-07-30T09:30:28.769Z] 09:30:28     INFO - Buffered messages finished
[task 2020-07-30T09:30:28.770Z] 09:30:28    ERROR - TEST-UNEXPECTED-FAIL | toolkit/content/tests/browser/browser_bug1170531.js | application terminated with exit code 1
[task 2020-07-30T09:30:28.770Z] 09:30:28     INFO - runtests.py | Application ran for: 0:01:31.733496
<...>
[task 2020-07-30T09:30:28.828Z] 09:30:28     INFO - zombiecheck | Checking for orphan process with PID: 28650
[task 2020-07-30T09:30:28.828Z] 09:30:28     INFO - zombiecheck | Checking for orphan process with PID: 28158
[task 2020-07-30T09:30:28.829Z] 09:30:28     INFO - zombiecheck | Checking for orphan process with PID: 28287
[task 2020-07-30T09:30:28.829Z] 09:30:28     INFO - Stopping web server
[task 2020-07-30T09:30:28.830Z] 09:30:28     INFO - Stopping web socket server
[task 2020-07-30T09:30:28.830Z] 09:30:28     INFO - Stopping ssltunnel
[task 2020-07-30T09:30:28.846Z] 09:30:28     INFO - leakcheck | Processing log file /tmp/tmpIjMq1Y.mozrunner/runtests_leaks.log
[task 2020-07-30T09:30:28.847Z] 09:30:28     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.847Z] 09:30:28     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.848Z] 09:30:28     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2020-07-30T09:30:28.848Z] 09:30:28     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.848Z] 09:30:28     INFO - TEST-INFO | leakcheck | plugin process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.849Z] 09:30:28     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 400 bytes
[task 2020-07-30T09:30:28.849Z] 09:30:28     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.850Z] 09:30:28     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.850Z] 09:30:28     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2020-07-30T09:30:28.851Z] 09:30:28     INFO - leakcheck | Processing leak log file /tmp/tmpIjMq1Y.mozrunner/runtests_leaks.log
[task 2020-07-30T09:30:28.851Z] 09:30:28     INFO - TEST-UNEXPECTED-FAIL | leakcheck | default missing output line for total leaks!
[task 2020-07-30T09:30:28.852Z] 09:30:28     INFO - leakcheck | Processing leak log file /tmp/tmpIjMq1Y.mozrunner/runtests_leaks_tab_pid28650.log
[task 2020-07-30T09:30:28.852Z] 09:30:28     INFO - 
[task 2020-07-30T09:30:28.852Z] 09:30:28     INFO - == BloatView: ALL (cumulative) LEAK AND BLOAT STATISTICS, tab process 28650
[task 2020-07-30T09:30:28.853Z] 09:30:28     INFO - 
[task 2020-07-30T09:30:28.853Z] 09:30:28     INFO -      |<----------------Class--------------->|<-----Bytes------>|<----Objects---->|
[task 2020-07-30T09:30:28.854Z] 09:30:28     INFO -      |                                      | Per-Inst   Leaked|   Total      Rem|
[task 2020-07-30T09:30:28.854Z] 09:30:28     INFO -    0 |TOTAL                                 |       37        0|   35266        0|
[task 2020-07-30T09:30:28.855Z] 09:30:28     INFO - 
[task 2020-07-30T09:30:28.855Z] 09:30:28     INFO - nsTraceRefcnt::DumpStatistics: 863 entries
[task 2020-07-30T09:30:28.856Z] 09:30:28     INFO - TEST-PASS | leakcheck | tab no leaks detected!
```