Closed Bug 1522878 Opened 6 years ago Closed 4 years ago

LeakCanary is not compatibled with isolatedProcess

Categories

(Core :: Security: Process Sandboxing, defect, P1)

ARM
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox66 --- affected

People

(Reporter: gcp, Assigned: bugzilla)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:m88])

Attachments

(1 obsolete file)

E/GeckoCrashHandler(22493): java.lang.SecurityException: Isolated process not allowed to call getRunningAppProcesses
E/GeckoCrashHandler(22493): at android.os.Parcel.readException(Parcel.java:1546)
E/GeckoCrashHandler(22493): at android.os.Parcel.readException(Parcel.java:1499)
E/GeckoCrashHandler(22493): at android.app.ActivityManagerProxy.getRunningAppProcesses(ActivityManagerNative.java:3121)
E/GeckoCrashHandler(22493): at android.app.ActivityManager.getRunningAppProcesses(ActivityManager.java:2219)
E/GeckoCrashHandler(22493): at com.squareup.leakcanary.internal.LeakCanaryInternals.isInServiceProcess(LeakCanaryInternals.java:117)
E/GeckoCrashHandler(22493): at com.squareup.leakcanary.LeakCanary.isInAnalyzerProcess(LeakCanary.java:164)
E/GeckoCrashHandler(22493): at com.squareup.leakcanary.LeakCanary.install(LeakCanary.java:50)
E/GeckoCrashHandler(22493): at com.squareup.leakcanary.LeakCanary.install(LeakCanary.java:39)
E/GeckoCrashHandler(22493): at org.mozilla.gecko.GeckoApplication.onCreate(GeckoApplication.java:314)

Blocks: 1498614

Given that we have no control over what this third party code is doing,
we can't reasonably use it in sandboxed processes.

Priority: -- → P3
Attachment #9039140 - Attachment is obsolete: true

Per snorp, we should just remove this one.

Whiteboard: [geckoview:m79]
Whiteboard: [geckoview:m79]
Whiteboard: [geckoview:m88]
Priority: P3 → P1
Rank: 5

AFAICT this is long-gone Fennec code. Nothing to do here! \o/

Assignee: nobody → aklotz
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: