Bug: Intermittent browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js | Uncaught exception - AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2020-09-09 00:11:21+00:00
Resolved: 2022-07-25 23:16:00+00:00

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

---
```
```
[task 2020-09-08T23:29:24.274Z] 23:29:24     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js
[task 2020-09-08T23:29:24.290Z] 23:29:24     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f67bcaa9400 == 2 [pid = 4144] [id = {c7f9a8da-a453-4406-91e0-4b3b1fe20c44}]
[task 2020-09-08T23:29:24.292Z] 23:29:24     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f67bca4a260) [pid = 4144] [serial = 100] [outer = (nil)]
[task 2020-09-08T23:29:24.292Z] 23:29:24     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f67bcaa9800) [pid = 4144] [serial = 101] [outer = 0x7f67bca4a260]
[task 2020-09-08T23:29:24.597Z] 23:29:24     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f67bd7a6c00) [pid = 4144] [serial = 102] [outer = 0x7f67bca4a260]
[task 2020-09-08T23:29:25.097Z] 23:29:25     INFO - GECKO(4006) | [Child 4357: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f5e5a0f0c00 == 2 [pid = 4357] [id = {183b1e1e-a20b-4488-8491-43b6db44a853}] [url = about:blank]
[task 2020-09-08T23:29:25.097Z] 23:29:25     INFO - GECKO(4006) | [Child 4357: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f5e5a0f3400 == 1 [pid = 4357] [id = {7a16efb4-1aa0-4d92-bdc4-084cf6e19c67}] [url = about:blank]
[task 2020-09-08T23:29:25.097Z] 23:29:25     INFO - GECKO(4006) | [Child 4357: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f5e5a0f5000 == 0 [pid = 4357] [id = {c8ec3071-e78d-47cf-bc2d-298e1edb71c6}] [url = http://example.org/]
[task 2020-09-08T23:29:25.137Z] 23:29:25     INFO - GECKO(4006) | [Socket 4039, Main Thread] WARNING: response headers not available or incomplete: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpTransaction.cpp, line 512
[task 2020-09-08T23:29:25.278Z] 23:29:25     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7f67bda2e000) [pid = 4144] [serial = 103] [outer = 0x7f67bca4a260]
[task 2020-09-08T23:29:25.374Z] 23:29:25     INFO - GECKO(4006) | [Child 4144, Main Thread] WARNING: '!tsi', file /builds/worker/checkouts/gecko/dom/base/Document.cpp, line 1597
[task 2020-09-08T23:29:26.221Z] 23:29:26     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f67b9cc5800 == 3 [pid = 4144] [id = {58762059-afcc-4adf-895f-14483818ebfe}]
[task 2020-09-08T23:29:26.221Z] 23:29:26     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (0x7f67bca4a600) [pid = 4144] [serial = 104] [outer = (nil)]
[task 2020-09-08T23:29:26.221Z] 23:29:26     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (0x7f67b9cc6000) [pid = 4144] [serial = 105] [outer = 0x7f67bca4a600]
[task 2020-09-08T23:29:27.261Z] 23:29:27     INFO - GECKO(4006) | [Child 4144: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0x7f67b9ccb000) [pid = 4144] [serial = 106] [outer = 0x7f67bca4a600]
[task 2020-09-08T23:29:27.290Z] 23:29:27     INFO - TEST-INFO | started process screentopng
[task 2020-09-08T23:29:27.591Z] 23:29:27     INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-08T23:29:27.591Z] 23:29:27     INFO - Buffered messages logged at 23:29:24
[task 2020-09-08T23:29:27.591Z] 23:29:27     INFO - Entering test bound validURL
[task 2020-09-08T23:29:27.592Z] 23:29:27     INFO - Buffered messages logged at 23:29:25
[task 2020-09-08T23:29:27.593Z] 23:29:27     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js | Text is still in URL bar - 
[task 2020-09-08T23:29:27.593Z] 23:29:27     INFO - Buffered messages logged at 23:29:26
[task 2020-09-08T23:29:27.594Z] 23:29:27     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js | Text is still in URL bar after tab switch - 
[task 2020-09-08T23:29:27.594Z] 23:29:27     INFO - Leaving test bound validURL
[task 2020-09-08T23:29:27.594Z] 23:29:27     INFO - Entering test bound invalidURL
[task 2020-09-08T23:29:27.595Z] 23:29:27     INFO - Buffered messages finished
[task 2020-09-08T23:29:27.595Z] 23:29:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js | Uncaught exception - AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved
[task 2020-09-08T23:29:27.595Z] 23:29:27     INFO - Leaving test bound invalidURL
[task 2020-09-08T23:29:27.596Z] 23:29:27     INFO - GECKO(4006) | [Child 4144, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp, line 42
[task 2020-09-08T23:29:27.602Z] 23:29:27     INFO - GECKO(4006) | MEMORY STAT | vsize 3340MB | residentFast 529MB | heapAllocated 194MB
[task 2020-09-08T23:29:27.602Z] 23:29:27     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js | took 3208ms
[task 2020-09-08T23:29:27.602Z] 23:29:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-08T23:29:27.602Z] 23:29:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_keepStateAcrossTabSwitches.js | Found an unexpected tab at the end of test run: about:blank - 
[task 2020-09-08T23:29:27.603Z] 23:29:27     INFO - GECKO(4006) | [Child 4357: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f5e5a0f4000 == 1 [pid = 4357] [id = {73ef4ca4-834d-4be6-954a-8d758f5cfe03}]
[task 2020-09-08T23:29:27.603Z] 23:29:27     INFO - GECKO(4006) | [Child 4357: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0x7f5e78c93a90) [pid = 4357] [serial = 83] [outer = (nil)]
[task 2020-09-08T23:29:27.603Z] 23:29:27     INFO - GECKO(4006) | [Child 4357: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (0x7f5e5a0f4800) [pid = 4357] [serial = 84] [outer = 0x7f5e78c93a90]
[task 2020-09-08T23:29:27.604Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7ff14c08ac00 == 4 [pid = 4245] [id = {a8bda7a2-ffd1-4ae6-b404-22ed948246b1}] [url = about:blank]
[task 2020-09-08T23:29:27.604Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7ff14c08ec00 == 3 [pid = 4245] [id = {0b6d3121-068d-4101-8fd3-543b5797618b}] [url = about:blank]
[task 2020-09-08T23:29:27.607Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7ff14c0dd800 == 2 [pid = 4245] [id = {55f99d07-acab-442b-a7f9-73dda9e6d957}] [url = http://example.org/]
[task 2020-09-08T23:29:27.608Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7ff14c97ec00 == 1 [pid = 4245] [id = {91d27405-6cc8-4d4e-82b1-bc79daf81fb4}] [url = about:blank]
[task 2020-09-08T23:29:27.608Z] 23:29:27     INFO - checking window state
[task 2020-09-08T23:29:27.704Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0x7ff14f28a430) [pid = 4245] [serial = 135] [outer = (nil)] [url = about:blank]
[task 2020-09-08T23:29:27.704Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7ff14f28a260) [pid = 4245] [serial = 131] [outer = (nil)] [url = http://example.org/]
[task 2020-09-08T23:29:27.704Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7ff14f28a090) [pid = 4245] [serial = 128] [outer = (nil)] [url = about:blank]
[task 2020-09-08T23:29:27.704Z] 23:29:27     INFO - GECKO(4006) | [Child 4245: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7ff14f28a7d0) [pid = 4245] [serial = 126] [outer = (nil)] [url = about:blank]
``````