Worse dumb mistake I've ever made was to accidentally send a test email to several thousand live customers instead of the test accounts. That was a sinking feeling.
But creating a bug that loses your company half a billion dollars in thirty minutes and bankrupts them, must be stomach-churning.