Hello! Since we have migrated to the 200.x version we started seeing this crash for many users. We also know that some of the users were not having the map view opened at the time when they got this crash.
This is all the info that we are getting from the stack trace :
Fatal Exception: java.util.concurrent.TimeoutException: com.arcgismaps.internal.jni.CoreBasemap.finalize() timed out after 60 seconds
at com.arcgismaps.internal.jni.CoreBasemap.nativeDestroy(CoreBasemap.java)
at com.arcgismaps.internal.jni.CoreBasemap.disposeInner(CoreBasemap.java:548)
at com.arcgismaps.internal.jni.CoreBasemap.finalize(CoreBasemap.java:509)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:370)
at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:350)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:322)
at java.lang.Daemons$Daemon.run(Daemons.java:131)
at java.lang.Thread.run(Thread.java:1012)
Any guidance to understand better this crash will be appreciated. Thanks!
Hello @NicoleLeiva,
Thank you for reaching out regarding the crash issue. To better understand and diagnose the problem, could you please provide us with more details? Here are a few questions that might help us narrow down the cause:
Your insights on these questions will greatly assist us in diagnosing the issue.
Hi! @Shubham_Sharma ,
I'll provide you here the answer for those questions
We were not able yet to reproduce the crash.
Currently, we are using 200.5.0. I would say "yes" to the second question, considering that we started seeing that error when we did the migration from 100.x sdk to 200.x
Not sure about it. The information that I attached at the beginning of the post is all the information from the stack trace that we are getting.
Yes, the MapView is being displayed using View.
From the user replays we can say that sometimes is in offline mode and others using online resources.
No
The MapsView is being rendered as part of a fragment.
Nothing special.
It not happen all the time but a considerable amount of user had experience this. We did not find any pattern to replicate this crash until the moment.
Thank you for providing these additional details. We’ve recorded your response and will continue to investigate the crash based on the information you’ve shared. We appreciate your patience and will work toward a fix in a future release of the SDK.