David Niven felt haunted by the taint of illegitimacy and sexual abuse he suffered as a child. So severe was his despair he once tried to shoot himself but the gun failed to go off.