Closed Bug 1087374 Opened 10 years ago Closed 10 years ago

Gecko Profiler 1.13.7 addon does not work in Nightly36.0a1, The tab displays "Symbolicating..." forever.

Categories

(Core :: XPConnect, defect)

36 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36
Tracking Status
firefox35 --- unaffected
firefox36 - fixed

People

(Reporter: alice0775, Assigned: bzbarsky)

References

Details

(Keywords: regression)

Attachments

(1 file)

when I click "Analyze" of Gecko Profiler 1.13.7,
A "Cleopatra - UI for SPS" tab opened, However, The tab displays "Symbolicating..." forever.
And the following error is shown in Browser Console.

Exception { message: "Unexpected error", result: 2147549183, name: "NS_ERROR_UNEXPECTED", filename: "resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/efdr3iyn.profiler/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/content/sandbox.js line 164 > Function", lineNumber: 1, columnNumber: 0, inner: null, data: null, stack: "anonymous@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/efdr3iyn.profiler/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/content/sandbox.js line 164 > Function:1:0
@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/efdr3iyn.profiler/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js -> resource://jid0-edalmuivkozlouyij0lpdx548bc-at-jetpack/geckoprofiler/data/cleopatra.js:68:0
onEvent@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/efdr3iyn.profiler/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js -> resource://gre/modules/commonjs/sdk/content/content-worker.js:45:21
onEvent@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/efdr3iyn.profiler/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js -> resource://gre/modules/commonjs/sdk/content/content-worker.js:45:21
onChromeEvent@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/fuku/AppData/Roaming/Mozilla/Firefox/Profiles/efdr3iyn.profiler/extensions/jid0-edalmuivkozlouyij0lpdx548bc@jetpack.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js -> resource://gre/modules/commonjs/sdk/content/content-worker.js:91:15
" } timers.js:43
Summary: Gecko Profiler 1.13.7 addon does not work in Nightly36.0a1, → Gecko Profiler 1.13.7 addon does not work in Nightly36.0a1, The tab displays "Symbolicating..." forever.
[Tracking Requested - why for this release]:

Regression window(m-c)
Good:
https://hg.mozilla.org/mozilla-central/rev/290f799b4f58
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 ID:20141020181618
Bad "Symbolicating...":
https://hg.mozilla.org/mozilla-central/rev/29fbfc1b31aa
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 ID:20141020185824
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=290f799b4f58&tochange=29fbfc1b31aa


Regression window(m-i)
Good:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0970007a8468
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 ID:20141020095912
Bad "Symbolicating...":
https://hg.mozilla.org/integration/mozilla-inbound/rev/ad5d5e03408f
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 ID:20141020100613
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0970007a8468&tochange=ad5d5e03408f
Flags: needinfo?(bzbarsky)
Yeah, alright.

So we're hitting the jspropertyop case, with xpc::wrappedJSObject_getter as the op.
Assignee: nobody → bzbarsky
Flags: needinfo?(bzbarsky)
Component: Gecko Profiler → XPConnect
Blocks: 1085071
Comment on attachment 8509650 [details] [diff] [review]
Make .wrappedJSObject on Xrays a JSNative accessor

Review of attachment 8509650 [details] [diff] [review]:
-----------------------------------------------------------------

::: js/xpconnect/wrappers/XrayWrapper.cpp
@@ +1254,1 @@
>      if (!IsWrapper(wrapper) || !WrapperFactory::IsXrayWrapper(wrapper)) {

Now that this call/apply-able, please add || !AccessCheck::wrapperSubsumes(wrapper) here.
Attachment #8509650 - Flags: review?(bobbyholley) → review+
Blocks: 1086979
> Now that this call/apply-able, please add || !AccessCheck::wrapperSubsumes(wrapper) here.

Done.

https://hg.mozilla.org/integration/mozilla-inbound/rev/845ed7d822bd
Flags: in-testsuite?
Target Milestone: --- → mozilla36
I can verify that the problem is fixed on the following Nightly build.

https://hg.mozilla.org/mozilla-central/rev/a5ee2769eb27
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 ID:20141024030200
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: