sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Android profiler causes ANR

Open stefanosiano opened this issue 1 year ago • 1 comments

Description

There's not much we can do, but this was reported (happening very rarely) through the SDK console and Notion, so I'm creating an issue here. Maybe we can find some hint on how to work around it in the Play console

stefanosiano avatar May 16 '24 15:05 stefanosiano

Let's try to offload Debug.startMethodTracingSampling onto a background thread. Also let's check what happens for very short transactions.

markushi avatar Jun 19 '24 13:06 markushi

@markushi @stefanosiano is this still relevant and actionable? internal monitoring shows possibly related events, but the majority from a single project and most events from SDK version 7.10.0

kahest avatar Mar 14 '25 14:03 kahest

I think all the changes we did to improve ANRs also mitigated this. We can close it, and reopen if there's an increase in these occurrences again

stefanosiano avatar Mar 14 '25 15:03 stefanosiano