ANR on NativeModuleListLoader.nativeLoadModuleList
Description
It seems NativeModuleListLoader.nativeLoadModuleList may cause an ANR in some cases.
Maybe not, but worth investigate it.
Appeared on the SDK console
On Android DebugImagesLoader should be caching the debug images, we should do the same in Flutter
I think I saw this issue in production, or a very similar one. I try to find the issue on Monday. It's a long weekend over here, so I might forget. If you believe having an issue might help you feel free to ping me in case I forget.
@ueman do you still have the issue on hand?
Flutter uses Android SDK directly. Android caches debug images as well, so there shouldn't be any problem. In this case the loading of debug images blocked the main thread the first time it was accessed, so nothing was cached. In any case, the culprit is the NDK debug image loading, and probably it's just a coincidence. I'm moving this issue to sentry-native
closing this as not reproducible - please comment here if you experience this and we'll reopen
https://github.com/getsentry/sentry-java/issues/3925 might help mitigate this.
the serialization/deserialization and sending that data over method channel for each exception is expensive so bringing the data down to 2 debug images should help a lot