Summary: | Crash in combination with a cancelled pinentry-qt and incoming mail | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Malte S. Stretz <mss> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | bluedzins, extern.alexander.braun, fhimpe, ivansanchez, julian, kiwionabike, rannikko, rene.fischer, saverix |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | KMail/gdb output |
Description
Malte S. Stretz
2004-12-03 16:25:04 UTC
Hmm... this is reproducable (still have to find out how) and fetching mail was not involved. The pinentry-qt was blocked for some other reason. The pinentry just looked blocked because I somehow gave the focus back to KMail which was blocked by the pinentry so it looked like the pinetry dialog was still in front which was actually just a missing redraw (if you understand what I mean :). The pinetry dialog was behind the KMail window but got all keystrokes (the + I typed to view the next unread message). I could reproduce it twice, but now I can't again -- the reason might be that one needs some special way to hit the encrypted mail (like deleting the preceding one). No idea but somewhere there seems to be a race condition... Malte, any more insights on this? Are you manage to reproduce it? If so, could you valgrind the crash, maybe? Happened just for me too with KDE_3_3_BRANCH, here it looks like: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 5543)] [KCrash handler] #5 0x4035235a in KMail::ObjectTreeParser::parseObjectTree () at partnodebodypart.cpp:43 #6 0x4026ecc8 in KMReaderWin::parseMsg () at new:91 #7 0x40268620 in KMReaderWin::displayMessage () at new:91 #8 0x402687bd in KMReaderWin::updateReaderWin () at new:91 #9 0x40268c98 in KMReaderWin::qt_invoke () at new:91 #10 0x41a918a9 in QObject::activate_signal () from /usr/src/qt-copy/lib/libqt-mt.so.3 #11 0x41a91f4b in QObject::activate_signal () from /usr/src/qt-copy/lib/libqt-mt.so.3 #12 0x41daaaa5 in QTimer::timeout () from /usr/src/qt-copy/lib/libqt-mt.so.3 #13 0x41ab3a87 in QTimer::event () from /usr/src/qt-copy/lib/libqt-mt.so.3 #14 0x41a33e04 in QApplication::internalNotify () from /usr/src/qt-copy/lib/libqt-mt.so.3 #15 0x41a3571d in QApplication::notify () from /usr/src/qt-copy/lib/libqt-mt.so.3 #16 0x415e46aa in KApplication::notify () from /opt/kde-3.3/lib/libkdecore.so.4 #17 0x41a28c55 in QEventLoop::activateTimers () from /usr/src/qt-copy/lib/libqt-mt.so.3 #18 0x419e4cc4 in QEventLoop::processEvents () from /usr/src/qt-copy/lib/libqt-mt.so.3 #19 0x41a4a1fa in QEventLoop::enterLoop () from /usr/src/qt-copy/lib/libqt-mt.so.3 #20 0x41a4a054 in QEventLoop::exec () from /usr/src/qt-copy/lib/libqt-mt.so.3 #21 0x41a35600 in QApplication::exec () from /usr/src/qt-copy/lib/libqt-mt.so.3 #22 0x0804aa13 in main (argc=3, argv=0xbffff014) at main.cpp:108 *** Bug 93976 has been marked as a duplicate of this bug. *** Created attachment 9050 [details] KMail/gdb output Running KMail under valgrind is simply impossible on my box, but I found a way to reproduce this reliably. Attached is the debug output of KMail running under gdb. I did the following: 0. Seems like the gpg-agent died before for some reason, at least was the $GPG_AGENT_INFO pointing to the wrong place. So kill your gpg-agent for easiest reproducing. 1. Started up KMail. There was a mail selected which had neither a PGP signature nor was it encrypted (line 36). 2. Selected an encrypted mail (line 87). The gpg-agent wasn't around (line 113), so I got the dialog telling me "You just entered an invalid passphrase. Do you want to try again, or cancel and view the message undecrypted?". KEEP THAT DIALOG OPEN. 3. Selected another mail which also didn't show any PGP traces (line 125). Waited till that message was displayed (line 152). 4. Pressed "Cancel" in the still-visible wrong-passphrase-confirmation-dialog: Boom! So the analysis from bug 93976 seems to point to the right direction: KMail tries to process a message which isn't shown anymore. Happens here too, without SpamAssasin and without entering anything into pinentry-qt. *** Bug 106484 has been marked as a duplicate of this bug. *** *** Bug 110266 has been marked as a duplicate of this bug. *** *** Bug 109454 has been marked as a duplicate of this bug. *** *** Bug 111702 has been marked as a duplicate of this bug. *** *** Bug 120142 has been marked as a duplicate of this bug. *** *** Bug 131654 has been marked as a duplicate of this bug. *** *** Bug 118214 has been marked as a duplicate of this bug. *** Moving this to 92737, since it has more votes. *** This bug has been marked as a duplicate of 92737 *** |