Skip to content

Conversation

@kinkard
Copy link
Contributor

@kinkard kinkard commented Feb 16, 2025

Issue

fixes #7107

The issue was reproduced on --bbox 112,-50,157,-9 extract from https://planet.openstreetmap.org/pbf/planet-250210.osm.pbf

Segfault was caused by invalid ViaWayPath that had only 1 item inside via array. This PR adds check for ViaWayPath::Valid() method inside removeInvalidTurnPaths() filtration, which looks like an intending place for such checks.

Please read our documentation on release and version management.
If your PR is still work in progress please attach the relevant label.

Tasklist

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

@DennisOSRM DennisOSRM merged commit 8ffbc44 into Project-OSRM:master Feb 21, 2025
21 checks passed
@kinkard kinkard deleted the fix-segfault-UnresolvedManeuverOverride-Turns branch February 21, 2025 10:20
eliseier pushed a commit to wanderlog/osrm-backend that referenced this pull request Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OSRM v5.27.1 - osrm-extract - segfault - with recent Australia OSM

2 participants