Closed Bug 2018462 Opened 9 months ago Closed 3 months ago

[devtools-toolbox-crash] Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11)

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2018490

People

(Reporter: yuraantonov11, 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 Інструменти веброзробника:

Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11)

Client Packet:

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

Server Packet:

{
  "from": "server0.conn0.watcher3",
  "error": "TypeError",
  "message": "can't access dead object",
  "fileName": "resource://devtools/server/actors/webconsole/listeners/document-events.js",
  "lineNumber": 66,
  "columnNumber": 11
}

Server Stack:

listen@resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11
watch@resource://devtools/server/actors/resources/document-event.js:103:19
watchResources@resource://devtools/server/actors/resources/index.js:371: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: Devtools crash → Devtools crash: Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11)

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.

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

Flags: needinfo?(yuraantonov11)
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: Devtools crash: Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11) → [devtools-toolbox-crash] Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11)
Status: NEW → RESOLVED
Closed: 3 months ago
Duplicate of bug: 2018490
Flags: needinfo?(yuraantonov11)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.