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
Unfortunately, I have been unable to reproduce this so far. However I do believe this is a real bug - there should be no way to configure or use the Tangram Android SDK that produces a segfault.
I currently believe that the problem is a thread-synchronization issue between MapController and MapRenderer that leads to MapRenderer calling native methods after the native map object has been freed. I am basing this on 3 clues:
The segfault occurs inconsistently, which is typical of multi-threading issues.
It occurs at the start or end of the activity, which is when MapController creates and frees native objects.
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
Activity
orFragment
containing aMapView
.RESULT:
Sometimes the process will exit with a segmentation fault in
NativeMap$update
.EXPECTED RESULT:
The process runs and exits normally.
ENVIRONMENT:
master
(434f27a)OTHER:
Several stack traces of these segmentation faults have been provided by @tapetis:
SEGV_ACCERR-1.txt
SEGV_ACCESS-2.txt
SEGV_MAPERR-1.txt
SEGV_MAPERR-2.txt
SEGV_MAPERR-3.txt
The text was updated successfully, but these errors were encountered: