Closed Bug 1069044 Opened 10 years ago Closed 6 years ago

destroyInspector may hang during shutdown

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1478246

People

(Reporter: markh, Unassigned)

References

Details

If you execute the test command:

./mach mochitest-devtools --e10s browser/devtools/framework/test/browser_toolbox_select_event.js

(Note that you may also need the patch to bug 1069033)

The test passes, then pauses at the end before reporting:

"""
console.error:
  Protocol error (noSuchActor): No such actor for ID: conn0.child2/pagestyle26
throwing with 0
console.error:
  Message: Error: Unexpected packet conn0.child2/customhighlighter25, {"from":"conn0.child2/customhighlighter25","error":"noSuchActor","message":"No such actor for ID: conn0.child2/customhighlighter25"}
  Stack:
    Front<.onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/protocol.js:1104:17
...
WARNING: At least one completion condition is taking too long to complete. Conditions: [{"name":"DevTools: Wait until toolbox is destroyed","state":"(none)","filename":"resource://gre/modules/commonjs/toolkit/loader.js ->...
ShutdownLeaks: Wait for cleanup to be finished before checking for leaks
"""

Before timing out.  The problem seems to be that the toolbox destroyInspector() method is hanging as the promise returned by this._walker.release() never resolves.
Depends on: 1030318
Blocks: 1030318
No longer depends on: 1030318
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.