Segmentation Fault
The problem occurs since commit edf536ae.
Simulation with these files:
The simulation starts with this error:
ERROR: Cannot find valid destination for ped [16]
located in room [0] subroom [0] going to destination [-1]
I could trace the problem back to the call of Pedestrian::GetV0Norm()
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 quickest
to 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?