Closed
Bug 1285815
Opened 9 years ago
Closed 9 years ago
TypeError "require is not a function" and "Cu is null" exceptions in syslog
Categories
(Firefox :: Extension Compatibility, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: u552789, Unassigned)
Details
I was looking through my syslog yesterday and came across the following errors:
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: *************************
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: A coding exception was thrown and uncaught in a Task.
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: Full message: TypeError: require is not a function
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: Full stack: exports.Utils.yield@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/utils.js:354:19
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: INIParser.prototype.process@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/filterStorage.js:798:7
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: exports.IO.readFromFile/onProgress@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/io.js:97:15
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: exports.IO.readFromFile/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/io.js:182:11
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: TaskImpl_run@resource://gre/modules/Task.jsm:319:40
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:750:11
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: *************************
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: *************************
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: A coding exception was thrown in a Promise rejection callback.
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: Full message: TypeError: Cu is null
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: Full stack: exports.FilterStorage.loadFromDisk/readFile</<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/filterStorage.js:380:11
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: exports.IO.readFromFile/onError@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/<username>/.mozilla/firefox/bpyt2o4o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/io.js:149:9
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:940:21
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:750:11
Jul 9 20:46:53 <Computer-Name> firefox.desktop[2789]: *************************
I am running Firefox 47 on Ubuntu GNOME 16.04 with GNOME 3.20.
I initially reported this issue here, but thought I should also do so upstream: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1600614 (Some more logs and system information are also provided here.)
Comment 1•9 years ago
|
||
Could you please provide your OS and also steps to reproduce this issue?
Flags: needinfo?(cooks.go.hungry)
I did include my OS at the end, but I'll tell you again. It's Ubuntu GNOME 16.04 with GNOME 3.20. And sorry, but I just found the error in my syslog, I don't know what caused it but I'll watch out for it now and see if I can find any steps to reproduce it.
Comment 3•9 years ago
|
||
Ok. It looks like this is coming from your addons. what all addons do you have installed?
Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit
Here is my add-on information:
Name: Adblock Plus
Version: 2.7.3
Enabled: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Name: Firefox Hello
Version: 1.3.2
Enabled: true
ID: loop@mozilla.org
Name: Ghostery
Version: 6.3.1
Enabled: true
ID: firefox@ghostery.com
Name: HTTPS-Everywhere
Version: 5.1.10
Enabled: true
ID: https-everywhere@eff.org
Name: Mailvelope
Version: 1.5.1
Enabled: true
ID: jid1-AQqSMBYb0a8ADg@jetpack
Name: Multi-process staged rollout
Version: 1.0
Enabled: true
ID: e10srollout@mozilla.org
Name: NoScript
Version: 2.9.0.11
Enabled: true
ID: {73a6fe31-595d-460b-a920-fcc0f8843232}
Name: Pocket
Version: 1.0.2
Enabled: true
ID: firefox@getpocket.com
Name: TrafficLight
Version: 0.2.23.1-signed.1-signed
Enabled: true
ID: trafficlight@bitdefender.com
Name: uBlock Origin
Version: 1.7.6
Enabled: true
ID: uBlock0@raymondhill.net
Name: Ubuntu Modifications
Version: 3.2
Enabled: true
ID: ubufox@ubuntu.com
Name: uMatrix
Version: 0.9.3.6
Enabled: true
ID: uMatrix@raymondhill.net
Name: VTzilla
Version: 1.5.1-signed.1-signed
Enabled: true
ID: info@virustotal.com
Flags: needinfo?(cooks.go.hungry)
Comment 5•9 years ago
|
||
From your syslog it looks like the errors are caused by Adblock Plus. I have been trying to reproduce this issue on FX 47 but I can not.
Is this an issue I should report in Adblock Plus or is it limited to being a Firefox issue?
Comment 7•9 years ago
|
||
I will CC the dev for adblock plus. Wladimir could you be of assistance with this issue?
Flags: needinfo?(trev.moz)
Updated•9 years ago
|
Component: Add-ons Manager → Extension Compatibility
Product: Toolkit → Firefox
Comment 8•9 years ago
|
||
This is async code running after Adblock Plus (and its scope) has been shut down - we have a few cases where this hasn't been considered properly and will produce exceptions. No Firefox bug here, the problem is clearly on our end. Not really causing any issues beyond a few error messages however so not a high priority.
Resolving as INVALID (not a Firefox bug).
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(trev.moz)
Resolution: --- → INVALID
Right, so should I report this on the Adblock Plus bug tracker or is someone else planning to?
Comment 10•9 years ago
|
||
Found one on it already: https://issues.adblockplus.org/ticket/3702
You need to log in
before you can comment on or make changes to this bug.
Description
•