Testing fatalError and friends

That's the least of your issues as far as unreclaimed resources go, since as others noted nothing else being actively held by the crashed thread will get cleaned up either, and killing the thread might leave things like locks in an inconsistent state. If you catch a trap on a dedicated thread, you should still probably arrange to restart your process as soon as possible to fully recover.