Open
Bug 1810736
Opened 1 year ago
Updated 2 months ago
Media decoding is not compatible with isolated process
Categories
(GeckoView :: Sandboxing, task, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: jnicol, Unassigned)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [sandboxing] [geckoview:2022q3])
+++ This bug was initially created as a clone of Bug #1706656 +++
In bug 1706656 we made it so that the SurfaceAllocator works correctly in an isolated process. This means we are now able to successfully allocate Surfaces and proceed to creating the decoder, which fails:
W/System.err( 3953): java.lang.SecurityException: Isolated process not allowed to call bindService
W/System.err( 3953): at android.os.Parcel.readException(Parcel.java:1683)
W/System.err( 3953): at android.os.Parcel.readException(Parcel.java:1636)
W/System.err( 3953): at android.app.ActivityManagerProxy.bindService(ActivityManagerNative.java:4374)
W/System.err( 3953): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1491)
W/System.err( 3953): at android.app.ContextImpl.bindService(ContextImpl.java:1450)
W/System.err( 3953): at android.content.ContextWrapper.bindService(ContextWrapper.java:636)
W/System.err( 3953): at org.mozilla.gecko.media.RemoteManager$RemoteConnection.connect(RemoteManager.java:65)
W/System.err( 3953): at org.mozilla.gecko.media.RemoteManager$RemoteConnection.-$$Nest$mconnect(RemoteManager.java)
W/System.err( 3953): at org.mozilla.gecko.media.RemoteManager.init(RemoteManager.java:127)
W/System.err( 3953): at org.mozilla.gecko.media.RemoteManager.getInstance(RemoteManager.java:33)
W/System.err( 3953): at org.mozilla.gecko.media.CodecProxy.create(CodecProxy.java:158)
Isolated processes are not allowed to call bindService
, so we need to find another way to start and communicate with the media process.
Reporter | ||
Comment 1•1 year ago
|
||
(I'm not going to work on this, just filing a bug so that I can link to it when I mark tests as failing in bug 1706656)
Updated•1 year ago
|
Severity: -- → N/A
OS: All → Android
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•