Closed
Bug 2053274
Opened 4 months ago
Closed 4 months ago
Crash when opening DevTools: can't access dead object
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 2042101
People
(Reporter: roman.deev06, Unassigned)
Details
Attachments
(1 file)
|
1.27 MB,
video/mp4
|
Details |
Steps to reproduce:
I just pressed Ctrl + Alt + C. I was debugging a page at the time where an iframe was created from a userscript. I don't think there were any other details.
Error in Inspector Panel:
Error: Protocol error (TypeError): can't access dead object from: server0.conn0.watcher2.process8147//domwalker165 (resource://devtools/server/actors/inspector/event-collector.js:278:21)
Client Packet:
{
"type": "querySelector",
"node": "server0.conn0.watcher2.process8147//domnode164",
"selector": "body",
"to": "server0.conn0.watcher2.process8147//domwalker165"
}
Server Packet:
{
"from": "server0.conn0.watcher2.process8147//domwalker165",
"error": "TypeError",
"message": "can't access dead object",
"fileName": "resource://devtools/server/actors/inspector/event-collector.js",
"lineNumber": 278,
"columnNumber": 21
}
Server Stack:
getDOMListeners@resource://devtools/server/actors/inspector/event-collector.js:278:21
getListeners@resource://devtools/server/actors/inspector/event-collector.js:340:28
hasListeners@resource://devtools/server/actors/inspector/event-collector.js:226:17
hasEventListeners@resource://devtools/server/actors/inspector/event-collector.js:807:21
hasEventListeners@resource://devtools/server/actors/inspector/node.js:445:43
form@resource://devtools/server/actors/inspector/node.js:239:37
write@resource://devtools/shared/protocol/types.js:374:32
types.addArrayType/write/<@resource://devtools/shared/protocol/types.js:224:33
write@resource://devtools/shared/protocol/types.js:224:16
write@resource://devtools/shared/protocol/types.js:272:39
write@resource://devtools/shared/protocol/Response.js:101:22
write@resource://devtools/shared/protocol/Response.js:49:28
sendReturn@resource://devtools/shared/protocol/Actor.js:258:38
Stacktrace:
onPacket/<@resource://devtools/shared/protocol/Front.js:405:31
DevTools RDP*request@resource://devtools/shared/protocol/Front.js:321:14
generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:94:19
querySelector@resource://devtools/client/fronts/walker.js:150:34
#getDefaultNodeForSelection/defaultNodeSelectors<@resource://devtools/client/inspector/inspector.js:729:20
#getDefaultNodeForSelection@resource://devtools/client/inspector/inspector.js:736:20
| Reporter | ||
Comment 1•4 months ago
|
||
Clarification: cmd + alt + C (a hotkey that opens the HTML element picker)
| Reporter | ||
Comment 2•4 months ago
|
||
And it looks like I can reproduce it consistently:
- Install Violentmonkey https://addons.mozilla.org/firefox/addon/violentmonkey
- Install the userscript https://raw.githubusercontent.com/deevroman/better-osm-org/master/better-osm-org.user.js
- Open https://www.openstreetmap.org
- Click on the ViolentMonkey icon
- Click Settings for the installed userscript (not ViolentMonkey)
- Press cmd + alt + C
- Crash
| Reporter | ||
Comment 3•4 months ago
|
||
Summary: Crash when opening DevTools → Crash when opening DevTools: can't access dead object
Updated•4 months ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Duplicate of bug: 2042101
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•