Closed Bug 838323 Opened 13 years ago Closed 7 years ago

Gecko Profiler 1.11.11 fails to initialize on Linux Thunderbird 17

Categories

(Core :: Gecko Profiler, defect)

x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: macmaN, Unassigned)

References

Details

Attachments

(2 files)

1.9.11 is able to at least show its controls on statusbar, but 1.10 and up have not been able to display the UI even. After installing the addon, this appears in Error Console: Timestamp: 05.02.2013 23:30:16 Error: geckoprofiler: An exception occurred. Traceback (most recent call last): File "resource://gre/modules/NetUtil.jsm", line 140, in null aCallback(pipe.inputStream, aStatusCode, aRequest); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/net/url.js", line 42, in null resolve(data); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 122, in then else result.then(resolved, rejected) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 54, in effort try { return f(options) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 54, in effort try { return f(options) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/addon/runner.js", line 91, in onLocalizationReady run(options); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/addon/runner.js", line 123, in run let program = main(options.loader, options.main); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/toolkit/loader.js", line 287, in main return load(loader, module).exports; File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/toolkit/loader.js", line 200, in load evaluate(sandbox, module.uri); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/toolkit/loader.js", line 174, in evaluate : loadSubScript(uri, sandbox, encoding); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/geckoprofiler/lib/main.js", line 41, in null Cu.import("resource://services-common/utils.js"); [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXPCComponents_Utils.import]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/XPIProvider.jsm -> jar:file:///home/leho/.thunderbird/Profiles/lkraav-miramar/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/toolkit/loader.js -> resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/geckoprofiler/lib/main.js :: <TOP_LEVEL> :: line 41" data: no]
How does TB18 or current Thunderbird trunk do for you with https://github.com/bgirard/Gecko-Profiler-Addon/raw/master/geckoprofiler.xpi profiler 1.12.0 ??
Flags: needinfo?(leho)
TB18? Is that a typo? I thought 18 was going to be skipped over for 24.
Flags: needinfo?(leho)
It was you who put "18" in the bug summary, not me ;) That said, non-released betas, earlybird and daily builds are all still numbered, as if they would have gone on to be released on the equivalent firefox schedule.
Summary: Gecko Profiler 1.11.11 fails to initialize on Linux Thunderbird 18 → Gecko Profiler 1.11.11 fails to initialize on Linux Thunderbird 17
LOL good job me. Yeah, it's supposed to be TB17. Tried geckoprofiler trunk now. No UI appears, Error Log has this: Timestamp: 16.06.2013 15:40:43 Error: geckoprofiler: An exception occurred. NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative undefined 252 Traceback (most recent call last): File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/toolkit/loader.js", line 252, in load error.stack = serializeStack(frames); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/toolkit/loader.js", line 342, in main return load(loader, module).exports; File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/addon/runner.js", line 123, in run let program = main(options.loader, options.main); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/addon/runner.js", line 91, in onLocalizationReady run(options); File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 54, in effort try { return f(options) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 54, in effort try { return f(options) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 122, in then else result.then(resolved, rejected) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 116, in resolved function resolved(value) { deferred.resolve(resolve(value)) } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 36, in then return { then: function then(resolve) { resolve(value) } } File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/core/promise.js", line 142, in resolve while (pending.length) result.then.apply(result, pending.shift()) File "resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/addon-sdk/lib/sdk/net/url.js", line 48, in null resolve(data); File "resource://gre/modules/NetUtil.jsm", line 140, in null aCallback(pipe.inputStream, aStatusCode, aRequest);
Christian, can you see if profiler works for you on linux
Severity: normal → major
Flags: needinfo?(chriechers)
To be honest, I can't remember why I added myself to the cc list for this bug. I haven't used the profiler add-on before, and I'm not sure what it does anyway. I can give it a try though, but I do have some questions. Where do I get the latest profiler version from? The one from AMO doesn't seem to be compatible w/ TB24. Do I need a nightly build for this? Once installed, what should I look for or do with it?
(In reply to Christian Riechers from comment #6) > To be honest, I can't remember why I added myself to the cc list for this > bug. I haven't used the profiler add-on before, and I'm not sure what it > does anyway. > I can give it a try though, but I do have some questions. > Where do I get the latest profiler version from? The one from AMO doesn't > seem to be compatible w/ TB24. iirc https://github.com/bgirard/Gecko-Profiler-Addon/blob/master/geckoprofiler.xpi > Do I need a nightly build for this? no > Once installed, what should I look for or do with it? In bottom right of TB status bar find "disabled" and "dump profile". - click disabled should change to enabled - after a few minutes click dump - it builds up profile screen - click enabled to stop profiling. profile screen/tab will remain see also https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler
(In reply to Wayne Mery (:wsmwk) from comment #7) > https://github.com/bgirard/Gecko-Profiler-Addon/blob/master/geckoprofiler.xpi This doesn't seem to be a valid XPI. > file geckoprofiler.xpi geckoprofiler.xpi: HTML document, UTF-8 Unicode text, with very long lines
Attached image screenshot
(In reply to Wayne Mery (:wsmwk) from comment #7) > > Once installed, what should I look for or do with it? > > In bottom right of TB status bar find "disabled" and "dump profile". > - click disabled should change to enabled > - after a few minutes click dump > - it builds up profile screen > - click enabled to stop profiling. profile screen/tab will remain I got it installed, and it is working here (TB25 b1, Linux). I did the steps as per above, and there were no errors. I added a screenshot fyi - see comment 9.
Flags: needinfo?(chriechers)
Leho, do you still have the UI problem on linux?
Flags: needinfo?(leho)
I just went up to thunderbird-31_beta1 and can test how Geco Profiler 1.12.0 (which doesn't show any updates) behaves. Or should I test some later GP?
Flags: needinfo?(leho)
(In reply to Leho Kraav (:macmaN @lkraav) from comment #12) > I just went up to thunderbird-31_beta1 and can test how Geco Profiler 1.12.0 > (which doesn't show any updates) behaves. Or should I test some later GP? Any newer version (preferably current) will do
TB 31.2.0 + GP 1.14.2 (today's github download) = no "start profiling" icon appears in status bar, or anywhere in the menus. No apparent way to use the addon, as far as I can see.
(In reply to Leho Kraav (:macmaN @lkraav) from comment #14) > TB 31.2.0 + GP 1.14.2 (today's github download) = no "start profiling" icon > appears in status bar, or anywhere in the menus. No apparent way to use the > addon, as far as I can see. The profiler UI in task bar should be "Disabled" and "Dump Profile". Please attach screen shot of your Thunderbird UI with task bar.
Flags: needinfo?(leho)
folders list on the left out for privacy purposes. there's nothing relevant to GP displayed on the left side of the status bar either.
Flags: needinfo?(leho)
For me, the last working gecko profiler is https://github.com/bgirard/Gecko-Profiler-Addon/raw/7a7e54a3487ac8f63868d53ae09ca73e3e581c39/geckoprofiler.xpi v1.12.15 2013.11.05 So I suggest you try that. Until we get newer versions of gecko profiler working - bug 1106414
Flags: needinfo?(leho)
Depends on: 1106414
Blocks: 1329163
Flags: needinfo?(leho)

Phillip is working on something. So closing this out

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: