Closed Bug 1167319 Opened 9 years ago Closed 9 years ago

Intermittently unable to record performance profile or close DevTools

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P1)

x86_64
macOS
defect

Tracking

(firefox41 affected)

RESOLVED INVALID
Tracking Status
firefox41 --- affected

People

(Reporter: callahad, Unassigned)

References

Details

(Keywords: DevAdvocacy)

I haven't figured out reliable STR's yet, but on several occasions over the past month (spanning Nightly 40 through 41), the record profile buttons (both the small toolbar icon and the larger one inside the panel) stop working.

Clicking them several times does nothing. The DevTools close button also does nothing. Switching between tools works.

The last time this happened I was using the May 19th nightly and saw the following spew in the console:

onPacket threw an exception: Error: Server did not specify an actor, dropping packet: {"error":"unknownError","message":"error occurred while processing 'startProfiler: [Exception... \"Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIProfiler.StartProfiler]\"  nsresult: \"0x80040111 (NS_ERROR_NOT_AVAILABLE)\"  location: \"JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/profiler.js :: ProfilerActor.prototype.onStartProfiler :: line 102\"  data: no]\nStack: ProfilerActor.prototype.onStartProfiler@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/profiler.js:102:1\nDSC_onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js:1456:15\nChildDebuggerTransport.prototype.receiveMessage@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/transport/transport.js:734:5\nLine: 102, column: 0"}
Stack: DebuggerClient.prototype.onPacket@resource://gre/modules/devtools/dbg-client.jsm:944:1
LocalDebuggerTransport.prototype.send/<@resource://gre/modules/devtools/dbg-client.jsm -> resource://gre/modules/devtools/transport/transport.js:561:11
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:82:14
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:82:14
Line: 944, column: 0 DevToolsUtils.js:58:0

error occurred while processing 'startProfiler: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIProfiler.StartProfiler]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/profiler.js :: ProfilerActor.prototype.onStartProfiler :: line 102"  data: no]
Stack: ProfilerActor.prototype.onStartProfiler@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/profiler.js:102:1
DSC_onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js:1456:15
ChildDebuggerTransport.prototype.receiveMessage@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/transport/transport.js:734:5
Line: 102, column: 0
I've ran into something similar, although no error messages, and seems to kill the entire child process and hoped it was just my own build, ugh
Priority: -- → P1
This seems to be ok now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.