Open Bug 1476816 Opened 6 years ago Updated 4 months ago

Investigate Android child process launch failures

Categories

(GeckoView :: General, enhancement, P3)

Unspecified
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: jld, Unassigned)

References

Details

This is roughly the Android equivalent of bug 1476811.  One of the debug crashes I'm removing in bug 1475382 (opaquely named `MOZ_RELEASE_ASSERT(13 == 14)`) indicates that LaunchAndroidService failed, and it's currently being hit about 25 times/week on Fennec Nightly.  (The `product` key is "FennecAndroid"; I don't know whether or not that includes GeckoView.)  Skimming the crash reports, it's mostly GeckoMediaPlugin processes but sometimes a content process.

I don't think we'll ever avoid launch failure, especially on resource-constrainted mobile devices, but it might be useful to gather data and get an idea of how prevalent this is, how it affects user experience, what we can/should do about it, etc.

(For example, on Mac we discovered and fixed bug 1469691 by looking into launch failures like that.)


I'm not sure if this is the right bug component, but the Android process launch glue isn't technically part of IPC and I don't know much about it.

This Android process-launching code will change a lot when we support e10s-multi on Android. snorp recommends we defer this investigation until we enable e10s-multi (bug 1530770).

Depends on: android-e10s-multi
Priority: -- → P2

Moving to GV component because there is no process launching code in widget/android.

aklotz is working on Android e10s-multi now.

Rank: 5
Component: Widget: Android → General
Product: Core → GeckoView
Whiteboard: [geckoview:m1912]
Whiteboard: [geckoview:m1912]

Moving to P3 as we are not intending to look at this until after e10s-multi has landed and that work is expected to continue for several more months.

Rank: 5
Priority: P2 → P3

Moving content process bugs to the new GeckoView::Sandboxing component.

Component: General → Sandboxing
Severity: normal → S3

Tasks and enhancements should have severity N/A.

Severity: S3 → N/A
Component: Sandboxing → General
You need to log in before you can comment on or make changes to this bug.