Closed Bug 1465574 Opened 7 years ago Closed 6 years ago

Intermittent browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined

Categories

(Firefox :: General, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Filed by: ccoroiu [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=180946851&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/Dlv4ukiTSIuKDh-T_tJG4w/runs/0/artifacts/public/logs/live_backing.log 16:57:58 INFO - 609 INFO TEST-START | browser/base/content/test/performance/browser_tabswitch.js 16:57:58 INFO - TEST-INFO | started process screenshot 16:57:58 INFO - TEST-INFO | screenshot: exit 0 16:57:58 INFO - Buffered messages logged at 16:57:58 16:57:58 INFO - 610 INFO Entering test bound 16:57:58 INFO - 611 INFO TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | We shouldn't have added any new expected reflows. - 0 == 0 - 16:57:58 INFO - Buffered messages finished 16:57:58 ERROR - 612 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 16:57:58 INFO - Stack trace: 16:57:58 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 16:57:58 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 16:57:58 INFO - chrome://mochikit/content/browser-test.js:Tester:403 16:57:58 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 16:57:58 INFO - GECKO(3112) | JavaScript error: , line 0: uncaught exception: out of memory 16:57:58 INFO - 613 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 16:57:58 INFO - Not taking screenshot here: see the one that was previously logged 16:57:58 ERROR - 614 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 16:57:58 INFO - Stack trace: 16:57:58 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 16:57:58 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 16:57:58 INFO - chrome://mochikit/content/browser-test.js:Tester:403 16:57:58 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 16:57:58 INFO - GECKO(3112) | JavaScript error: , line 0: uncaught exception: out of memory 16:57:58 INFO - 615 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 16:57:58 INFO - Not taking screenshot here: see the one that was previously logged 16:57:58 ERROR - 616 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 16:57:58 INFO - Stack trace: 16:57:58 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 16:57:58 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 16:57:58 INFO - chrome://mochikit/content/browser-test.js:Tester:403 16:57:58 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 16:57:58 INFO - GECKO(3112) | JavaScript error: , line 0: uncaught exception: out of memory 16:57:58 INFO - 617 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 16:57:58 INFO - Not taking screenshot here: see the one that was previously logged 16:57:58 ERROR - 618 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=187945714&repo=mozilla-inbound&lineNumber=2475 00:01:43 INFO - 567 INFO TEST-START | browser/base/content/test/performance/browser_tabswitch.js 00:01:43 INFO - GECKO(3144) | ++DOMWINDOW == 35 (05729800) [pid = 4260] [serial = 51] [outer = 010F5410] 00:01:43 INFO - GECKO(3144) | ++DOCSHELL 11F24000 == 5 [pid = 1456] [id = {5e3fb390-3fed-4799-96e7-ca0992fe49bf}] 00:01:43 INFO - GECKO(3144) | ++DOMWINDOW == 43 (008DA410) [pid = 1456] [serial = 54] [outer = 00000000] 00:01:43 INFO - GECKO(3144) | ++DOMWINDOW == 44 (12D0CC00) [pid = 1456] [serial = 55] [outer = 008DA410] 00:01:43 INFO - GECKO(3144) | ++DOMWINDOW == 45 (13B21400) [pid = 1456] [serial = 56] [outer = 008DA410] 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - TEST-INFO | started process screenshot 00:01:44 INFO - TEST-INFO | screenshot: exit 0 00:01:44 INFO - Buffered messages logged at 00:01:43 00:01:44 INFO - 568 INFO Entering test bound 00:01:44 INFO - 569 INFO TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | We shouldn't have added any new expected reflows. - 0 == 0 - 00:01:44 INFO - Buffered messages finished 00:01:44 ERROR - 570 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 00:01:44 INFO - Stack trace: 00:01:44 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 00:01:44 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 00:01:44 INFO - chrome://mochikit/content/browser-test.js:Tester:403 00:01:44 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 00:01:44 INFO - GECKO(3144) | JavaScript error: , line 0: uncaught exception: out of memory 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - Not taking screenshot here: see the one that was previously logged 00:01:44 ERROR - 571 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 00:01:44 INFO - Stack trace: 00:01:44 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 00:01:44 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 00:01:44 INFO - chrome://mochikit/content/browser-test.js:Tester:403 00:01:44 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 00:01:44 INFO - GECKO(3144) | JavaScript error: , line 0: uncaught exception: out of memory 00:01:44 INFO - 572 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - Not taking screenshot here: see the one that was previously logged 00:01:44 ERROR - 573 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 00:01:44 INFO - Stack trace: 00:01:44 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 00:01:44 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 00:01:44 INFO - chrome://mochikit/content/browser-test.js:Tester:403 00:01:44 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 00:01:44 INFO - GECKO(3144) | JavaScript error: , line 0: uncaught exception: out of memory 00:01:44 INFO - 574 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 00:01:44 INFO - 575 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - Not taking screenshot here: see the one that was previously logged 00:01:44 ERROR - 576 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 00:01:44 INFO - Stack trace: 00:01:44 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 00:01:44 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1635 00:01:44 INFO - chrome://mochikit/content/browser-test.js:Tester:403 00:01:44 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 00:01:44 INFO - GECKO(3144) | JavaScript error: , line 0: uncaught exception: out of memory 00:01:44 INFO - GECKO(3144) | [Parent 3144, Main Thread] WARNING: Remote iframe not rendered: file z:/build/build/src/layout/ipc/RenderFrameParent.cpp, line 182 00:01:44 INFO - Not taking screenshot here: see the one that was previously logged 00:01:44 ERROR - 577 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Recent log failure: https://treeherder.mozilla.org/logviewer.html#?job_id=208031082&repo=mozilla-inbound 16:02:24 INFO - TEST-START | browser/base/content/test/performance/browser_tabswitch.js 16:02:25 INFO - TEST-INFO | started process screenshot 16:02:25 INFO - TEST-INFO | screenshot: exit 0 16:02:25 INFO - Buffered messages logged at 16:02:24 16:02:25 INFO - Entering test bound 16:02:25 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | We shouldn't have added any new expected reflows. - 0 == 0 - 16:02:25 INFO - Buffered messages finished 16:02:25 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 16:02:25 INFO - Stack trace: 16:02:25 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1635 16:02:25 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1615 16:02:25 INFO - chrome://mochikit/content/browser-test.js:Tester:395 16:02:25 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 16:02:25 INFO - GECKO(5552) | JavaScript error: , line 0: uncaught exception: out of memory 16:02:25 INFO - Not taking screenshot here: see the one that was previously logged 16:02:25 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 16:02:25 INFO - Stack trace: 16:02:25 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1635 16:02:25 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1615 16:02:25 INFO - chrome://mochikit/content/browser-test.js:Tester:395 16:02:25 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 16:02:25 INFO - GECKO(5552) | JavaScript error: , line 0: uncaught exception: out of memory 16:02:25 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"] 16:02:25 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"] 16:02:25 INFO - Not taking screenshot here: see the one that was previously logged 16:02:25 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 16:02:25 INFO - Stack trace: 16:02:25 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1635 16:02:25 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1615 16:02:25 INFO - chrome://mochikit/content/browser-test.js:Tester:395 16:02:25 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 16:02:25 INFO - GECKO(5552) | JavaScript error: , line 0: uncaught exception: out of memory 16:02:25 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"] 16:02:25 INFO - Not taking screenshot here: see the one that was previously logged
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
There are 26 total failures in the last 7 days. Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=215176723&repo=mozilla-central&lineNumber=2008 13:43:00 INFO - TEST-START | browser/base/content/test/performance/browser_tabswitch.js 13:43:01 INFO - TEST-INFO | started process screenshot 13:43:01 INFO - TEST-INFO | screenshot: exit 0 13:43:01 INFO - Buffered messages logged at 13:43:00 13:43:01 INFO - Entering test bound 13:43:01 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | We shouldn't have added any new expected reflows. - 0 == 0 - 13:43:01 INFO - Buffered messages finished 13:43:01 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 13:43:01 INFO - Stack trace: 13:43:01 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644 13:43:01 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624 13:43:01 INFO - chrome://mochikit/content/browser-test.js:Tester:396 13:43:01 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 13:43:01 INFO - GECKO(5920) | JavaScript error: , line 0: uncaught exception: out of memory 13:43:01 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"] 13:43:01 INFO - Not taking screenshot here: see the one that was previously logged 13:43:01 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined 13:43:01 INFO - Stack trace: 13:43:01 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644 13:43:01 INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624 13:43:01 INFO - chrome://mochikit/content/browser-test.js:Tester:396 13:43:01 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:251 13:43:01 INFO - GECKO(5920) | JavaScript error: , line 0: uncaught exception: out of memory 13:43:01 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"] 13:43:01 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | 0 unexpected reflows - true == true - 13:43:01 INFO - comparing 2 frames 13:43:01 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | should have 0 unknown flickering areas - 13:43:01 INFO - Leaving test bound 13:43:01 INFO - GECKO(5920) | MEMORY STAT | vsize 1672MB | vsizeMaxContiguous 7MB | residentFast 1037MB | heapAllocated 916MB 13:43:01 INFO - TEST-OK | browser/base/content/test/performance/browser_tabswitch.js | took 718ms 13:43:01 INFO - checking window state 13:43:01 INFO - GECKO(5920) | [GFX1-]: Failed buffer for 0, 0, 1280, 1031 Justin can you take a look or assign someone?
Flags: needinfo?(dolske)
Whiteboard: [stockwell needswork:owner]
Declaring new-year needinfo bankruptcy. Bouncing to mconley to see if this matters.
Flags: needinfo?(dolske) → needinfo?(mconley)

We're running out of working memory because we're storing every painted frame during the test to check for unexpected flicker.

We could maybe avoid this by either:

  1. Compressing the in-memory images
  2. Writing the images to disk instead

Do you have a preference, florian?

Flags: needinfo?(mconley) → needinfo?(florian)

(In reply to Mike Conley (:mconley) (:⚙️) from comment #21)

We're running out of working memory because we're storing every painted frame during the test to check for unexpected flicker.

We could maybe avoid this by either:

  1. Compressing the in-memory images
  2. Writing the images to disk instead

Do you have a preference, florian?

Could we discard duplicate frames at capture time instead?

Flags: needinfo?(florian)

Given that this only fails on Windows32 (the few non-win32 failures stared here are all from the same try push, where all the failures were stared against this bug), we could also disable screeshot capture for that platform.

This bug failed 41 times in the last 7 days. Occurs on windows7-32 on opt, pgo and debug platforms.

Recent log:
https://treeherder.mozilla.org/logviewer.html#?job_id=222123224&repo=autoland

INFO - TEST-START | browser/base/content/test/performance/browser_tabswitch.js
02:34:16 INFO - TEST-INFO | started process screenshot
02:34:16 INFO - TEST-INFO | screenshot: exit 0
02:34:16 INFO - Buffered messages logged at 02:34:16
02:34:16 INFO - Entering test bound
02:34:16 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | We shouldn't have added any new expected reflows. - 0 == 0 -
02:34:16 INFO - Buffered messages finished
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNullchrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - Not taking screenshot here: see the one that was previously logged
02:34:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_tabswitch.js | uncaught exception - uncaught exception: out of memory at undefined
02:34:16 INFO - Stack trace:
02:34:16 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1644
02:34:16 INFO - OnErrorEventHandlerNonNull
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1624
02:34:16 INFO - chrome://mochikit/content/browser-test.js:Tester:402
02:34:16 INFO - chrome://mochikit/content/browser-harness.xul:createTester/</<:255
02:34:16 INFO - GECKO(148) | JavaScript error: , line 0: uncaught exception: out of memory
02:34:16 INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
02:34:16 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | 0 unexpected reflows - true == true -
02:34:16 INFO - comparing 1 frames
02:34:16 INFO - TEST-PASS | browser/base/content/test/performance/browser_tabswitch.js | should have 0 unknown flickering areas -
02:34:16 INFO - Leaving test bound

See Also: → 1502255

There are 33 failures associated to this bug in the last 7 days. These are occurring on win 7-32 all builds.

Waiting for updates on bug 1502255.

(In reply to Florian Quèze [:florian] from comment #22)

(In reply to Mike Conley (:mconley) (:⚙️) from comment #21)

We're running out of working memory because we're storing every painted frame during the test to check for unexpected flicker.

We could maybe avoid this by either:

  1. Compressing the in-memory images
  2. Writing the images to disk instead

Do you have a preference, florian?

Could we discard duplicate frames at capture time instead?

Actually we already avoid storing duplicate frames: https://searchfox.org/mozilla-central/rev/c035ee7d3a5cd6913e7143e1bce549ffb4a566ff/browser/base/content/test/performance/head.js#394-408

This bug has failed 44 times in the last 7 days. Occurs on windows7-32 on pgo and opt.

Recent log:
https://treeherder.mozilla.org/logviewer.html#?job_id=225631708&repo=mozilla-central

Dolske: Can you please take a care at this bug?

Flags: needinfo?(dolske)

Justin can you assign someone to this?

Flags: needinfo?(dolske)
Flags: needinfo?(dolske)
Whiteboard: [stockwell unknown] → [stockwell needswork:owner]

(In reply to Intermittent Failures Robot from comment #39)

3 failures in 2771 pushes (0.001 failures/push) were associated with this
bug in the last 7 days.

Can't prioritize investigating a rate so low.

Flags: needinfo?(dolske)
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.