Observed with a crashing KDevelop:
If the QApplication is destructed after cleanup of the DrKonqi
backend, somehow a DrKonqi-thread of the QDBusConnection may be
blocked by the debuggee (poll() being stuck according to strace).
Since DrKonqi then cannot quit, KCrash continues waiting, leading
to a deadlock. The situation may be disentangled by externally
sending SIGSTOP to the debuggee.
Cleaning up the QApplication first and afterwards the backend
omits the deadlock.