-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash with FeatureIndex::addFeature while Map::queryPointAnnotations #8289
Comments
I don't know this is the same problem, but crash on ios v3.4.1 malloc: *** mach_vm_map(size=4506811913453568) failed (error code=3) |
This seems to be a duplicate of #8202 and can be reproduced fairly consistently on some devices (Moto X 2nd generation) with #8202 (comment). There are two issues that are causing crashes. One is that the
The other problem seems to be that the indices in
This seems to be the same as #8289 (comment) on iOS. cc @kkaefer |
Debugging some more, it seem we might be accessing the
(Note the "Worker 2" and "pboxsdk.testapp" (main) thread) |
I think the issue here is somehow feature indexes are getting into the |
Digging into why the index in |
The actual problem lies in a mismatch between the The updating of both happens in GeometryTileWorker::redoLayout() where first In GeometryTile::queryRenderedFeatures the This goes wrong when the worker has called |
Nice work tracking that down @ivovandongen. It hadn't occurred to me that the issue could be the |
When looking to reproduce #8202 / #8275 by constantly calling Map::queryPointAnnotation(), I was able to produce the following symbolicated stacktrace:
Been trying to produce this with a core gl test, but so far no luck.
The text was updated successfully, but these errors were encountered: