scream and die

scream and die

Synonym cough and die, but connotes that an error message was printed or displayed before the program crashed.