All Airline Takeoffs and flights plan to have an engine fail. Planning ensures there is sufficient runway to stop if the failure occurs before a calculated "Decision Speed; V1). After that speed, calculations ensure that the aircraft can safely climb away after an engine failure. 
Further planning always ensures the aircraft can proceed to a safe landing after an engine failure. 
The Air Canada aircraft was in no danger of "crashing".
One should realise that some airlines in less safe countries are not always so meticulous; stick to reputable airlines!