Closed Bug 1141070 Opened 10 years ago Closed 7 years ago

"InternalError: too much recursion" in multiprocessShims.js upon calling nsIComponentRegistrar.registerFactory

Categories

(Firefox :: Extension Compatibility, defect)

37 Branch
x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: robwu, Unassigned)

Details

Calling Components.manager.nsIComponentRegistrar.registerFactory (or unregisterFactory) causes the following error: InternalError: too much recursion (resource://gre/components/multiprocessShims.js:130:8) JS Stack trace: AddonInterpositionService.prototype.interpose/desc.value@multiprocessShims.js:130:9 ComponentRegistrarInterposition.methods.unregisterFactory@RemoteAddonsParent.jsm:291:5 This feature worked before, and the regression seems to be introduced by https://hg.mozilla.org/mozilla-central/rev/9f9ac2060b54 as a part of bug 1007982. To confirm this bug: 1. Install https://github.com/Rob--W/nnnotifier/blob/e937ca4a63842af5215369410cb698607b14b5da/nnnotifier.xpi 2. Open the console (stderr or Ctrl + Shift + J). 3. Observe that SystemMessageCache: init1425900959215 addons.xpi WARN Exception running bootstrap method shutdown on nnnotifier@robwu.nl: InternalError: too much recursion (resource://gre/components/multiprocessShims.js:130:8) JS Stack trace: AddonInterpositionService.prototype.interpose/desc.value@multiprocessShims.js:130:9 < ComponentRegistrarInterposition.methods.unregisterFactory@RemoteAddonsParent.jsm:291:5 < AddonInterpositionService.prototype.interpose/desc.value@multiprocessShims.js:130:52 < ... I worked around the bug using https://github.com/Rob--W/nnnotifier/commit/933c4aebdecd8e97fb8a0ebb6e3b8cf75534f8e4, but it would be nice to fix the bug, since other addons might also be affected. I looked around, and found https://github.com/mkiol/GNotifier/issues/39#issuecomment-66732140, for instance.
Mass-closing old Extension Compatibility bugs that relate to legacy add-ons or NPAPI plug-ins. If you think this bug is still valid, please reopen or comment. Sorry for the bug spam, and happy Friday!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.