Closed
Bug 1171304
Opened 9 years ago
Closed 9 years ago
"###!!! ASSERTION: Recursive GetService!" error accessing @mozilla.org/addons/integration;1 service using xpcshell debugger in debug builds
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: markh, Assigned: ochameau)
References
Details
Attachments
(1 file, 1 obsolete file)
1.12 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1140131 +++ In a debug build, attempting to run xpcshell tests with --jsdebugger fails. Bug 1140131 solved part of the problem and this patch is to solve the rest. The following attachment avoids using the service in xpcshell by assuming that Services.appinfo.ID being undefined means xpcshell. It solves the recursion problem for me, but the process then crashes - I've no reason to believe the crash is related to this, but I'm not going to find time to dig deeper yet, so I'm just getting this up for comment.
Attachment #8615037 -
Flags: feedback?(past)
Comment 1•9 years ago
|
||
Comment on attachment 8615037 [details] [diff] [review] Don't attempt to use the addons/integration service in xpcshell Review of attachment 8615037 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, I could live with that if it doesn't break anything (add-on debugging in particular).
Attachment #8615037 -
Flags: feedback?(past) → feedback+
Assignee | ||
Comment 2•9 years ago
|
||
Rebased patch. Thanks Mark for the patch, we should proceed with it! I hit this assertion while working on bug 1113865. I don't get why this assertion isn't hit today, but this patch looks good. Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6484dad5727f
Attachment #8684901 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Attachment #8615037 -
Attachment is obsolete: true
Assignee | ||
Comment 3•9 years ago
|
||
This exception happens as we are running onNewScript hook for addonManager.js. It makes perfect sense to hit this exception, I just don't get why we haven't hit that before!
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/9003db0847784daaacde751b30ff5cabe3dcbf27 Bug 1171304 - Don't attempt to use the addons/integration service in xpcshell r=ochameau
Comment 5•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9003db084778
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•