Version: (using Devel) OS: Linux Installed from: Compiled sources Hello, With KDE svn trunk r886887, kmail crashes on downloading emails. The crashs seems to happen on certain emails but i am not sure. I get two type of backtraces, both having a failed assert: Thread 2 (Thread 0x427b9950 (LWP 821)): #0 0x00007fe0bcc6d05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fe0bcede097 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4 #2 0x00007fe0bced429a in ?? () from /usr/lib64/libQtCore.so.4 #3 0x00007fe0bcedd102 in ?? () from /usr/lib64/libQtCore.so.4 #4 0x00007fe0bcc69040 in start_thread () from /lib64/libpthread.so.0 #5 0x00007fe0bc2630cd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fe0c3c40700 (LWP 819)): [KCrash Handler] #5 0x00007fe0bc1c25c5 in raise () from /lib64/libc.so.6 #6 0x00007fe0bc1c3bb3 in abort () from /lib64/libc.so.6 #7 0x00007fe0bc1bb1e9 in __assert_fail () from /lib64/libc.so.6 #8 0x00007fe0ac8c5429 in KMMoveCommand::execute (this=0x1b005e0) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/kmcommands.cpp:2068 #9 0x00007fe0ac8d2c78 in KMCommand::slotPostTransfer (this=0x1b005e0, result=KMCommand::OK) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/kmcommands.cpp:276 #10 0x00007fe0ac8d2e96 in KMCommand::qt_metacall (this=0x1b005e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcbc8e690) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmcommands.moc:86 #11 0x00007fe0ac8d32c5 in KMMoveCommand::qt_metacall (this=0x333, _c=819, _id=6, _a=0xffffffffffffffff) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmcommands.moc:1662 #12 0x00007fe0bcfdab3a in QMetaObject::activate () from /usr/lib64/libQtCore.so.4 #13 0x00007fe0ac8bcd4e in KMCommand::messagesTransfered (this=0x333, _t1=KMCommand::OK) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmcommands.moc:100 #14 0x00007fe0ac8d2bb9 in KMCommand::transferSelectedMsgs (this=0x1b005e0) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/kmcommands.cpp:370 #15 0x00007fe0ac8d3955 in KMCommand::slotStart (this=0x1b005e0) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/kmcommands.cpp:268 #16 0x00007fe0ac8d2e7a in KMCommand::qt_metacall (this=0x1b005e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcbc8e930) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmcommands.moc:85 #17 0x00007fe0ac8d32c5 in KMMoveCommand::qt_metacall (this=0x333, _c=819, _id=6, _a=0xffffffffffffffff) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmcommands.moc:1662 #18 0x00007fe0bcfdab3a in QMetaObject::activate () from /usr/lib64/libQtCore.so.4 #19 0x00007fe0bcfe0e6f in ?? () from /usr/lib64/libQtCore.so.4 #20 0x00007fe0bcfd5463 in QObject::event () from /usr/lib64/libQtCore.so.4 #21 0x00007fe0bdd5bc7d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4 #22 0x00007fe0bdd63a3a in QApplication::notify () from /usr/lib64/libQtGui.so.4 #23 0x00007fe0beb2ebde in KApplication::notify (this=0x7fffcbc8f450, receiver=0x1af2830, event=0x7fffcbc8f060) at /home/kde-devel-trunk/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #24 0x00007fe0bcfc6731 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4 #25 0x00007fe0bcff2990 in ?? () from /usr/lib64/libQtCore.so.4 #26 0x00007fe0bcfeed0d in ?? () from /usr/lib64/libQtCore.so.4 #27 0x00007fe0b7f8093a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #28 0x00007fe0b7f84040 in ?? () from /usr/lib64/libglib-2.0.so.0 #29 0x00007fe0b7f841dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #30 0x00007fe0bcfeec6f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4 #31 0x00007fe0bddec8ff in ?? () from /usr/lib64/libQtGui.so.4 #32 0x00007fe0bcfc5022 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4 #33 0x00007fe0bcfc51ad in QEventLoop::exec () from /usr/lib64/libQtCore.so.4 #34 0x00007fe0bcfc76ad in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4 #35 0x0000000000403eaa in main (argc=1, argv=0x7fffcbc8f968) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kontact/src/main.cpp:218 and the second one: Thread 1 (Thread 0x7f30adfd7700 (LWP 7181)): [KCrash Handler] #5 0x00007f30a65595c5 in raise () from /lib64/libc.so.6 #6 0x00007f30a655abb3 in abort () from /lib64/libc.so.6 #7 0x00007f30a726c455 in qt_message_output () from /usr/lib64/libQtCore.so.4 #8 0x00007f30a726c59d in qFatal () from /usr/lib64/libQtCore.so.4 #9 0x00007f30a726c60a in qt_assert () from /usr/lib64/libQtCore.so.4 #10 0x00007f3096d65e1d in KMail::MessageListView::StorageModel::slotMessageAdded (this=0x12b4e90, folder=0xde01d0, sernum=<value optimized out>) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/messagelistview/storagemodel.cpp:598 #11 0x00007f3096a69ef5 in KMail::MessageListView::StorageModel::qt_metacall (this=0x12b4e90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb6022550) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/moc_storagemodel.cpp:80 #12 0x00007f30a7371b3a in QMetaObject::activate () from /usr/lib64/libQtCore.so.4 #13 0x00007f3096b164c0 in KMFolder::msgAdded (this=0x1c0d, _t1=0xde01d0, _t2=1744982) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmfolder.moc:217 #14 0x00007f3096b169fa in KMFolder::qt_metacall (this=0xde01d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb6022690) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/kmfolder.moc:119 #15 0x00007f30a7371b3a in QMetaObject::activate () from /usr/lib64/libQtCore.so.4 #16 0x00007f3096b33e60 in FolderStorage::msgAdded (this=0x1c0d, _t1=0xde01d0, _t2=1744982) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/folderstorage.moc:250 #17 0x00007f3096bd6ff1 in KMFolderMaildir::addMsgInternal (this=0xdc9db0, aMsg=0x216b07, index_return=0x0, stripUid=false) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/kmfoldermaildir.cpp:505 #18 0x00007f3096ae5a4a in KMAccount::processNewMsg (this=0xd2f8d0, aMsg=0x2190480) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/kmaccount.cpp:273 #19 0x00007f3096bda927 in KMail::PopAccount::slotProcessPendingMsgs (this=0xd2f8d0) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kmail/popaccount.cpp:322 #20 0x00007f3096bde548 in KMail::PopAccount::qt_metacall (this=0xd2f8d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb6022cd0) at /home/kde-devel-trunk/kde/build/KDE/kdepim/kmail/popaccount.moc:81 #21 0x00007f30a7371b3a in QMetaObject::activate () from /usr/lib64/libQtCore.so.4 #22 0x00007f30a736c463 in QObject::event () from /usr/lib64/libQtCore.so.4 #23 0x00007f30a80f2c7d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4 #24 0x00007f30a80faa3a in QApplication::notify () from /usr/lib64/libQtGui.so.4 #25 0x00007f30a8ec5bde in KApplication::notify (this=0x7fffb60237e0, receiver=0xd2fa90, event=0x7fffb60233f0) at /home/kde-devel-trunk/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #26 0x00007f30a735d731 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4 #27 0x00007f30a7389990 in ?? () from /usr/lib64/libQtCore.so.4 #28 0x00007f30a7385d0d in ?? () from /usr/lib64/libQtCore.so.4 #29 0x00007f30a231793a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f30a231b040 in ?? () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f30a231b1dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f30a7385c6f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4 #33 0x00007f30a81838ff in ?? () from /usr/lib64/libQtGui.so.4 #34 0x00007f30a735c022 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4 #35 0x00007f30a735c1ad in QEventLoop::exec () from /usr/lib64/libQtCore.so.4 #36 0x00007f30a735e6ad in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4 #37 0x0000000000403eaa in main (argc=1, argv=0x7fffb6023cf8) at /home/kde-devel-trunk/kde/src/KDE/kdepim/kontact/src/main.cpp:218 Thanks.
SVN commit 886941 by tmcguire: Revert 886618, this actually causes more crashes on 64 bit systems. Thanks to Matthias for testing the revert. BUG: 175663 BUG: 175667 M +1 -1 kmmsgdict.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=886941