Version: (using KDE 4.4.2) Compiler: gcc 4.4.3 Gentoo 4.4.3 p1.0 OS: Linux Installed from: Gentoo Packages I tried to re-send an encrypted email. After pressing "send" KMail asks me which key to use, I select one (value of "remember choice" checkbox doesnt make a difference). (Might be important: The receipient is in my Akonadi addressbook.) Then kmail aborts with following backtrace: [New Thread 0x7fffdc829710 (LWP 31716)] warning: no loadable sections found in added symbol-file /usr/lib64/debug/usr/lib64/kde4/kmail_bodypartformatter_application_octetstream.so.debug warning: no loadable sections found in added symbol-file /usr/lib64/debug/usr/lib64/kde4/kmail_bodypartformatter_text_calendar.so.debug warning: no loadable sections found in added symbol-file /usr/lib64/debug/usr/lib64/kde4/kmail_bodypartformatter_text_vcard.so.debug warning: no loadable sections found in added symbol-file /usr/lib64/debug/usr/lib64/kde4/kmail_bodypartformatter_text_xdiff.so.debug kmail(29893) KMMessage::setCharset: Trying to set a charset for a non-textual mimetype. Fix this caller: ==================================================================== "[ 0: /usr/lib64/libkdecore.so.5(_Z14kRealBacktracei+0x38) [0x7ffff73fdef8] 1: /usr/lib64/libkmailprivate.so.4(+0x13b38b) [0x7ffff689638b] 2: /usr/lib64/libkmailprivate.so.4(+0x136a6a) [0x7ffff6891a6a] 3: /usr/lib64/libkmailprivate.so.4(_ZN22KMResendMessageCommand7executeEv+0xb5) [0x7ffff6b55737] 4: /usr/lib64/libkmailprivate.so.4(_ZN9KMCommand16slotPostTransferENS_6ResultE+0x4d) [0x7ffff6b3ff7d] ] " ==================================================================== [New Thread 0x7fffdb3e5710 (LWP 2928)] [New Thread 0x7fffdabe4710 (LWP 2930)] [Thread 0x7fffdabe4710 (LWP 2930) exited] [Thread 0x7fffdb3e5710 (LWP 2928) exited] [New Thread 0x7fffdb3e5710 (LWP 3067)] [Thread 0x7fffdb3e5710 (LWP 3067) exited] Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'Akonadi::PayloadException' what(): Akonadi::PayloadException: Wrong payload type (is 'PN7Akonadi7PayloadIN5boost10shared_ptrIN5KMime7MessageEEEEE', requested 'PN7Akonadi7PayloadIN4KABC9AddresseeEEE') Program received signal SIGABRT, Aborted. 0x00007ffff4a49545 in raise () from /lib/libc.so.6 (gdb) bt full #0 0x00007ffff4a49545 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007ffff4a4ad50 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007ffff5064acd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6 No symbol table info available. #3 0x00007ffff5062f66 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6 No symbol table info available. #4 0x00007ffff5062f93 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6 No symbol table info available. #5 0x00007ffff5063015 in __cxa_rethrow () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6 No symbol table info available. #6 0x00007ffff608b93a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 No symbol table info available. #7 0x00007ffff608f443 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 No symbol table info available. #8 0x000000000040385d in main (argc=2, argv=0x7fffffffda48) at /var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/main.cpp:156 about = {<KAboutData> = {d = 0x6188f0}, <No data fields>} app = {<> = {<No data fields>}, mDelayedInstanceCreation = true, mEventLoopReached = true} kmailKernel = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff6394460, stringdata = 0x7ffff6d5c120 "KMKernel", data = 0x7ffff6d5bce0, extradata = 0x0}}, the_inboxFolder = 0xc497b0, the_outboxFolder = 0xc50ed0, the_sentFolder = 0xc55e60, the_trashFolder = 0xc58810, the_draftsFolder = 0xc4fcd0, the_templatesFolder = 0xc49170, the_folderMgr = 0x7164f0, the_imapFolderMgr = 0x7385a0, the_dimapFolderMgr = 0xb71d80, the_searchFolderMgr = 0xb717f0, the_undoStack = 0x745050, the_acctMgr = 0x73fc50, the_filterMgr = 0x14f9690, the_popFilterMgr = 0x1503dd0, the_filterActionDict = 0x716580, the_indicateServer = 0x746cd0, mIdentityManager = 0x70f8c0, the_msgSender = 0x702e80, the_msgTagMgr = 0xb55b00, mPutJobs = warning: can't find linker symbol for virtual table for `QMap<KIO::Job*, KMKernel::putData>' value warning: found `QListData::shared_null' instead {{d = 0x7ffff639e800, e = 0x7ffff639e800}}, the_previousVersion = { static null = {<No data fields>}, static shared_null = {ref = {_q_value = 29174}, alloc = 0, size = 0, data = 0x7ffff639e89a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1700}, alloc = 0, size = 0, data = 0x7ffff639e8ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x719570, static codecForCStrings = 0x0}, the_firstStart = false, the_startingUp = false, the_shuttingDown = false, the_server_is_ready = true, closed_by_user = true, the_firstInstance = false, mMailCheckAborted = false, mConfig = {d = 0x642b10}, netCodec = 0x624a70, mXmlGuiInstance = <incomplete type>, mConfigureDialog = 0x0, mBackgroundTasksTimer = 0x1256640, mICalIface = 0x6eae20, mJobScheduler = 0x6eac20, mWin = 0x14b93b0, mMailService = 0xfe9be0, mMailManager = 0x7196e0, mTimeOfLastMessageCountChange = 1270454863, mContextMenuShown = false, systemTrayApplets = warning: can't find linker symbol for virtual table for `QList<KSystemTrayIcon const*>' value warning: found `QLinkedListData::shared_null' instead {{p = warning: can't find linker symbol for virtual table for `QListData' value warning: found `QLinkedListData::shared_null' instead {static shared_null = {ref = {_q_value = 33003}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7ffff639e7e0}, d = 0x7ffff639e7e0}}, the_weaver = 0x153cb10, mWallet = 0x151b300, mAddMessageMsgIds = warning: can't find linker symbol for virtual table for `QStringList' value warning: found `QLinkedListData::shared_null' instead {<QList<QString>> = {{p = warning: can't find linker symbol for virtual table for `QListData' value warning: found `QLinkedListData::shared_null' instead {static shared_null = {ref = {_q_value = 33003}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7ffff639e7e0}, d = 0x7ffff639e7e0}}, <No data fields>}, mAddMessageLastFolder = warning: can't find linker symbol for virtual table for `QString' value warning: found `QMapData::shared_null' instead {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 29174}, alloc = 0, size = 0, data = 0x7ffff639e89a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1700}, alloc = 0, size = 0, data = 0x7ffff639e8ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7ffff639e880, static codecForCStrings = 0x0}, mAddMsgCurrentFolder = 0x605d70, folderAdaptor = 0x0, mStorageDebug = 1, mMainWinVisible = true, mPosOfMainWin = {xp = 0, yp = 0}, mDesktopOfMainWin = 0} __PRETTY_FUNCTION__ = "int main(int, char**)" ret = 0
Probably two bugs here: 1) Someone raises an exception within Qt eventloop. 2) That Akonadi "payload" is wrong. I tried to rebuild app-office/akonadi-server kde-base/akonadi kde-base/kdepimlibs kde-base/kmail to get rid of (2), but that did not help.
Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.