The problem occurs since commit edf536ae.
Simulation with these files:
The simulation starts with this error:
ERROR: Cannot find valid destination for ped  located in room  subroom  going to destination [-1]
I could trace the problem back to the call of
const Point& target = _navLine->GetCentre()
target is invalid:
read memory from 0x28 failed (0 of 8 bytes read)
therefore the following call
double nav_elevation = sub->GetElevation(target);
leads to SegFault.
@Arne maybe you can fix this swiftly..
Changing the router from
global solves the problem. But here the very first problem (ped 16 not finding his ways) does not occur.
Maybe, we delete a ped, and then try later to access his parameters?