Closed Bug 1448241 Opened 7 years ago Closed 7 years ago

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

Categories

(Firefox :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 63
Tracking Status
firefox62 --- fixed
firefox63 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: florian)

References

Details

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

Attachments

(1 file)

Filed by: csabou [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=169800696&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/fE7KVew1QIuUgq2vrRgWIg/runs/0/artifacts/public/logs/live_backing.log 02:41:29 INFO - 689 INFO TEST-START | browser/base/content/test/performance/browser_urlbar_keyed_search.js 02:41:32 INFO - TEST-INFO | started process screenshot 02:41:32 INFO - TEST-INFO | screenshot: exit 0 02:41:32 INFO - Buffered messages logged at 02:41:29 02:41:32 INFO - 690 INFO Entering test bound setup 02:41:32 INFO - 691 INFO Leaving test bound setup 02:41:32 INFO - 692 INFO Entering test bound 02:41:32 INFO - Buffered messages logged at 02:41:30 02:41:32 INFO - 693 INFO Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 943}] 02:41:32 INFO - Buffered messages finished 02:41:32 ERROR - 694 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 695 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 696 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - 697 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 698 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 699 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 700 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - 701 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 702 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 703 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 704 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 705 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 706 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 707 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 708 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 709 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 710 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 711 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 712 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - 713 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - 714 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 715 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 716 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - 717 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - Not taking screenshot here: see the one that was previously logged 02:41:32 ERROR - 718 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 02:41:32 INFO - Stack trace: 02:41:32 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1645 02:41:32 INFO - GECKO(3504) | JavaScript error: , line 0: uncaught exception: out of memory 02:41:32 INFO - 719 INFO Console message: [JavaScript Error: "uncaught exception: out of memory"] 02:41:32 INFO - 720 INFO TEST-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | known reflow at _rebuild@chrome://browser/content/search/search.xml was encountered 1 times - 02:41:32 INFO - 721 INFO Full stack: 02:41:32 INFO - _rebuild@chrome://browser/content/search/search.xml:1558:15 02:41:32 INFO - set_popup@chrome://browser/content/search/search.xml:1239:13 02:41:32 INFO - enableOneOffSearches@chrome://browser/content/urlbarBindings.xml:1853:13 02:41:32 INFO - _enableOrDisableOneOffSearches@chrome://browser/content/urlbarBindings.xml:1280:11 02:41:32 INFO - urlbar_XBL_Constructor/<@chrome://browser/content/urlbarBindings.xml:125:11 02:41:32 INFO - openPopup@chrome://global/content/bindings/popup.xml:66:15 02:41:32 INFO - _openAutocompletePopup@chrome://browser/content/urlbarBindings.xml:2091:11 02:41:32 INFO - openAutocompletePopup@chrome://browser/content/urlbarBindings.xml:1975:11 02:41:32 INFO - openPopup@chrome://global/content/bindings/autocomplete.xml:377:13 02:41:32 INFO - set_popupOpen@chrome://global/content/bindings/autocomplete.xml:95:10 02:41:32 INFO - notify@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:2411:7 02:41:32 INFO - notifyResult@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:2426:7 02:41:32 INFO - _addMatch@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:1880:5 02:41:32 INFO - _addSearchEngineMatch@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:1630:5 02:41:32 INFO - _matchCurrentSearchEngine@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:1583:5 02:41:32 INFO - async*_matchFirstHeuristicResult@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:1354:27 02:41:32 INFO - async*execute@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:1056:30 02:41:32 INFO - async*startSearch/<@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:2587:43 02:41:32 INFO - promise callback*startSearch@jar:file:///Z:/task_1521772114/build/application/firefox/omni.ja!/components/UnifiedComplete.js:2587:5 02:41:32 INFO - onInput@chrome://browser/content/urlbarBindings.xml:1469:17 02:41:32 INFO - onxblinput@chrome://global/content/bindings/autocomplete.xml:614:9 02:41:32 INFO - synthesizeKey@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:943:7 02:41:32 INFO - @chrome://mochitests/content/browser/browser/base/content/test/performance/browser_urlbar_keyed_search.js:158:7 02:41:32 INFO - async*withPerfObserver@chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:626:3 02:41:32 INFO - async*@chrome://mochitests/content/browser/browser/base/content/test/performance/browser_urlbar_keyed_search.js:135:9 02:41:32 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1076:21 02:41:32 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:326:42 02:41:32 INFO - promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:403:7 02:41:32 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:334:15 02:41:32 INFO - TaskImpl@resource://gre/modules/Task.jsm:275:3 02:41:32 INFO - asyncFunction@resource://gre/modules/Task.jsm:247:14 02:41:32 INFO - Task_spawn@resource://gre/modules/Task.jsm:161:12 02:41:32 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1067:9 02:41:32 INFO - Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:967:9 02:41:32 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:795:59 02:41:32 INFO - 722 INFO TEST-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | known reflow at adjustHeight@chrome://global/content/bindings/autocomplete.xml was encountered 5 times -
Summary: Intermittent browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined → Intermittent browser/base/content/test/performance/browser_urlbar_keyed_search.js,browser_urlbar_search.js | uncaught exception - uncaught exception: out of memory at undefined
Blocks: 1443578
There are 31 failures in the past week for this bug. They occur on Windows 7 platform, opt/pgo build type. Recent log: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-central&job_id=177115936&lineNumber=2364 Log snippet: 11:40:00 INFO - 616 INFO TEST-START | browser/base/content/test/performance/browser_urlbar_keyed_search.js 11:40:04 INFO - TEST-INFO | started process screenshot 11:40:04 INFO - TEST-INFO | screenshot: exit 0 11:40:04 INFO - Buffered messages logged at 11:40:00 11:40:04 INFO - 617 INFO Entering test bound setup 11:40:04 INFO - 618 INFO Leaving test bound setup 11:40:04 INFO - 619 INFO Entering test bound 11:40:04 INFO - 620 INFO Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 946}] 11:40:04 INFO - Buffered messages finished 11:40:04 ERROR - 621 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined 11:40:04 INFO - Stack trace: 11:40:04 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1655 11:40:04 INFO - GECKO(3212) | JavaScript error: , line 0: uncaught exception: out of memory 11:40:04 INFO - Not taking screenshot here: see the one that was previously logged 11:40:04 ERROR - 622 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_urlbar_keyed_search.js | uncaught exception - uncaught exception: out of memory at undefined
Whiteboard: [stockwell needswork]
There are 25 failures in the last 7 days. Florian, the fail started as a TV failure from the bellow push but shifted to browser chrome and it`s failing only on windows7-32. https://hg.mozilla.org/integration/mozilla-inbound/rev/bea32e65f18e1fb4189fb88130845c50a4bd52e8 Can you please take a look?
Flags: needinfo?(florian)
(In reply to Narcis Beleuzu [:NarcisB] from comment #19) > There are 25 failures in the last 7 days. > Florian, the fail started as a TV failure from the bellow push but shifted > to browser chrome and it`s failing only on windows7-32. > https://hg.mozilla.org/integration/mozilla-inbound/rev/ > bea32e65f18e1fb4189fb88130845c50a4bd52e8 This is when the test started to catch flicker issues in addition to unexpected reflows, so it's kinda when the test was introduced. Possible ways forward: - just disable the 2 tests on Windows 32 bits. I see these 2 tests are disabled for "(verify && (os == 'win'))" since bug 1405428. I wonder if they were failing on Windows 64 too or if they got disabled for 'verify' when really they should have been disabled for 32 bits. Joel, do you remember or still have access to the logs? - modify the test to not take screenshots on 32 bits but keep the reflow coverage. I'm not convinced this is very useful, as the reflows should be the same on 64bits. Or maybe we care about keeping the reflow coverage for Win7? - try to figure out why we are running out of memory. It could be because we are using plenty of memory to take the screenshots of every frame while running these long tests, but it could also be that a previous test is leaking/fragmenting memory. In most of the logs I looked at, the vsizeMaxContiguous value drops very significantly after running the browser_tabopen_squeeze.js test. Mike do you have thoughts about whether it's worth attempting to keep reflow coverage only for Win7 32bits?
Flags: needinfo?(mconley)
Flags: needinfo?(jmaher)
Flags: needinfo?(florian)
Flags: needinfo?(jmaher)
(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #21) > here is where it fails: > https://treeherder.mozilla.org/#/ > jobs?repo=try&revision=8540b4800f7a3871ce938bac85a9951ebf1db4b0&filter- > tier=1&filter-tier=2&filter-tier=3 > > win7-opt (although the test is skipped on win debug already) Thanks, that's the same failure as this bug: OOM on Win32.
Attached patch disable on Win32Splinter Review
Attachment #8989943 - Flags: review?(mconley)
Assignee: nobody → florian
Status: NEW → ASSIGNED
Comment on attachment 8989943 [details] [diff] [review] disable on Win32 Review of attachment 8989943 [details] [diff] [review]: ----------------------------------------------------------------- I suspect 64-bit coverage is fine for this one, though we really should find a way of avoiding these OOMs (perhaps we should be flushing the frames to disk?)
Attachment #8989943 - Flags: review?(mconley) → review+
Flags: needinfo?(mconley)
Keywords: checkin-needed
Pushed by aciure@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cdd6c7684595 disable browser_urlbar_keyed_search.js and browser_urlbar_search.js on Windows 32 due to intermittent OOM failures, r=mconley.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: