BDSimGDMLCrash.zip
Running a GDML with the option storeTrajectory=1 active causes a map::at exception which ends the run.
(Exception is on line 494 of BDSEventAction.cc in BDSEventAction::IdentifyTrajectoriesForStorage as it attempts to fill the depth map)
Zip contains a GDML file for which the issue appears, and a GMAD that loads it.