Reading through the investigation into Air Canada Flight 143 (the "Gimli Glider"), the thing that stands out is how many small routine workarounds piled up before the engines quit. On July 23, 1983, the Boeing 767 was one of the first metric aircraft in Air Canada's fleet, and its Fuel Quantity Information System wasn't working properly on the ground in Montreal.
Because the cockpit fuel gauges were blank, the ground crew and flight crew had to measure the tanks manually with dripsticks in centimeters and convert the volume into kilograms. Everyone was used to calculating fuel in pounds for the rest of the fleet, so they multiplied the liters by 1.77 (pounds per liter) instead of 0.803 (kilograms per liter). The plane left with around 22,300 pounds of fuel instead of 22,300 kilograms, which was less than half of what it needed to reach Edmonton.
Halfway through the flight, at 41,000 feet over Red Lake, Ontario, both engines flamed out within minutes of each other. Losing both engines knocked out the main hydraulic systems and most of the cockpit displays, leaving Captain Bob Pearson and First Officer Maurice Quintal flying a widebody airliner on a small drop-down Ram Air Turbine and standby instruments.
Quintal remembered a former Air Force base at Gimli, Manitoba, where he'd been stationed years earlier. Nobody in the cockpit knew that one of the runways had been turned into a motorsport dragstrip with a steel guardrail down the center and families camping beside the track for a race weekend. Pearson, who happened to be an experienced glider pilot, used a steep sideslip maneuver to bleed off altitude without picking up speed, and the 767 touched down with its nose gear collapsed and stopped just short of the spectators with no fatalities.
There's a good video breakdown of the incident and the cockpit sequence here: https://www.youtube.com/watch?v=5id_xNoRgoI