Bug 145008

Summary: kmail crashes when deleting all messages in a folder
Product: [Unmaintained] kmail Reporter: Siddharth Deshpande <siddharth>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.9.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Siddharth Deshpande 2007-05-04 08:59:55 UTC
Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 4.1.2 gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
OS:                Linux

This doesn't happen always, but i have found the problem to occur thrice in a row in some folders. If i select all messages in the folder (Ctrl+A) and then press the "Delete" button, KMail crashes, without finishing the operation.

* Loaded Plugins - none.
* Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
....

[Thread debugging using libthread_db enabled]
[New Thread -1249237312 (LWP 8522)]
[New Thread -1278276688 (LWP 8527)]
[New Thread -1269888080 (LWP 8526)]
[New Thread -1261499472 (LWP 8525)]
[New Thread -1253110864 (LWP 8524)]
(no debugging symbols found)
....
[KCrash handler]
#5  0xb73b7fd5 in QGDict::look_string () from /usr/lib/libqt-mt.so.3
#6  0xb7ce0bc2 in KMHeaders::msgRemoved () from /usr/lib/libkmailprivate.so
#7  0xb7dda779 in KMHeaders::qt_invoke () from /usr/lib/libkmailprivate.so
#8  0xb70c0d4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0xb7bf0120 in KMFolder::msgRemoved () from /usr/lib/libkmailprivate.so
#10 0xb7cd574d in KMFolder::qt_emit () from /usr/lib/libkmailprivate.so
#11 0xb70c0d23 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb7bef230 in FolderStorage::msgRemoved () from /usr/lib/libkmailprivate.so
#13 0xb7d4d47b in FolderStorage::take () from /usr/lib/libkmailprivate.so
#14 0xb7dfc8cc in KMFolderMaildir::take () from /usr/lib/libkmailprivate.so
#15 0xb7ba748e in KMFolder::take () from /usr/lib/libkmailprivate.so
#16 0xb7dede66 in KMFolderMaildir::addMsgInternal ()
   from /usr/lib/libkmailprivate.so
#17 0xb7dee7a5 in KMFolderMaildir::addMsg () from /usr/lib/libkmailprivate.so
#18 0xb7bd0a03 in FolderStorage::moveMsg () from /usr/lib/libkmailprivate.so
#19 0xb7ba75c5 in KMFolder::moveMsg () from /usr/lib/libkmailprivate.so
#20 0xb7c737ef in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so
#21 0xb7be9549 in KMCommand::slotPostTransfer ()
   from /usr/lib/libkmailprivate.so
#22 0xb7c75126 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#23 0xb7c754fb in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#24 0xb7c75593 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#25 0xb7c7560b in KMDeleteMsgCommand::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#26 0xb70c0d4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0xb7be966e in KMCommand::messagesTransfered ()
   from /usr/lib/libkmailprivate.so
#28 0xb7cd6184 in KMCommand::transferSelectedMsgs ()
   from /usr/lib/libkmailprivate.so
#29 0xb7cd62e7 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#30 0xb7c75138 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#31 0xb7c754fb in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#32 0xb7c75593 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#33 0xb7c7560b in KMDeleteMsgCommand::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#34 0xb70c0d4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#35 0xb7449ee3 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#36 0xb70e08d2 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#37 0xb70e82a4 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#38 0xb7058c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#39 0xb705aa43 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#40 0xb7780e0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#41 0xb6fec421 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#42 0xb704b623 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#43 0xb700076f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#44 0xb7073179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#45 0xb7072f9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#46 0xb705a7bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
#47 0x0804a094 in ?? ()
#48 0xbfc261e4 in ?? ()
#49 0xbfc263d0 in ?? ()
#50 0x00000000 in ?? ()


* How to reproduce?
Well, make some folders, put some mails into them and try to select all and delete.

* Expected behaviour - er...ummm.. it... should... not... ummm.. crash!!!
Comment 1 Tommi Tervo 2007-05-04 14:34:59 UTC

*** This bug has been marked as a duplicate of 127107 ***