I've had 2, and BOTH were due to mechanical problems with the guns in question. And both times nobody was injured.
First was a CZ-52, I had put an aftermarket firing pin in it and a 9mmP barrel, and it was my EDC pistol in a 1911 OWB holster. I had the safety ON, and thumbed back the hammer...