diff -Nur twinkle-1.3.2.orig/src/gui/main.cpp twinkle-1.3.2/src/gui/main.cpp
--- twinkle-1.3.2.orig/src/gui/main.cpp 2008-08-02 09:05:34.000000000 -0600
+++ twinkle-1.3.2/src/gui/main.cpp 2008-12-09 21:06:52.000000000 -0700
@@ -710,7 +710,7 @@
// Check if the previous Twinkle session was stopped by a system
// shutdow and now gets restored.
- if (qa->isSessionRestored()) {
+ if (qa && qa->isSessionRestored()) {
QString msg = "Restore session: " + qa->sessionId();
log_file->write_report(msg.ascii(), "::main");