fzi-forschungszentrum-informatik / Lanelet2

Map handling framework for automated driving
BSD 3-Clause "New" or "Revised" License
803 stars 328 forks source link

segmentation fault if calling allConflictingInMap twice on same route object #346

Closed johannes-fischer closed 4 months ago

johannes-fischer commented 4 months ago

If allConflictingInMap is called twice on the same Route object, it produces a segmentation fault. The call to allConflictingInMap itself does not fail, but accessing the returned lanelet::ConstLaneletOrAreas object.

Code reproducing this behavior can be found here.

I can imagine this is caused by allConflictingInMap concatenating some iterators.