Open Bug 2018490 Opened 9 months ago Updated 1 month ago

The Web Developer Tools panel has crashed: Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/resources/console-messages.js:93:7)

Categories

(DevTools :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: nnamdi.azikiwe, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

If possible, please share specific steps to reproduce the error.
Otherwise add any additional information useful to investigate the issue.

Error in Web Developer Tools:

Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/resources/console-messages.js:93:7)

Client Packet:

{
  "type": "watchResources",
  "resourceTypes": [
    "console-message"
  ],
  "to": "server0.conn0.watcher3"
}

Server Packet:

{
  "from": "server0.conn0.watcher3",
  "error": "TypeError",
  "message": "can't access dead object",
  "fileName": "resource://devtools/server/actors/resources/console-messages.js",
  "lineNumber": 93,
  "columnNumber": 7
}

Server Stack:

watch@resource://devtools/server/actors/resources/console-messages.js:93:7
watchResources@resource://devtools/server/actors/resources/index.js:367:15
addOrSetSessionDataEntry@resource://devtools/server/actors/targets/session-data-processors/resources.js:19:21
addOrSetSessionDataEntry@resource://devtools/server/actors/targets/base-target-actor.js:87:23
#addOrSetSessionDataEntry@resource://devtools/server/connectors/js-process-actor/DevToolsProcessChild.sys.mjs:398:21
receiveMessage@resource://devtools/server/connectors/js-process-actor/DevToolsProcessChild.sys.mjs:323:46

Stacktrace:

onPacket/<@resource://devtools/shared/protocol/Front.js:404:31
DevTools RDP*request@resource://devtools/shared/protocol/Front.js:320:14
generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:57:19
_startListening@resource://devtools/shared/commands/resource/resource-command.js:1083:31

Summary: The Web Developer Tools panel has crashed. → The Web Developer Tools panel has crashed: Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/resources/console-messages.js:93:7)

Might be similar to the cross-origin issues (Bug 2014753), most likely trying to watch resources on a new target which gets destroyed before we started listening.

Nnamdi: thanks for the report! do you reproduce the issue regularly or was it just a one off? Any additional information you can provide here?

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(nnamdi.azikiwe)
See Also: → 2014753
Severity: -- → S3
Priority: -- → P3

Redirect a needinfo that is pending on an inactive user to the triage owner.
:jdescottes, since the bug has recent activity, could you please find another way to get the information or close the bug as INCOMPLETE if it is not actionable?

For more information, please visit BugBot documentation.

Flags: needinfo?(nnamdi.azikiwe) → needinfo?(jdescottes)
Flags: needinfo?(jdescottes)
Duplicate of this bug: 2018462
See Also: → 2077644
You need to log in before you can comment on or make changes to this bug.