Version: (using KDE KDE 3.5.5) Installed from: Ubuntu Packages After I've started KMail it fetched new mails from IMAP, started sorting them (downloading and re-uploading) and then hung in an infinite loop. I've attached gdb and it produced this backtrace: [Switching to Thread -1248635216 (LWP 14107)] 0xb72430b2 in QListViewItem::takeItem () from /usr/lib/libqt-mt.so.3 (gdb) bt #0 0xb72430b2 in QListViewItem::takeItem () from /usr/lib/libqt-mt.so.3 #1 0xb5f204cc in KListViewItem::takeItem () from /usr/lib/libkdeui.so.4 #2 0xb7232686 in QListViewItem::~QListViewItem () from /usr/lib/libqt-mt.so.3 #3 0xb5f2060d in KListViewItem::~KListViewItem () from /usr/lib/libkdeui.so.4 #4 0xb7cc0e51 in KMail::HeaderItem::~HeaderItem () from /usr/lib/libkmailprivate.so #5 0xb7cae94e in KMHeaders::msgRemoved () from /usr/lib/libkmailprivate.so #6 0xb7cb9f39 in KMHeaders::qt_invoke () from /usr/lib/libkmailprivate.so #7 0xb7139957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #8 0xb7ce8fd0 in KMFolder::msgRemoved () from /usr/lib/libkmailprivate.so #9 0xb7ce9c8d in KMFolder::qt_emit () from /usr/lib/libkmailprivate.so #10 0xb713992b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #11 0xb7d06bd0 in FolderStorage::msgRemoved () from /usr/lib/libkmailprivate.so #12 0xb7d08242 in FolderStorage::removeMsg () from /usr/lib/libkmailprivate.so #13 0xb7d96f8b in KMFolderImap::removeMsg () from /usr/lib/libkmailprivate.so #14 0xb7ce7976 in KMFolder::removeMsg () from /usr/lib/libkmailprivate.so #15 0xb7e3266c in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so #16 0xb7e24949 in KMCommand::slotPostTransfer () from /usr/lib/libkmailprivate.so #17 0xb7e2c386 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so #18 0xb7e2c66b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so #19 0xb7e2c6f7 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so #20 0xb7139957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 ---Type <return> to continue, or q <return> to quit--- #21 0xb7e249de in KMCommand::messagesTransfered () from /usr/lib/libkmailprivate.so #22 0xb7e2d241 in KMCommand::transferSelectedMsgs () from /usr/lib/libkmailprivate.so #23 0xb7e2d3a7 in KMCommand::slotStart () from /usr/lib/libkmailprivate.so #24 0xb7e2c398 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so #25 0xb7e2c66b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so #26 0xb7e2c6f7 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so #27 0xb7139957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #28 0xb74c5f44 in QSignal::signal () from /usr/lib/libqt-mt.so.3 #29 0xb71598ea in QSignal::activate () from /usr/lib/libqt-mt.so.3 #30 0xb7161300 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3 #31 0xb70d0b88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #32 0xb70d29b7 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #33 0xb77f9db2 in KApplication::notify () from /usr/lib/libkdecore.so.4 #34 0xb7063389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3 #35 0xb70c35d3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3 #36 0xb7077ec5 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #37 0xb70eb25e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #38 0xb70eb06e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #39 0xb70d2731 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #40 0x0804a0fe in ?? () #41 0xbf835234 in ?? () ---Type <return> to continue, or q <return> to quit--- #42 0xbf83522c in ?? () #43 0x00000000 in ?? ()
Hm, it's an IMAP folder. How many messages do you have in the folder?
Hard to say. If this was my inbox on the account I think it might have been, it were probably ~1000-1500 mails therein.
Hi! Can you reproduce this bug using KDE 3.5.10 or KDE 4.2 beta2 ?
I'm closing this as fixed, since I have not experienced this in KDE4 yet and the root cause (where KMail re-uploads mails and duplicates them) has been fixed finally. Thanks!