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
The App should not crash during simple navigation.
Actual behavior
The App crashes on most of my trips. The time of the crash is pretty random, but most navigation sessions that are longer than 10 minutes experience a crash. Here is the Thread that crashed in the Logs:
After debugging a bit and trying to understand the logs, it seems to me as if the mutating func update(using status: NavigationStatus) func from the MapboxNavigation Library is responsible for the crash. The crash log shows involvement of swift_deallocClassInstance and _swift_release_dealloc. This suggests a deallocated object is being accessed. It could also be a threading issue, if RouteProgress.update(using:) is being called on multiple threads simultaneously, race conditions could corrupt route.legs or routeAlerts.
I hope you quickly find the cause of the crash because it is very repeatable and the crash is breaking the functionality of my app. Reach out to me if you need more information or the complete crash logs.
Is this a one-time issue or a repeatable issue?
repeatable
The text was updated successfully, but these errors were encountered:
Update: It still occurs regularly, but not on all navigation sessions. Since then I also updated to Mapbox Navigation 3.5.0, which also caused the same issue, and later to Mapbox Navigation 3.6.0-beta.1, where it also happened once so far. It is really hard to debug for me as well because many of the crashes don't produce any crashlogs, but I assume that they are all related to this issue, as all logs I have point to the RouteProgress.update call.
Hope to get an update on this soon as it is crucial for the functionality of my app and is broken on my production branch. I don't know what the last functioning version was...
Mapbox Navigation SDK version
3.4.0
Steps to reproduce
Start a navigation and drive around.
Expected behavior
The App should not crash during simple navigation.
Actual behavior
The App crashes on most of my trips. The time of the crash is pretty random, but most navigation sessions that are longer than 10 minutes experience a crash. Here is the Thread that crashed in the Logs:
After debugging a bit and trying to understand the logs, it seems to me as if the
mutating func update(using status: NavigationStatus)
func from the MapboxNavigation Library is responsible for the crash. The crash log shows involvement ofswift_deallocClassInstance
and_swift_release_dealloc
. This suggests a deallocated object is being accessed. It could also be a threading issue, ifRouteProgress.update(using:)
is being called on multiple threads simultaneously, race conditions could corruptroute.legs
orrouteAlerts
.I hope you quickly find the cause of the crash because it is very repeatable and the crash is breaking the functionality of my app. Reach out to me if you need more information or the complete crash logs.
Is this a one-time issue or a repeatable issue?
repeatable
The text was updated successfully, but these errors were encountered: