rem: kmkernel->dumpDeadLetters();
add: if (kmkernel) kmkernel->dumpDeadLetters();
context: void kmcrashHandler(int sigId){  kmsetSignalHandler(SIG_DFL);  fprintf(stderr, "*** KMail got signal %d (Crashing)\n", sigId);  // try to cleanup all windows  kmkernel->dumpDeadLetters();  // Return to DrKonqi.}