This could be considered a bash bug, then. Or rather a missing feature. The same happens in Linux with bash 3.x, if you e.g. run vim and "kill -9" it. Regarding apps that restore the terminal on crash, I suppose they have signal handlers for the deadly signals.