A hang is the easiest problem to diagnose from a dump and the hardest to diagnose any other way. There is no exception, no log line, and attaching a debugger to a production process is rarely an option. But the state that explains it, which thread holds what and which thread waits for what, is entirely present in a dump. This post takes a deadlocked process and lets an agent find both locks. The sample… [read more]