Closed Bug 1507947 Opened 6 years ago Closed 5 years ago

IllegalArgumentException: Service not registered: org.mozilla.gecko.process.GeckoProcessManager$ChildConnection@f3bf8d0

Categories

(GeckoView :: General, defect, P1)

Unspecified
Android
defect

Tracking

(geckoview64 fixed, firefox64 wontfix, firefox65 fixed, firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
geckoview64 --- fixed
firefox64 --- wontfix
firefox65 --- fixed
firefox66 --- fixed

People

(Reporter: cpeterson, Assigned: snorp)

Details

(Keywords: crash, Whiteboard: [geckoview:fenix:p1])

Crash Data

Attachments

(1 file)

There has been one instance of this crash signature from a Focus 8.0 Nightly user with GV 64 Beta.

This bug was filed from the Socorro interface and is
report bp-c227ee6b-7050-4182-a3b4-6478f0181116.
=============================================================

Java stack trace:

java.lang.IllegalArgumentException: Service not registered: org.mozilla.gecko.process.GeckoProcessManager$ChildConnection@f3bf8d0
	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1517)
	at android.app.ContextImpl.unbindService(ContextImpl.java:1639)
	at android.content.ContextWrapper.unbindService(ContextWrapper.java:698)
	at org.mozilla.gecko.process.GeckoProcessManager$ChildConnection.bind(GeckoProcessManager.java:85)
	at org.mozilla.gecko.process.GeckoProcessManager.start(GeckoProcessManager.java:201)
	at org.mozilla.gecko.process.GeckoProcessManager.start(GeckoProcessManager.java:189)
P1 because this is GV top crash #3.
Priority: -- → P1
Summary: java.lang.IllegalArgumentException: Service not registered: org.mozilla.gecko.process.GeckoProcessManager$ChildConnection@f3bf8d0 → IllegalArgumentException: Service not registered: org.mozilla.gecko.process.GeckoProcessManager$ChildConnection@f3bf8d0
Crash Signature: [@ java.lang.IllegalArgumentException: at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java) ] → [@ java.lang.IllegalArgumentException: at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java) ] [@ java.lang.IllegalArgumentException: at android.app.LoadedApk.forgetServiceDispatcher(Unknown Source:195) ]
Assignee: nobody → snorp
In anticipation of the creation of the GECKOVIEW_64_RELBRANCH next week, I am moving this bug from status-firefox64=affected to status-geckoview64=affected.
James, do you have any updates on this LoadedApk.forgetServiceDispatcher crash? It's GV top crash #2 for Focus 8.0 beta.
Flags: needinfo?(snorp)
Whoops, had forgotten to put my patch up.
Flags: needinfo?(snorp)
Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d7b73b7ab1a5
Be more careful when unbinding child process services r=geckoview-reviewers,esawin
There are also mochitest crashes failures on layout/base/tests/test_event_target_iframe_oop.html | application crashed [@ mozilla::ipc::GeckoChildProcessHost::OpenPrivilegedHandle(int)].
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=216276271&repo=autoland&lineNumber=1580
Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52c382554814
Be more careful when unbinding child process services r=geckoview-reviewers,esawin
https://hg.mozilla.org/mozilla-central/rev/52c382554814
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Comment on attachment 9030235 [details]
Bug 1507947 - Be more careful when unbinding child process services

[Beta/Release Uplift Approval Request]

Feature/Bug causing the regression: N/A

User impact if declined: Crashes when using GeckoView

Is this code covered by automated tests?: Yes

Has the fix been verified in Nightly?: Yes

Needs manual test from QE?: No

If yes, steps to reproduce: 

List of other uplifts needed: None

Risk to taking this patch: Medium

Why is the change risky/not risky? (and alternatives if risky): This change affects how we manage child processes on Android, which is a critical path. It seems to work, though, as we have a bunch of tests that exercise this path.

String changes made/needed: None
Flags: needinfo?(snorp)
Attachment #9030235 - Flags: approval-mozilla-beta?
Comment on attachment 9030235 [details]
Bug 1507947 - Be more careful when unbinding child process services

[GeckoView Uplift Approval Request]

If this is not a sec:{high,crit} bug, please state case for consideration: 

User impact if declined: 

Fix Landed on Version: 

Risk to taking this patch: Low

Why is the change risky/not risky? (and alternatives if risky): 

String or UUID changes made by this patch:
Attachment #9030235 - Flags: approval-mozilla-geckoview64?
I guess I really wanted approval-mozilla-geckoview64 instead of approval-mozilla-beta
Comment on attachment 9030235 [details]
Bug 1507947 - Be more careful when unbinding child process services

[Triage Comment]
Fixes a GeckoView crash. Approved for 65.0b5 and GV64.
Attachment #9030235 - Flags: approval-mozilla-geckoview64?
Attachment #9030235 - Flags: approval-mozilla-geckoview64+
Attachment #9030235 - Flags: approval-mozilla-beta?
Attachment #9030235 - Flags: approval-mozilla-beta+
Product: Firefox for Android → GeckoView
Keywords: crash
Target Milestone: Firefox 66 → mozilla66
Whiteboard: [geckoview:fenix:p1]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: