Warning over ‘severe wear and tear’ on train tracks involved in fatal crash