updateBrowserRemoteness throws intermittently
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
People
(Reporter: jstutte, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
There is a series of intermittents that carry a similar sequence of events:
[task 2021-11-10T11:51:23.357Z] 11:51:23 INFO - PID 8821 | [Parent 8821, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:750
[task 2021-11-10T11:51:23.364Z] 11:51:23 INFO - PID 8821 | JavaScript error: chrome://browser/content/tabbrowser.js, line 1909: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener]
[task 2021-11-10T11:51:23.367Z] 11:51:23 INFO - PID 8821 | JavaScript error: chrome://browser/content/tabbrowser.js, line 1909: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener]
[task 2021-11-10T11:51:23.594Z] 11:51:23 INFO - PID 8821 | 1636545083586 Marionette ERROR TypeError: can't access property "addMessageListener", this.mm is null(chrome://remote/content/marionette/dom.js:50:5) JS Stack trace: WebElementEventTarget@dom.js:50:5
[task 2021-11-10T11:51:23.594Z] 11:51:23 INFO - PID 8821 | switchToTab@browser.js:398:26
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | GeckoDriver.prototype.setWindowHandle@driver.js:1232:35
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | GeckoDriver.prototype.switchToWindow@driver.js:1172:18
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | despatch@server.js:306:40
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | execute@server.js:279:16
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | onPacket/<@server.js:252:20
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | onPacket@server.js:253:9
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - PID 8821 | _onJSONObjectReady/<@transport.js:500:20
[task 2021-11-10T11:51:23.596Z] 11:51:23 INFO - NoSuchWindowException on command, setting status to CRASH
[task 2021-11-10T11:51:23.597Z] 11:51:23 INFO - TEST-UNEXPECTED-CRASH | /service-workers/service-worker/state.https.html | expected OK
[task 2021-11-10T11:51:23.598Z] 11:51:23 INFO - TEST-INFO took 617ms
[task 2021-11-10T11:51:23.604Z] 11:51:23 INFO - PID 8821 | 1636545083604 Marionette INFO Stopped listening on port 47567
[task 2021-11-10T11:51:23.784Z] 11:51:23 INFO - PID 8821 | WARNING: A blocker encountered an error while we were waiting.
[task 2021-11-10T11:51:23.787Z] 11:51:23 INFO - PID 8821 | Blocker: SessionStore: flushing all windows
[task 2021-11-10T11:51:23.788Z] 11:51:23 INFO - PID 8821 | Phase: quit-application-granted
[task 2021-11-10T11:51:23.788Z] 11:51:23 INFO - PID 8821 | State: {"total":-1,"current":-1}
[task 2021-11-10T11:51:23.788Z] 11:51:23 INFO - PID 8821 | WARNING: TypeError: can't access property "sendAsyncMessage", mm is null
The tabbed browser related message points to aBrowser.webProgress.removeProgressListener(filter);
with filter
being null, apparently.
It might well be just a symptom of other things going wrong earlier, but it looks like updateBrowserRemoteness
could benefit from some hardening regarding missing filters/listeners in any case.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
This is just a symptom of the failed process launch before. We still might want to improve robustness here, too, but it is not blocking anything.
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:dao, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
After enabling Fission for devtools tests, we started having several intermittent failures for this error, which also seem to impact other components than devtools: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=nsIWebProgress.removeProgressListener&list_id=16001529
In our tests, it seems that the failure usually happens when starting a test and opening a tab using BrowserTestUtils.addTab, although I'm unable to reproduce locally.
Assignee | ||
Comment 4•2 years ago
|
||
This is guarding on the existence of the listeners we're trying to remove.
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Description
•