You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking about some workarounds that we can do, until it gets fixed (if it gets fixed in older Android versions)
We can add another flag to guard "dangerous" profiles, and here is some idea for such detection:
With our Gradle plugin we can check the app code to see if there is any other call to Debug.startMethodTracingSampling and Debug.stopMethodTracing
Hook into native implementation and workaround the crashing calls
We can detect if a native library is called (via gradle plugin or at runtime if possible)
Create a file to check crashes between profile start/stop and disable it on next run
Cut out the AOSP profiler and bundle it inside our SDK, changing the abort with a warning
If you have any other workaround, feel free to add a comment with it
The best would be create a custom profiler, but that's a big effort thing
We're still keeping the underlying GH issues open until we get some information/confirmation that the fixes are rolled out with Google System/Security upates.
Description
This is a meta issue to collect reported issues around Android Profiling and how we can improve profiling overall.
Refer to the individual issues to learn more about the status.
Likely root cause: Third Party code
Likely root cause: Android Tracer
Likely root cause: Sentry SDK
The text was updated successfully, but these errors were encountered: