Bug: Intermittent browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js | Uncaught exception - undefined - threw exception: TypeError: can't access property "available", pageStream is undefined
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-11-26 17:37:39+00:00
Resolved: 2023-10-18 12:03:14+00:00

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

---
```
[task 2020-11-26T17:04:04.483Z] 17:04:04     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 2020-11-26T17:04:04.483Z] 17:04:04     INFO - Simulating restart of the browser
[task 2020-11-26T17:04:04.484Z] 17:04:04     INFO - Simulating shutdown write
[task 2020-11-26T17:04:04.485Z] 17:04:04     INFO - Shutdown write done
[task 2020-11-26T17:04:04.485Z] 17:04:04     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2020-11-26T17:04:04.486Z] 17:04:04     INFO - Console message: 1606410243545	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2020-11-26T17:04:04.488Z] 17:04:04     INFO - Console message: 1606410243545	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2020-11-26T17:04:04.489Z] 17:04:04     INFO - Console message: 1606410243546	AboutHomeStartupCache	TRACE	Caching now.
[task 2020-11-26T17:04:04.490Z] 17:04:04     INFO - Console message: 1606410243546	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2020-11-26T17:04:04.492Z] 17:04:04     INFO - Console message: [JavaScript Error: "1606410243546	AboutHomeStartupCache	ERROR	requestCache called with no _procManager!" {file: "resource://gre/modules/Log.jsm" line: 723}]
[task 2020-11-26T17:04:04.493Z] 17:04:04     INFO - append@resource://gre/modules/Log.jsm:723:12
[task 2020-11-26T17:04:04.494Z] 17:04:04     INFO - log@resource://gre/modules/Log.jsm:379:16
[task 2020-11-26T17:04:04.494Z] 17:04:04     INFO - error@resource://gre/modules/Log.jsm:387:10
[task 2020-11-26T17:04:04.495Z] 17:04:04     INFO - requestCache@resource:///modules/BrowserGlue.jsm:5113:16
[task 2020-11-26T17:04:04.495Z] 17:04:04     INFO - cacheNow@resource:///modules/BrowserGlue.jsm:5072:61
[task 2020-11-26T17:04:04.496Z] 17:04:04     INFO - init/this._cacheTask<@resource:///modules/BrowserGlue.jsm:4950:18
[task 2020-11-26T17:04:04.496Z] 17:04:04     INFO - _runTask@resource://gre/modules/DeferredTask.jsm:333:18
[task 2020-11-26T17:04:04.496Z] 17:04:04     INFO - _timerCallback/<@resource://gre/modules/DeferredTask.jsm:305:20
[task 2020-11-26T17:04:04.497Z] 17:04:04     INFO - _timerCallback@resource://gre/modules/DeferredTask.jsm:324:9
[task 2020-11-26T17:04:04.497Z] 17:04:04     INFO - finalize@resource://gre/modules/DeferredTask.jsm:276:12
[task 2020-11-26T17:04:04.498Z] 17:04:04     INFO - onShutdown@resource:///modules/BrowserGlue.jsm:5057:29
[task 2020-11-26T17:04:04.498Z] 17:04:04     INFO - simulateRestart@chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/head.js:91:33
[task 2020-11-26T17:04:04.499Z] 17:04:04     INFO - test_process_crash/<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js:37:11
[task 2020-11-26T17:04:04.499Z] 17:04:04     INFO - 
[task 2020-11-26T17:04:04.500Z] 17:04:04     INFO - Console message: 1606410243546	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2020-11-26T17:04:04.501Z] 17:04:04     INFO - AboutHomeStartupCacheChild uninitted
[task 2020-11-26T17:04:04.501Z] 17:04:04     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2020-11-26T17:04:04.506Z] 17:04:04     INFO - Got AboutHomeStartupCache cache entry
[task 2020-11-26T17:04:04.507Z] 17:04:04     INFO - Ensuring cache bytes are available
[task 2020-11-26T17:04:04.508Z] 17:04:04     INFO - Console message: 1606410243554	AboutHomeStartupCache	TRACE	Initting.
[task 2020-11-26T17:04:04.509Z] 17:04:04     INFO - Console message: 1606410243555	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2020-11-26T17:04:04.510Z] 17:04:04     INFO - Console message: 1606410243556	AboutHomeStartupCache	TRACE	Cache entry is available.
[task 2020-11-26T17:04:04.511Z] 17:04:04     INFO - Console message: 1606410243556	AboutHomeStartupCache	TRACE	Connecting nsICacheEntry to pipes.
[task 2020-11-26T17:04:04.512Z] 17:04:04     INFO - Console message: 1606410243556	AboutHomeStartupCache	TRACE	
[task 2020-11-26T17:04:04.512Z] 17:04:04     INFO - Console message: 1606410243556	AboutHomeStartupCache	INFO	Version retrieved is: 20201126162940
[task 2020-11-26T17:04:04.512Z] 17:04:04     INFO - Console message: 1606410243556	AboutHomeStartupCache	TRACE	Connecting page stream to pipe.
[task 2020-11-26T17:04:04.513Z] 17:04:04     INFO - Console message: 1606410243557	AboutHomeStartupCache	TRACE	Connecting script stream to pipe.
[task 2020-11-26T17:04:04.513Z] 17:04:04     INFO - Console message: 1606410243557	AboutHomeStartupCache	TRACE	Streams connected to pipes.
[task 2020-11-26T17:04:04.514Z] 17:04:04     INFO - Console message: 1606410243558	AboutHomeStartupCache	TRACE	Initialized.
[task 2020-11-26T17:04:04.514Z] 17:04:04     INFO - Console message: 1606410243559	AboutHomeStartupCache	TRACE	A privileged about content process is launching with ID 5.
[task 2020-11-26T17:04:04.514Z] 17:04:04     INFO - Console message: 1606410243559	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2020-11-26T17:04:04.515Z] 17:04:04     INFO - Console message: 1606410243574	AboutHomeStartupCache	INFO	Page stream connected to pipe.
task 2020-11-26T17:04:04.515Z] 17:04:04     INFO - Console message: 1606410243574	AboutHomeStartupCache	INFO	Script stream connected to pipe.
[task 2020-11-26T17:04:04.515Z] 17:04:04     INFO - Buffered messages finished
[task 2020-11-26T17:04:04.516Z] 17:04:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_process_crash.js | Uncaught exception - undefined - threw exception: TypeError: can't access property "available", pageStream is undefined
[task 2020-11-26T17:04:04.516Z] 17:04:04     INFO - Leaving test bound test_process_crash
[task 2020-11-26T17:04:04.517Z] 17:04:04     INFO - Entering test bound test_process_crash_while_requesting_streams
[task 2020-11-26T17:04:04.517Z] 17:04:04     INFO - GECKO(1511) | [Child 1714: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fc1e1f78c00 == 4 [pid = 1714] [id = 3]
[task 2020-11-26T17:04:04.518Z] 17:04:04     INFO - GECKO(1511) | [Child 1714: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0x7fc2020b0ac0) [pid = 1714] [serial = 9] [outer = (nil)]
[task 2020-11-26T17:04:04.518Z] 17:04:04     INFO - GECKO(1511) | [Child 1714: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (0x7fc1e1f79c00) [pid = 1714] [serial = 10] [outer = 0x7fc2020b0ac0]
[task 2020-11-26T17:04:04.520Z] 17:04:04     INFO - GECKO(1511) | [Child 1714: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0x7fc1e5aa2800) [pid = 1714] [serial = 11] [outer = 0x7fc2020b0ac0]
[task 2020-11-26T17:04:04.682Z] 17:04:04     INFO - GECKO(1511) | [Child 1714, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6986
[task 2020-11-26T17:04:04.697Z] 17:04:04     INFO - GECKO(1511) | [Child 1714, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6986
[task 2020-11-26T17:04:04.718Z] 17:04:04     INFO - GECKO(1511) | [Child 1714, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6986
[task 2020-11-26T17:04:04.720Z] 17:04:04     INFO - Simulating restart of the browser
[task 2020-11-26T17:04:04.721Z] 17:04:04     INFO - Simulating shutdown write
[task 2020-11-26T17:04:04.736Z] 17:04:04     INFO - Console message: 1606410244717	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2020-11-26T17:04:04.736Z] 17:04:04     INFO - Console message: 1606410244718	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2020-11-26T17:04:04.737Z] 17:04:04     INFO - Console message: 1606410244719	AboutHomeStartupCache	TRACE	Caching now.
[task 2020-11-26T17:04:04.738Z] 17:04:04     INFO - Console message: 1606410244719	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2020-11-26T17:04:04.739Z] 17:04:04     INFO - Console message: 1606410244719	AboutHomeStartupCache	TRACE	Parent is requesting cache streams.```