lots of words of wisdom regarding accidental discharge

a "cook off" seems far less likely than a mechanical or cleaning issue.

I'd guess the trigger pulls had been worked on by a "gunsmith".

In any case:

take stock off
examine sear and hammer notch with magnification
clean and re-examine

or have a pro go over the gun if you are not qualified