mapbox / mapbox/mapbox-navigation-ios

[Bug]: Crash when rerouting during active guidance with routes calculated with map matching options

Open
#4,793 9 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.