Bug: Intermittent browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-02-26 02:01:18+00:00
Resolved: 2024-10-21 12:06:25+00:00

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

---
```
[task 2023-02-26T00:03:25.165Z] 00:03:25     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js | Expected the right value set to browser.startup.abouthome_cache_result scalar. - 6 == 6 - 
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Simulating restart of the browser
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Simulating shutdown write
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Shutdown write done
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Console message: 1677369799840	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Console message: 1677369799840	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2023-02-26T00:03:25.167Z] 00:03:25     INFO - Console message: 1677369799841	AboutHomeStartupCache	TRACE	Caching now.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799841	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: [JavaScript Error: "1677369799841	AboutHomeStartupCache	ERROR	requestCache called with no _procManager!" {file: "resource://gre/modules/Log.sys.mjs" line: 723}]
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - append@resource://gre/modules/Log.sys.mjs:723:12
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - log@resource://gre/modules/Log.sys.mjs:377:16
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - error@resource://gre/modules/Log.sys.mjs:385:10
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - requestCache@resource:///modules/BrowserGlue.sys.mjs:6018:16
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - cacheNow@resource:///modules/BrowserGlue.sys.mjs:5973:61
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - init/this._cacheTask<@resource:///modules/BrowserGlue.sys.mjs:5816:18
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - _runTask@resource://gre/modules/DeferredTask.sys.mjs:347:18
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - _timerCallback/<@resource://gre/modules/DeferredTask.sys.mjs:318:20
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - _timerCallback@resource://gre/modules/DeferredTask.sys.mjs:337:9
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - finalize@resource://gre/modules/DeferredTask.sys.mjs:282:12
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - onShutdown@resource:///modules/BrowserGlue.sys.mjs:5941:39
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - simulateRestart@chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/head.js:125:50
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - test_process_crash/<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js:37:11
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - 
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799841	AboutHomeStartupCache	TRACE	Skipping timeout mechanism.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799841	AboutHomeStartupCache	TRACE	Failed to get cache streams.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799842	AboutHomeStartupCache	TRACE	Done blocking shutdown.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799842	AboutHomeStartupCache	TRACE	onShutdown is exiting
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799842	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - AboutHomeStartupCacheChild uninitted
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Got AboutHomeStartupCache cache entry
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Ensuring cache bytes are available
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799848	AboutHomeStartupCache	TRACE	Initting.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799849	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2023-02-26T00:03:25.171Z] 00:03:25     INFO - Console message: 1677369799849	AboutHomeStartupCache	TRACE	Cache entry is available.
[task 2023-02-26T00:03:25.181Z] 00:03:25     INFO - Console message: 1677369799849	AboutHomeStartupCache	TRACE	Connecting nsICacheEntry to pipes.
[task 2023-02-26T00:03:25.181Z] 00:03:25     INFO - Console message: 1677369799849	AboutHomeStartupCache	TRACE	
[task 2023-02-26T00:03:25.181Z] 00:03:25     INFO - Console message: 1677369799849	AboutHomeStartupCache	INFO	Version retrieved is: 20230225222259
[task 2023-02-26T00:03:25.181Z] 00:03:25     INFO - Console message: 1677369799850	AboutHomeStartupCache	TRACE	Connecting page stream to pipe.
[task 2023-02-26T00:03:25.181Z] 00:03:25     INFO - Console message: 1677369799850	AboutHomeStartupCache	TRACE	Connecting script stream to pipe.
[task 2023-02-26T00:03:25.181Z] 00:03:25     INFO - Console message: 1677369799850	AboutHomeStartupCache	TRACE	Streams connected to pipes.
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Console message: 1677369799850	AboutHomeStartupCache	TRACE	Initialized.
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Console message: 1677369799851	AboutHomeStartupCache	TRACE	A privileged about content process is launching with ID 7.
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Console message: 1677369799851	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Buffered messages finished
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js | Uncaught exception in test bound test_process_crash - "undefined - timed out after 50 tries."
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Leaving test bound test_process_crash
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Entering test bound test_process_crash_while_requesting_streams
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - GECKO(5036) | [Child 7416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 218dcae4000 == 3 [pid = 7416] [id = 2]
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - GECKO(5036) | [Child 7416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (218d5a81d20) [pid = 7416] [serial = 7] [outer = 0]
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - GECKO(5036) | [Child 7416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (218deebe800) [pid = 7416] [serial = 8] [outer = 218d5a81d20]
[task 2023-02-26T00:03:25.192Z] 00:03:25     INFO - Console message: 1677369805137	AboutHomeStartupCache	TRACE	Received usage result. Success = false
<...>
[task 2023-02-26T00:03:26.229Z] 00:03:26     INFO - Console message: 1677369806224	AboutHomeStartupCache	INFO	Script stream connected to pipe.
[task 2023-02-26T00:03:26.230Z] 00:03:26     INFO - Console message: 1677369806225	AboutHomeStartupCache	INFO	Page stream connected to pipe.
[task 2023-02-26T00:03:26.232Z] 00:03:26     INFO - GECKO(5036) | [Parent 5728: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (1c4941a9c00) [pid = 5728] [serial = 20] [outer = 1c496f53c30]
[task 2023-02-26T00:03:26.244Z] 00:03:26     INFO - GECKO(5036) | [GPU 7828, Compositor] WARNING: bad Shmem: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:446
[task 2023-02-26T00:03:26.254Z] 00:03:26     INFO - GECKO(5036) | [GPU 7828, Compositor] WARNING: bad Shmem: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:446
[task 2023-02-26T00:03:26.254Z] 00:03:26     INFO - GECKO(5036) | [GPU 7828, Compositor] WARNING: bad Shmem: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:446
[task 2023-02-26T00:03:26.254Z] 00:03:26     INFO - GECKO(5036) | [GPU 7828, Compositor] WARNING: bad Shmem: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:446
[task 2023-02-26T00:03:26.268Z] 00:03:26     INFO - GECKO(5036) | about:tabcrashed loaded and ready
[task 2023-02-26T00:03:27.235Z] 00:03:27     INFO - GECKO(5036) | [Parent 5728: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1c4941a7000) [pid = 5728] [serial = 17] [outer = 0] [url = about:tabcrashed?e=tabcrashed&u=about%3Ahome&c=UTF-8&d=undefined]
[task 2023-02-26T00:03:31.491Z] 00:03:31     INFO - GECKO(5036) | [Parent 5728: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (1c492cd4000) [pid = 5728] [serial = 19] [outer = 0] [url = about:blank]
[task 2023-02-26T00:03:44.474Z] 00:03:44     INFO - GECKO(5036) | Crash cleaned up
[task 2023-02-26T00:03:44.482Z] 00:03:44     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js | Page and script input streams are null. - true == true - 

```