This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Hang when canceling in-progress snapshots #16530
Comments
Can reproduce on master (ios simulator). Hangs in thread's destructor Cannot reproduce on HW (iPhone Xr 13.3) stack trace
/cc @tmpsantos |
@alexshalamov @tmpsantos thank you for reproducing -- let's prioritize this investigation and fix this sprint so it can be addressed in a GL Native 1.4.2 patch before the next Maps SDK stable release in two weeks. |
@alexshalamov was there any progress here? |
Since the block happens on GL. I am transferring this issue to this repo. I can confirm that this happens on simulator. I couldn't reproduce on a device (iPhone 11/X iOS 13/14 respectively). |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The “Show Snapshots” command in iosapp seems to expose a hang in the snapshotter. For example, if MBXSnapshotsViewController looks like this:
then these two snapshotters haven’t finished:
https://github.com/mapbox/mapbox-gl-native-ios/blob/9936092d7c48d3eedc5b380d455389a1397d0fd5/platform/ios/app/MBXSnapshotsViewController.m#L40-L41
If I then push Back, the application attempts to cancel the snapshots, but instead the main thread is blocked until the snapshots run to completion:
Originally posted by @1ec5 in mapbox/mapbox-gl-native-ios#210 (comment)
/cc @mapbox/maps-ios @alexshalamov
The text was updated successfully, but these errors were encountered: