Open Bug 1703589 Opened 4 years ago Updated 6 months ago

Blank console on MBT when (service) worker target is destroyed

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

Seen while using the MBT on youtube.com with Fission enabled.

I got a blank console in the MBT with, with the following logs in stdout:

> console.error: (new TypeError("can't access property \"traits\", this.client is null", "resource://devtools/client/fronts/targets/target-mixin.js", 256))
> TypeError: can't access property "traits", this.client is null: getTrait@resource://devtools/client/fronts/targets/target-mixin.js:256:7
get isTopLevel@resource://devtools/client/fronts/targets/target-mixin.js:127:17
_onTargetDestroyed@resource://devtools/client/framework/toolbox.js:735:9
_emit@resource://devtools/shared/event-emitter.js:226:34
emit@resource://devtools/shared/event-emitter.js:172:18
emit@resource://devtools/shared/event-emitter.js:324:18
_onTargetDestroyed@resource://devtools/shared/commands/target/target-command.js:245:28
_workerListChanged@resource://devtools/shared/resources/legacy-target-watchers/legacy-workers-watcher.js:104:14

> console.error: (new TypeError("can't access property \"split\", this.url is null", "resource://devtools/client/fronts/descriptors/worker.js", 47))
> JavaScript error: resource://devtools/client/fronts/descriptors/worker.js, line 47: TypeError: can't access property "split", this.url is null

If we look at the isTopLevel getter:

    get isTopLevel() {
      if (!this.getTrait("supportsTopLevelTargetFlag")) {
        return this._isTopLevel;
      }
      return this.targetForm.isTopLevelTarget;
    }

This can throw on getTrait if the target was already destroyed, because getTrait relies on this.client which will be null of the target is already destroyed.

The first error leads to the second one. Since we crash when processing onTargetDestroyed, we don't unregister the target, which then leads to a JS error:

get name@resource://devtools/client/fronts/descriptors/worker.js:48:19
shouldComponentUpdate@resource://devtools/client/webconsole/components/Input/EvaluationContextSelector.js:66:11
checkShouldComponentUpdate@resource://devtools/client/shared/vendor/react-dom.js:8233:33
updateClassInstance@resource://devtools/client/shared/vendor/react-dom.js:8517:62
updateClassComponent@resource://devtools/client/shared/vendor/react-dom.js:10599:20
beginWork@resource://devtools/client/shared/vendor/react-dom.js:11419:16
performUnitOfWork@resource://devtools/client/shared/vendor/react-dom.js:14702:12
workLoop@resource://devtools/client/shared/vendor/react-dom.js:14720:24
renderRoot@resource://devtools/client/shared/vendor/react-dom.js:14803:15
performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15655:17
performWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24
performSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14
requestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5
scheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16
enqueueSetState@resource://devtools/client/shared/vendor/react-dom.js:8192:17
Component.prototype.setState@resource://devtools/client/shared/vendor/react.js:328:16
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16
dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
eventTelemetryMiddleware/</<@resource://devtools/client/webconsole/middleware/event-telemetry.js:25:21
historyPersistenceMiddleware/</<@resource://devtools/client/webconsole/middleware/history-persistence.js:37:21
thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:18:11
ignore/</<@resource://devtools/client/shared/redux/middleware/ignore.js:31:12
createPerformanceMarkerMiddleware/</</<@resource://devtools/client/shared/redux/middleware/performance-marker.js:50:28
setTimeoutIfNeeded/this.throttledDispatchPromise</<@resource://devtools/client/webconsole/webconsole-wrapper.js:310:15

where we try to print the target name for an already destroyed target.

Summary: TargetMixin isTopLevel getter throws on destroyed targets → Blank console on MBT when worker target is destroyed

In this specific case, it's a service worker which gets destroyed.

Summary: Blank console on MBT when worker target is destroyed → Blank console on MBT when (service) worker target is destroyed

Cannot isolate it in a dedicated test case for now. Even though I get it regularly on some websites, I still can't find good STRs.

Priority: P3 → --
Severity: -- → S3
Priority: -- → P2

The Bugbug bot thinks this bug should belong to the 'DevTools::Console' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Console

This bug is still here on the flat version 🤦, first time 👇:

Tried to send a 'watchTargets' method reply on an already destroyed actor 'watcher' Actor.js:206:21
sendReturn resource://devtools/shared/protocol/Actor.js:206
Failed to create DevTools Frame target for browsingContext 75161927688 : DOMException: Actor 'DevToolsFrame' destroyed before query 'DevToolsFrameParent:instantiate-already-available' was resolved <empty string> frame-helper.js:141:13
Failed to create DevTools Frame target for browsingContext 75161927689 : DOMException: Actor 'DevToolsFrame' destroyed before query 'DevToolsFrameParent:instantiate-already-available' was resolved <empty string> frame-helper.js:141:13
Failed to create DevTools Frame target for browsingContext 75161927715 : DOMException: Actor 'DevToolsFrame' destroyed before query 'DevToolsFrameParent:instantiate-already-available' was resolved <empty string> frame-helper.js:141:13
Failed to create DevTools Frame target for browsingContext 75161927690 : DOMException: Actor 'DevToolsFrame' destroyed before query 'DevToolsFrameParent:instantiate-already-available' was resolved <empty string> frame-helper.js:141:13
Failed to create DevTools Frame target for browsingContext 75161927691 : DOMException: Actor 'DevToolsFrame' destroyed before query 'DevToolsFrameParent:instantiate-already-available' was resolved <empty string> frame-helper.js:141:13
Error when attaching target: Error: Connection closed, pending request to server0.conn0.windowGlobal75161927698/thread1, type isAttached failed

Request stack:
request@resource://devtools/shared/protocol/Front.js:299:14
generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
attachThread@resource://devtools/client/fronts/targets/target-mixin.js:447:49
baseFrontClassDestroy resource://devtools/shared/protocol/Front.js:105
destroy resource://devtools/shared/protocol/Front.js:73
destroy resource://devtools/shared/protocol/Pool.js:211
baseFrontClassDestroy resource://devtools/shared/protocol/Front.js:109
_onTargetDestroyed resource://devtools/shared/commands/target/target-command.js:369
_emit resource://devtools/shared/event-emitter.js:242
emit resource://devtools/shared/event-emitter.js:186
emit resource://devtools/shared/event-emitter.js:330
_onTargetDestroyed resource://devtools/client/fronts/watcher.js:74
_emit resource://devtools/shared/event-emitter.js:242
emit resource://devtools/shared/event-emitter.js:186
emit resource://devtools/shared/event-emitter.js:330
onPacket resource://devtools/shared/protocol/Front.js:348
onPacket resource://devtools/client/devtools-client.js:458
send resource://devtools/shared/transport/local-transport.js:67
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
target-command.js:227:15
Exception while opening the toolbox TypeError: URL constructor: is not a valid URL. TypeError: URL constructor: is not a valid URL.
_getDebugTargetData resource://devtools/client/framework/toolbox.js:1364
isDebugTargetFenix resource://devtools/client/framework/toolbox.js:1378
_getPickerAdditionalClassName resource://devtools/client/framework/toolbox.js:2171
_buildPickerButton resource://devtools/client/framework/toolbox.js:2157
_buildButtons resource://devtools/client/framework/toolbox.js:1994
open resource://devtools/client/framework/toolbox.js:1020
toolbox.js:1101:17
Error while calling actor 'target-configuration's method 'updateConfiguration' this._browsingContext is null Actor.js:105:13
TypeError: this._browsingContext is null
_setCacheDisabled resource://devtools/server/actors/target-configuration.js:461
_updateParentProcessConfiguration resource://devtools/server/actors/target-configuration.js:273
updateConfiguration resource://devtools/server/actors/target-configuration.js:217
handler resource://devtools/shared/protocol/Actor.js:198
onPacket resource://devtools/server/devtools-server-connection.js:379
send resource://devtools/shared/transport/local-transport.js:67
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
Actor.js:112:15
Error while calling actor 'target-configuration's method 'updateConfiguration' this._browsingContext is null Actor.js:105:13
TypeError: this._browsingContext is null
_setServiceWorkersTestingEnabled resource://devtools/server/actors/target-configuration.js:329
_updateParentProcessConfiguration resource://devtools/server/actors/target-configuration.js:267
updateConfiguration resource://devtools/server/actors/target-configuration.js:217
handler resource://devtools/shared/protocol/Actor.js:198
onPacket resource://devtools/server/devtools-server-connection.js:379
send resource://devtools/shared/transport/local-transport.js:67
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
Actor.js:112:15
Sync encountered an error - see about:sync-log for the log file. 2 policies.sys.mjs:972:15
Missing resource in locale it: devtools/client/toolbox.ftl

Second time, the day right after 😑👇:

1711145222506 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-nb-NO@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-nb-NO@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222508 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-hu@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-hu@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222509 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-sat@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-sat@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222510 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-gd@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-gd@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222512 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-id@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-id@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222512 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-ca@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-ca@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222514 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-el@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-el@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222515 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-cy@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-cy@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222516 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-gn@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-gn@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222518 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-af@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-af@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222519 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-tr@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-tr@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222521 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-es-CL@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-es-CL@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222522 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-xh@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-xh@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222524 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-oc@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-oc@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222525 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-en-CA@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-en-CA@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222526 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-cs@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-cs@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222527 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-es-ES@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-es-ES@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222529 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-bs@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-bs@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222530 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-ach@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-ach@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222532 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-zh-CN@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-zh-CN@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222533 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-ta@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-ta@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222535 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-pt-BR@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-pt-BR@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222536 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-trs@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-trs@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222537 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-pl@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-pl@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222539 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-ro@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-ro@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222540 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-da@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-da@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222542 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-hr@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-hr@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222542 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-ka@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-ka@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222544 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-fa@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-fa@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222546 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-gu-IN@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-gu-IN@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222548 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-my@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-my@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222550 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-eu@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-eu@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
1711145222554 addons.xpi ERROR Failed to install distribution add-on /app/lib/firefox/distribution/extensions/langpack-sc@firefox.mozilla.org.xpi: Error: File /app/lib/firefox/distribution/extensions/langpack-sc@firefox.mozilla.org.xpi does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.sys.mjs:667:11) JS Stack trace: loadManifest@XPIInstall.sys.mjs:667:11
awaitPromise@XPIProvider.sys.mjs:215:15
installDistributionAddons@XPIProvider.sys.mjs:2971:35
checkForChanges@XPIProvider.sys.mjs:3084:22
startup@XPIProvider.sys.mjs:2526:12
callProvider@AddonManager.sys.mjs:227:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:749:14
startup@AddonManager.sys.mjs:3690:26
observe@amManager.sys.mjs:73:29 Log.sys.mjs:722
NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIAppStartup.secondsSinceLastOSRestart]
_collectStartupConditionsTelemetry resource:///modules/BrowserGlue.sys.mjs:1741
BG__onFirstWindowLoaded resource:///modules/BrowserGlue.sys.mjs:1849
BG_observe resource:///modules/BrowserGlue.sys.mjs:1071
_delayedStartup chrome://browser/content/browser.js:2120
BrowserGlue.sys.mjs:1750:15
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWindowMediator.getMostRecentNonPBWindow]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://extensions/content/parent/ext-tabs-base.js :: get topNonPBWindow :: line 1544" data: no] ext-tabs-base.js:1544:24
TypeError: panel is null
selectPanel chrome://browser/content/aboutDialog-appUpdater.js:204
_onAppUpdateStatus chrome://browser/content/aboutDialog-appUpdater.js:182
_appUpdateListener chrome://browser/content/aboutDialog-appUpdater.js:42
#setStatus resource://gre/modules/AppUpdater.sys.mjs:705
check resource://gre/modules/AppUpdater.sys.mjs:253
appUpdater chrome://browser/content/aboutDialog-appUpdater.js:73
init chrome://browser/content/preferences/main.js:619
init chrome://browser/content/preferences/preferences.js:182
gotoPref chrome://browser/content/preferences/preferences.js:380
init_all chrome://browser/content/preferences/preferences.js:256
AppUpdater.sys.mjs:149:17

Well, I won't share other logs (unless someone asks it for need) since I feel that this will be a daily issue or so 😞.

Hi,

I am not sure if the issue you are seeing is really related to the bug I filed here.

Can you share a bit more details about which toolbox is failing for you: are you debugging an extension or are you using the Browser Toolbox?
Also what are the symptoms for you? Is it only the "Console" panel which is blank, or is it the whole DevTools UI? Maybe you have a screenshot to share?

Thanks!

Flags: needinfo?(pavanluca1999)

Well, since I didn't want to create a duplicated bug report and I saw that some error logs of mine were the same of your I preferred to tell them here 😁. I found few results for bank console here on Bugzilla. In both cases I just opened the console to check it (sometimes some webpage have a problem so I want to check for some useful logs) and it stayed blank, I don't know anything else or a possible cause 🤷. See this 👉 https://youtu.be/4rIWm-I0vb4?si=EJO81f7tggIfyZWP.

Thanks for the update. So that looks like a different issue. Internally, when we say Console, we only refer to the "Console" panel of DevTools, but in your case the whole DevTools UI is blank. I will file another bug with the info you added in case someone from the team has more info. I'll cc you there, any additional information (browser version, website where this happened etc...) could be useful.

Flags: needinfo?(pavanluca1999)
See Also: → 1887720
You need to log in before you can comment on or make changes to this bug.