mapbox / mapbox/mapbox-navigation-ios
[Bug]: Crash when rerouting during active guidance with routes calculated with map matching options
Open
@kried is already working on this.
Since Sep 19, 2025.
bug
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
### Mapbox Navigation SDK version
3.10, 3.11 (> 3.9.2)
### Steps to reproduce
1. Start an active guidance with routes calculated with map matching options
2. Go off route.
### Expected behavior
A new route is created and the active guidance continues.
### Actual behavior
Crash:
[Error, nav-native]: RouteParserWorker::parseDirectionsResponse error: steps is an empty array.
libc++abi: terminating due to uncaught exception of type std::runtime_error: steps is an empty array.
### Is this a one-time issue or a repeatable issue?
repeatable
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.