SeenItAll:
As noted, there have been at least two significant crashes in which FC concerns about what eventually proved to be minor electrical issues caused sufficient distraction to result in fuel exhaustion and a crash right before landing. The particular ones that I recall are a United DC8 in Portland, Oregon and a Eastern L1011 at Miami. But I am sure there are others.
The Eastern flight didn't run out of fuel. The crew was distracted by a landing gear indication issue. The F/O unintentionally applied slight forward pressure on his yoke, dropping the autopilot from command to control wheel steering. They slowly descended into the swamp.
The other big out of fuel was the Avianca 707 at JFK.