Summary: | Kmail crashes when moving mail between imap folders | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | BJ Blanchard <blabj> |
Component: | IMAP | Assignee: | Daniel Molkentin <molkentin> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | bugs2, konold, ljm |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
BJ Blanchard
2006-09-26 20:16:10 UTC
SVN commit 588748 by kling: Yet another missing null-pointer check. Fixes crash #1 on bug 134702. CCBUG: 134702 M +1 -1 kmcommands.cpp --- branches/KDE/3.5/kdepim/kmail/kmcommands.cpp #588747:588748 @@ -1927,7 +1927,7 @@ msg = srcFolder->getMsg(idx); } - if ( msg->transferInProgress() && + if ( msg && msg->transferInProgress() && srcFolder->folderType() == KMFolderTypeImap ) { // cancel the download **update ** Upgraded to 3.5.5 The KMMoveCommand::execute related crash only has occurred once in a week. These two KMMessage::transferInProgress and KMFolder::folderType - have *not* recurred. Thanks for the patch Andreas. BJ. *** Bug 136731 has been marked as a duplicate of this bug. *** Another "move message" crash under 3.5.5 - in transferSelectedMsgs - and had another couple of re-occurances of the KMMoveCommand::execute variety (backtraces for both below). In trying to extract details from my users - the only common factor seems to be that kmail is in the process of fetching new mail (the status bar is bouncing back and forth) while they are either deleting or moving one or more messages when it crashes. BJ. #0 0x083b6ddb in ?? () No symbol table info available. #1 0xb66ae3b0 in KMCommand::transferSelectedMsgs (this=0x88228d0) at kmcommands.cpp:303 thisMsg = (class KMMessage *) 0x87554f0 mb = (class KMMsgBase *) 0x87554f0 #2 0xb66b37cd in KMCommand::slotStart (this=0x88228d0) at kmcommands.cpp:248 No locals. #3 0xb66b3b9d in KMCommand::qt_invoke (this=0x88228d0, _id=4, _o=0xbfdf8ad0) at kmcommands.moc:147 No locals. #4 0xb66b4019 in KMPrintCommand::qt_invoke (this=0x6a400000, _id=1782579200, _o=0x6a400000) at kmcommands.moc:1974 No locals. #5 0x4a4a218a in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #6 0x4a7e5ec2 in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #7 0x4a4bbaa9 in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #8 0x4a4c2f2b in QSingleShotTimer::event () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #9 0x4a43ffd4 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #10 0x4a440167 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #11 0xb6e98be4 in KApplication::notify (this=0xbfdf9140, receiver=0x820c378, event=0xbfdf8ed0) at kapplication.cpp:550 key = {m_sym = 143755840, m_mod = 143755840} _selectAll = (const KShortcut &) @0xb702b38c: {m_nSeqs = 1, m_rgseq = {{m_nKeys = 1 '\001', m_bTriggerOnRelease = 0 '\0', m_rgvar = {{ m_sym = 97, m_mod = 2}, {m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}}, d = 0xb702119c}, { m_nKeys = 0 '\0', m_bTriggerOnRelease = 0 '\0', m_rgvar = {{m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}, { m_sym = 0, m_mod = 0}}, d = 0xbfdf92f8}}, d = 0x49c2f7ba} edit = (struct QLineEdit *) 0x49d15ff4 medit = (struct QTextEdit *) 0x86ac3d0 #12 0x4a433de9 in QEventLoop::activateTimers () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #13 0x4a3ed126 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #14 0x4a455f82 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #15 0x4a455eda in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #16 0x4a43f2bb in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #0 0x00000000 in ?? () No symbol table info available. #1 0xb66bfdcf in KMMoveCommand::execute (this=0x85c1b58) at qvaluelist.h:526 it = {node = 0x8949138} msg = (class KMMessage *) 0x85c1c00 list = {<QGList> = {<> = {<No data fields>}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, <No data fields>} folderDeleteList = {sh = 0x8949138} busy = {<Qt> = {static color0 = @0x4a914ce0, static color1 = @0x4a914ce8, static black = @0x4a914cf0, static white = @0x4a914cf8, static darkGray = @0x4a914d00, static gray = @0x4a914d08, static lightGray = @0x4a914d10, static red = @0x4a914d18, static green = @0x4a914d20, static blue = @0x4a914d28, static cyan = @0x4a914d30, static magenta = @0x4a914d38, static yellow = @0x4a914d40, static darkRed = @0x4a914d48, static darkGreen = @0x4a914d50, static darkBlue = @0x4a914d58, static darkCyan = @0x4a914d60, static darkMagenta = @0x4a914d68, static darkYellow = @0x4a914d70, static arrowCursor = @0x4a9133e0, static upArrowCursor = @0x4a9133e4, static crossCursor = @0x4a9133e8, static waitCursor = @0x4a9133ec, static ibeamCursor = @0x4a9133f0, static sizeVerCursor = @0x4a9133f4, static sizeHorCursor = @0x4a9133f8, static sizeBDiagCursor = @0x4a9133fc, static sizeFDiagCursor = @0x4a913400, static sizeAllCursor = @0x4a913404, static blankCursor = @0x4a913408, static splitVCursor = @0x4a91340c, static splitHCursor = @0x4a913410, static pointingHandCursor = @0x4a913414, static forbiddenCursor = @0x4a913418, static whatsThisCursor = @0x4a91341c, static busyCursor = @0x4a913420}, inited = true} msgBase = (class KMMsgBase *) 0x87ec188 rc = 144073920 index = -1075856040 undoId = -1 #2 0xb66b4d30 in KMCommand::slotPostTransfer (this=0x85c1b58, result=KMCommand::OK) at kmcommands.cpp:256 it = {<QGListIterator> = {list = 0x806db80, curNode = 0xb6802dc1}, <No data fields>} #3 0xb66b8bb8 in KMCommand::qt_invoke (this=0x85c1b58, _id=5, _o=0xbfdfbfb0) at qucom_p.h:316 No locals. #4 0xb66b8f15 in KMMenuCommand::qt_invoke (this=0x89664c0, _id=144073920, _o=0x89664c0) at kmcommands.moc:2509 No locals. #5 0xb66bd3af in KMMoveCommand::qt_invoke (this=0x85c1b58, _id=5, _o=0xbfdfbfb0) at kmcommands.moc:2692 No locals. #6 0xb66bd44f in KMDeleteMsgCommand::qt_invoke (this=0x89664c0, _id=144073920, _o=0x89664c0) at kmcommands.moc:2767 No locals. #7 0x4a4a218a in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #8 0xb66af124 in KMCommand::messagesTransfered (this=0xbfdfbfd8, t0=KMCommand::OK) at kmcommands.moc:126 clist = (QConnectionList *) 0x898b8a8 o = {{type = 0x806a55c, payload = {b = false, c = 0 '\0', s = 0, i = 0, l = 0, uc = 0 '\0', us = 0, ui = 0, ul = 0, f = 0, d = 0, byte = "\000\000\000\000\000\000\000\000\224\033\\\b\000\000\000", bytearray = {data = 0x0, size = 0}, ptr = 0x0, voidstar = {ptr = 0x0, owner = false}, charstar = {ptr = 0x0, owner = false}, utf8 = { ptr = 0x0, owner = false}, local8bit = {ptr = 0x0, owner = false}, iface = 0x0, idisp = 0x0}}, {type = 0x806a1e8, payload = {b = 4, c = 4 '\004', s = -16380, i = -1075855356, l = -1075855356, uc = 4 '\004', us = 49156, ui = 3219111940, ul = 3219111940, f = -1.74804735, d = 3.5542385275115725e-313, byte = "\004Àß¿\020\000\000\000è¡\006\b<¢\006\b", bytearray = { data = 0xbfdfc004 "\001", size = 16}, ptr = 0xbfdfc004, voidstar = { ptr = 0xbfdfc004, owner = 16}, charstar = {ptr = 0xbfdfc004 "\001", owner = 16}, utf8 = {ptr = 0xbfdfc004 "\001", owner = 16}, local8bit = {ptr = 0xbfdfc004 "\001", owner = 16}, iface = 0xbfdfc004, idisp = 0xbfdfc004}}} #9 0xb66b30f3 in KMCommand::transferSelectedMsgs (this=0x85c1b58) at kmcommands.cpp:351 complete = true totalSize = 0 #10 0xb66b87cd in KMCommand::slotStart (this=0x85c1b58) at kmcommands.cpp:248 No locals. #11 0xb66b8b9d in KMCommand::qt_invoke (this=0x85c1b58, _id=4, _o=0xbfdfc1d0) at kmcommands.moc:147 No locals. #12 0xb66b8f15 in KMMenuCommand::qt_invoke (this=0x89664c0, _id=144073920, _o=0x89664c0) at kmcommands.moc:2509 No locals. #13 0xb66bd3af in KMMoveCommand::qt_invoke (this=0x85c1b58, _id=4, _o=0xbfdfc1d0) at kmcommands.moc:2692 No locals. #14 0xb66bd44f in KMDeleteMsgCommand::qt_invoke (this=0x89664c0, _id=144073920, _o=0x89664c0) at kmcommands.moc:2767 No locals. #15 0x4a4a218a in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #16 0x4a7e5ec2 in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #17 0x4a4bbaa9 in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #18 0x4a4c2f2b in QSingleShotTimer::event () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #19 0x4a43ffd4 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #20 0x4a440167 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #21 0xb6e98be4 in KApplication::notify (this=0xbfdfc840, receiver=0x8247c70, event=0xbfdfc5d0) at kapplication.cpp:550 key = {m_sym = 140959328, m_mod = 140959328} _selectAll = (const KShortcut &) @0xb702b38c: {m_nSeqs = 1, m_rgseq = { {m_nKeys = 1 '\001', m_bTriggerOnRelease = 0 '\0', m_rgvar = {{m_sym = 97, m_mod = 2}, {m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}, { m_sym = 0, m_mod = 0}}, d = 0xb702119c}, {m_nKeys = 0 '\0', m_bTriggerOnRelease = 0 '\0', m_rgvar = {{m_sym = 0, m_mod = 0}, { m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}, {m_sym = 0, m_mod = 0}}, d = 0xbfdfc9f8}}, d = 0x49c2f7ba} edit = (struct QLineEdit *) 0x49d15ff4 medit = (struct QTextEdit *) 0x8610000 #22 0x4a433de9 in QEventLoop::activateTimers () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #23 0x4a3ed126 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #24 0x4a455f82 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #25 0x4a455eda in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. #26 0x4a43f2bb in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 No symbol table info available. *** Bug 137969 has been marked as a duplicate of this bug. *** *** Bug 142885 has been marked as a duplicate of this bug. *** |