GeckoNetworkManager is not compatible with isolatedProcess
Categories
(Core :: Security: Process Sandboxing, defect, P1)
Tracking
()
People
(Reporter: gcp, Assigned: owlish)
References
(Blocks 1 open bug)
Details
(Whiteboard: [geckoview:m89][geckoview:m88])
Attachments
(3 files)
E/GeckoCrashHandler(16760): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main")
E/GeckoCrashHandler(16760): java.lang.NullPointerException: missing IConnectivityManager
E/GeckoCrashHandler(16760): at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:54)
E/GeckoCrashHandler(16760): at android.net.ConnectivityManager.<init>(ConnectivityManager.java:1404)
E/GeckoCrashHandler(16760): at android.app.ContextImpl$12.createService(ContextImpl.java:413)
E/GeckoCrashHandler(16760): at android.app.ContextImpl$ServiceFetcher.getService(ContextImpl.java:298)
E/GeckoCrashHandler(16760): at android.app.ContextImpl.getSystemService(ContextImpl.java:1838)
E/GeckoCrashHandler(16760): at android.content.ContextWrapper.getSystemService(ContextWrapper.java:562)
E/GeckoCrashHandler(16760): at org.mozilla.gecko.GeckoNetworkManager.updateNetworkStateAndConnectionType(GeckoNetworkManager.java:305)
E/GeckoCrashHandler(16760): at org.mozilla.gecko.GeckoNetworkManager.performActionsForStateEvent(GeckoNetworkManager.java:264)
E/GeckoCrashHandler(16760): at org.mozilla.gecko.GeckoNetworkManager.handleManagerEvent(GeckoNetworkManager.java:183)
E/GeckoCrashHandler(16760): at org.mozilla.gecko.GeckoNetworkManager.enableNotifications(GeckoNetworkManager.java:141)
E/GeckoCrashHandler(16760): at org.mozilla.gecko.GeckoAppShell$2.run(GeckoAppShell.java:1659)
It's calling getSystemService(Context.CONNECTIVITY_SERVICE);
All the things it listens to will have to be done in the main process.
| Reporter | ||
Updated•7 years ago
|
| Reporter | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Updated•6 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
That patch^ is actually for this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1522890
Comment 5•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 6•5 years ago
|
||
Reopening as the patch above actually fixed this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1522890 <--- I updated its status
This one still needs work to do
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 7•5 years ago
|
||
| Assignee | ||
Comment 8•5 years ago
|
||
Depends on D108267
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e03b68ff607d
https://hg.mozilla.org/mozilla-central/rev/30a34933ceae
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Description
•