Bug: Intermittent browser/base/content/test/performance/browser_windowclose.js | uncaught exception - uncaught exception: out of memory at undefined
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-01-05 12:32:26+00:00
Resolved: 2022-08-12 20:33:13+00:00

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

---
```
[task 2022-01-05T11:24:07.324Z] 11:24:07     INFO - TEST-START | browser/base/content/test/performance/browser_windowclose.js
[task 2022-01-05T11:24:07.539Z] 11:24:07     INFO - GECKO(3276) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-01-05T11:24:07.916Z] 11:24:07     INFO - TEST-INFO | started process screenshot
[task 2022-01-05T11:24:07.985Z] 11:24:07     INFO - TEST-INFO | screenshot: exit 0
[task 2022-01-05T11:24:07.987Z] 11:24:07     INFO - Buffered messages logged at 11:24:07
[task 2022-01-05T11:24:07.987Z] 11:24:07     INFO - Entering test bound 
[task 2022-01-05T11:24:07.987Z] 11:24:07     INFO - TEST-PASS | browser/base/content/test/performance/browser_windowclose.js | We shouldn't have added any new expected reflows for window close. - 0 == 0 - 
[task 2022-01-05T11:24:07.987Z] 11:24:07     INFO - Buffered messages finished
[task 2022-01-05T11:24:07.989Z] 11:24:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_windowclose.js | uncaught exception - uncaught exception: out of memory at undefined
[task 2022-01-05T11:24:07.989Z] 11:24:07     INFO - Stack trace:
[task 2022-01-05T11:24:07.989Z] 11:24:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-01-05T11:24:07.990Z] 11:24:07     INFO - GECKO(3276) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2022-01-05T11:24:07.990Z] 11:24:07     INFO - GECKO(3276) | [GFX1]: Failed to create DrawTarget, Type: 3 Size: Size(1280,1031)
[task 2022-01-05T11:24:07.990Z] 11:24:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-05T11:24:07.991Z] 11:24:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_windowclose.js | uncaught exception - NS_ERROR_FAILURE:  at afterPaintListener@chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:418:9
[task 2022-01-05T11:24:07.991Z] 11:24:07     INFO - 
[task 2022-01-05T11:24:07.991Z] 11:24:07     INFO - Stack trace:
[task 2022-01-05T11:24:07.992Z] 11:24:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-01-05T11:24:07.992Z] 11:24:07     INFO - GECKO(3276) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/performance/head.js, line 418: NS_ERROR_FAILURE:
[task 2022-01-05T11:24:07.992Z] 11:24:07     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-01-05T11:24:07.993Z] 11:24:07     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: " {file: "chrome://mochitests/content/browser/browser/base/content/test/performance/head.js" line: 418}]
[task 2022-01-05T11:24:07.994Z] 11:24:07     INFO - afterPaintListener@chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:418:9
[task 2022-01-05T11:24:07.994Z] 11:24:07     INFO - 
[task 2022-01-05T11:24:07.994Z] 11:24:07     INFO - GECKO(3276) | [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no surf
[task 2022-01-05T11:24:07.995Z] 11:24:07     INFO - GECKO(3276) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-01-05T11:24:08.027Z] 11:24:08     INFO - TEST-PASS | browser/base/content/test/performance/browser_windowclose.js | 0 unexpected reflows - true == true - 
[task 2022-01-05T11:24:08.028Z] 11:24:08     INFO - comparing 1 frames
[task 2022-01-05T11:24:08.029Z] 11:24:08     INFO - TEST-PASS | browser/base/content/test/performance/browser_windowclose.js | should have 0 unknown flickering areas - 
[task 2022-01-05T11:24:08.030Z] 11:24:08     INFO - Leaving test bound 
[task 2022-01-05T11:24:08.053Z] 11:24:08     INFO - GECKO(3276) | MEMORY STAT | vsize 1788MB | vsizeMaxContiguous 26MB | residentFast 1013MB | heapAllocated 906MB
[task 2022-01-05T11:24:08.054Z] 11:24:08     INFO - TEST-OK | browser/base/content/test/performance/browser_windowclose.js | took 731ms
[task 2022-01-05T11:24:08.063Z] 11:24:08     INFO - checking window state
[task 2022-01-05T11:24:08.074Z] 11:24:08     INFO - TEST-START | browser/base/content/test/performance/browser_windowopen.js
```