Closed Bug 1070616 Opened 12 years ago Closed 10 years ago

CPU spike when closing Thunderbird while incoming remote debugging connection still open

Categories

(Thunderbird :: General, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: aryx, Unassigned)

Details

Daily 20140920 on Windows 8.1 After enabling remote debugging in Thunderbird (from the Tools menu) and connecting with a Firefox Nightly 20140920, closing the Thunderbird window will cause Thunderbird to use all CPU cycles of one logical core. If you launch it with -console, it will get spammed with the following error message (haven't checked if there are more) after clicking the Close button of the window: makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource:/ /gre/modules/devtools/DevToolsUtils.js:83:13 Line: 59, column: 0 Handler function DebuggerTransport.prototype.onOutputStreamReady threw an except ion: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPE CTED) [nsIWindowMediator.getEnumerator]" nsresult: "0x8000ffff (NS_ERROR_UNEXPE CTED)" location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/XULRootActor.js :: sendShutdownEvent :: line 59" dat a: no] Stack: sendShutdownEvent@resource://gre/modules/commonjs/toolkit/loader.js -> re source://gre/modules/XULRootActor.js:59:21 RootActor.prototype.disconnect@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/root.js:234:6 AP_cleanup@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/m odules/devtools/server/actors/common.js:270:6 DSC_onClosed@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre /modules/devtools/server/main.js:1508:4 DebuggerTransport.prototype.close@resource://gre/modules/commonjs/toolkit/loader .js -> resource://gre/modules/devtools/transport/transport.js:203:6 DebuggerTransport.prototype.onOutputStreamReady<@resource://gre/modules/commonjs /toolkit/loader.js -> resource://gre/modules/devtools/transport/transport.js:269 :6 Then the Thunderbird process has to be killed. I am not sure if it can reproduced always, but in the majority of tests I did for filing the bug.
still see this?
Flags: needinfo?(aryx.bugmail)
Can't reproduce the issue anymore with Thunderbird 51.0a1 20160917030425 on Windows 8.1.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(aryx.bugmail)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.