Version: 1.9.50 (using KDE Devel) Installed from: Compiled sources Compiler: g++ (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) Current Debian (Testing/Lenny) OS: Linux kmail crashes when one tries to move email messages from one imap folder to another. For example: I right click a message in the inbox of abgrund@silberdrache.net, go to "Move to", go to "Silberdrache.net" and click "trash" or any other folder. Same goes when I try to drag and drop a message to any folder, except the folder in which the mail already is. It does *not* crash moving mail to a local folder. The compile has been made on a Debian Linux (Testing) system, strictly following the guide at: http://techbase.kde.org/Getting_Started/Build/KDE4 It consists of kdesupport, kdelibs, kdepimlibs, kdebase, kdepim updated earlier today in the given order. kdepim is compiled with "-DWITH_MySQL=off" Here is a stack trace, hoping it is of any use since it is a custom compile. Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0x2af63f798f10 (LWP 25000)] [KCrash handler] #5 0x00002af63967bfd5 in raise () from /lib/libc.so.6 #6 0x00002af63967da30 in abort () from /lib/libc.so.6 #7 0x00002af62e7f5075 in qt_message_output () from /usr/lib/libQtCore.so.4 #8 0x00002af62e7f5197 in qFatal () from /usr/lib/libQtCore.so.4 #9 0x00002af630132e01 in QList<int>::first (this=0x7fff7c51f290) at /usr/include/qt4/QtCore/qlist.h:244 #10 0x00002af6301a3a50 in KMFolderImap::addMsg (this=0x986fc0, aMsg=0x11100b0, aIndex_ret=0x7fff7c51f2fc) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmfolderimap.cpp:413 #11 0x00002af63012e2be in FolderStorage::addMessages (this=0x986fc0, msgList=@0x7fff7c51f3d0, index_ret=@0x7fff7c51f370) at /home/kde-devel/kde/src/KDE/kdepim/kmail/folderstorage.cpp:1161 #12 0x00002af63012fe61 in FolderStorage::moveMsg (this=0x986fc0, msglist=@0x7fff7c51f3d0, aIndex_ret=0x7fff7c51f45c) at /home/kde-devel/kde/src/KDE/kdepim/kmail/folderstorage.cpp:625 #13 0x00002af630114e9c in KMFolder::moveMsg (this=0x985890, q=@0x7fff7c51f500, index_return=0x7fff7c51f45c) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmfolder.cpp:438 #14 0x00002af63023e9b1 in KMMoveCommand::execute (this=0x1220c50) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.cpp:2127 #15 0x00002af6302491a4 in KMCommand::slotPostTransfer (this=0x1220c50, result=KMCommand::OK) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.cpp:269 #16 0x00002af630249604 in KMCommand::qt_metacall (this=0x1220c50, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff7c51fb20) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.moc:85 #17 0x00002af630249aa9 in KMMoveCommand::qt_metacall (this=0x1220c50, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff7c51fb20) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.moc:1661 #18 0x00002af62e8b3d51 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #19 0x00002af630237820 in KMCommand::messagesTransfered (this=0x1220c50, _t1=KMCommand::OK) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.moc:99 #20 0x00002af6302490f3 in KMCommand::transferSelectedMsgs (this=0x1220c50) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.cpp:363 #21 0x00002af6302494cf in KMCommand::slotStart (this=0x1220c50) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.cpp:261 #22 0x00002af6302495ec in KMCommand::qt_metacall (this=0x1220c50, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff7c520240) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.moc:84 #23 0x00002af630249aa9 in KMMoveCommand::qt_metacall (this=0x1220c50, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff7c520240) at /home/kde-devel/kde/src/KDE/kdepim/kmail/kmcommands.moc:1661 #24 0x00002af62e8b3d51 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #25 0x00002af62e8b9d0f in ?? () from /usr/lib/libQtCore.so.4 #26 0x00002af62e8b301c in QObject::event () from /usr/lib/libQtCore.so.4 #27 0x00002af637d1b82b in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #28 0x00002af637d1f193 in QApplication::notify () from /usr/lib/libQtGui.so.4 #29 0x00002af63366bd76 in KApplication::notify (this=0x7fff7c520ce0, receiver=0x1228150, event=0x7fff7c5208a0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:319 #30 0x00002af62e8a1ef0 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #31 0x00002af62e8c5c16 in ?? () from /usr/lib/libQtCore.so.4 #32 0x00002af62e8c29ed in ?? () from /usr/lib/libQtCore.so.4 #33 0x00002af639f1adf4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #34 0x00002af639f1e0dd in ?? () from /usr/lib/libglib-2.0.so.0 #35 0x00002af639f1e5ae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #36 0x00002af62e8c2f41 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #37 0x00002af637d910ff in ?? () from /usr/lib/libQtGui.so.4 #38 0x00002af62e8a13c8 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #39 0x00002af62e8a14e6 in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #40 0x00002af62e8a3651 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #41 0x0000000000402ee4 in main (argc=3, argv=0x7fff7c520e68) at /home/kde-devel/kde/src/KDE/kdepim/kmail/main.cpp:129 #0 0x00002af6396e7b50 in nanosleep () from /lib/libc.so.6
Some additional info about my libc6: $ LANG=en_US aptitude show libc6 Package: libc6 State: installed Automatically installed: yes Version: 2.7-3
I had a crash moving Messages because of the following assertion: ASSERT: "!transferInProgress( serNum )" in file /home/kde4dev/kde/src/KDE/kdepim/kmail/messageproperty.cpp, line 164 And followed by a few other errors:kDebugStream called after destruction (from bool KABC::StdAddressBook::Private::saveAll() file /home/kde4dev/kde/src/KDE/kdepimlibs/kabc/stdaddressbook.cpp line 159) kDebugStream called after destruction (from KABC::Ticket* KABC::AddressBook::requestSaveTicket(KABC::Resource*) file /home/kde4dev/kde/src/KDE/kdepimlibs/kabc/addressbook.cpp line 509) kDebugStream called after destruction (from virtual KABC::Ticket* KABC::ResourceFile::requestSaveTicket() file /home/kde4dev/kde/src/KDE/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 133) Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at /home/kde4dev/kde/src/KDE/kdelibs/kdecore/kernel/kglobal.cpp:86
I think this bug is related to bug id #153885 because I got the same assertion trying to reproduce it.
I was wrong in my last comment: This bug is purely kmail's problem and possibly caused by too many or concurrent transfers (download of a mail/folder while moving it).
There are some similar reports at KDE4: bug 156289 / bug 156290 / bug 156291 The three of them are marked as WORKSFORME/FIXED. We should assume this is fixed too. (and as there are no news since 2008-02)