Application: kmail (2.1.0) KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources) Qt Version: 4.7.3 Operating System: Linux 2.6.39.1 x86_64 -- Information about the crash: - What I was doing when the application crashed: I tried to move several folders to another one. After I triggered the first one to move the process seemed to start but the user interface was still active (not freezed). After I triggered the second folder to move KMail suddenly crashed. -- Backtrace: Application: KMail (kmail), signal: Aborted [Current thread is 1 (Thread 0x7f57d1d71760 (LWP 2687))] Thread 2 (Thread 0x7f57a6e4e710 (LWP 2691)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f57c4463d94 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4 #2 0x00007f57c4463dc9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4 #3 0x00007f57cbfb3aca in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007f57cb56d58d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7f57d1d71760 (LWP 2687)): [KCrash Handler] #6 0x00007f57cb4bf315 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007f57cb4c099f in *__GI_abort () at abort.c:92 #8 0x00007f57cc24a4af in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2282 #9 0x00007f57cc24a652 in qt_message (msgType=QtFatalMsg, msg=0x7f57cc3c49b0 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff6d1aa090) at global/qglobal.cpp:2328 #10 0x00007f57cc24a805 in qFatal (msg=0xa7f <Address 0xa7f out of bounds>) at global/qglobal.cpp:2511 #11 0x00007f57ce9e7ac5 in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x1c7d390, collection=..., sourceCollection=..., destCollection=...) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/entitytreemodel_p.cpp:800 #12 0x00007f57ce9dd5e2 in Akonadi::EntityTreeModel::qt_metacall (this=0x1e26fa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d1aa3a0) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/entitytreemodel.moc:154 #13 0x00007f57cc37098f in QMetaObject::activate (sender=0x1e22cc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278 #14 0x00007f57cea22abf in Akonadi::Monitor::collectionMoved (this=0xa7f, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/monitor.moc:232 #15 0x00007f57cea24af2 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x1c71b40, msg=..., col=<value optimized out>, par=<value optimized out>, dest=<value optimized out>) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/monitor_p.cpp:534 #16 0x00007f57cea26687 in Akonadi::MonitorPrivate::emitNotification (this=0x1c71b40, msg=...) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/monitor_p.cpp:267 #17 0x00007f57ce9a9ef1 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xa7f, msg=...) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/changerecorder_p.h:60 #18 0x00007f57cea25f71 in Akonadi::MonitorPrivate::dataAvailable (this=0x1c71b40) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/monitor_p.cpp:287 #19 0x00007f57cea22d15 in Akonadi::Monitor::qt_metacall (this=0x1e22cc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d1aa8c0) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/monitor.moc:156 #20 0x00007f57ce9a7388 in Akonadi::ChangeRecorder::qt_metacall (this=0xa7f, _c=2687, _id=6, _a=0xffffffffffffffff) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/changerecorder.moc:72 #21 0x00007f57cc37098f in QMetaObject::activate (sender=0x1c71bc8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278 #22 0x00007f57ce9aa669 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x1c71bc8, job=0x8d64ad0) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/entitycache_p.h:189 #23 0x00007f57ce9d7a53 in Akonadi::EntityCacheBase::qt_metacall (this=0x1c71bc8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d1aaa70) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/entitycache_p.moc:77 #24 0x00007f57cc37098f in QMetaObject::activate (sender=0x8d64ad0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3278 #25 0x00007f57d128e282 in KJob::result (this=0xa7f, _t1=0x8d64ad0) at /usr/src/packages/kde4/4.6.4/kdelibs-4.6.4/build/kdecore/kjob.moc:194 #26 0x00007f57d128e5e1 in KJob::emitResult (this=0x8d64ad0) at /usr/src/packages/kde4/4.6.4/kdelibs-4.6.4/kdecore/jobs/kjob.cpp:312 #27 0x00007f57cea191c0 in Akonadi::Job::qt_metacall (this=0x8d64ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9692910) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/job.moc:91 #28 0x00007f57cea09aa5 in Akonadi::ItemFetchJob::qt_metacall (this=0xa7f, _c=2687, _id=6, _a=0xffffffffffffffff) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/build/akonadi/itemfetchjob.moc:73 #29 0x00007f57cc36910e in QObject::event (this=0x8d64ad0, e=0xa7f) at kernel/qobject.cpp:1217 #30 0x00007f57cd0ad780 in QApplicationPrivate::notify_helper (this=0x1c466b0, receiver=0x8d64ad0, e=0x9eb6c50) at kernel/qapplication.cpp:4462 #31 0x00007f57cd0b5b27 in QApplication::notify (this=0x7fff6d1acf90, receiver=0x8d64ad0, e=0x9eb6c50) at kernel/qapplication.cpp:4341 #32 0x00007f57d188cca1 in KApplication::notify (this=0x7fff6d1acf90, receiver=0x8d64ad0, event=0x9eb6c50) at /usr/src/packages/kde4/4.6.4/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311 #33 0x00007f57cc355f0b in QCoreApplication::notifyInternal (this=0x7fff6d1acf90, receiver=0x8d64ad0, event=0x9eb6c50) at kernel/qcoreapplication.cpp:731 #34 0x00007f57cc35897b in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1bde4a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1bde4a0) at kernel/qcoreapplication.cpp:1372 #36 0x00007f57cc386183 in QCoreApplication::sendPostedEvents (s=0x1c49df0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #37 postEventSourceDispatch (s=0x1c49df0) at kernel/qeventdispatcher_glib.cpp:277 #38 0x00007f57c13053fc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #39 0x00007f57c1305ce8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #40 0x00007f57c1305eac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #41 0x00007f57cc385d73 in QEventDispatcherGlib::processEvents (this=0x1bddce0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #42 0x00007f57cd16c3be in QGuiEventDispatcherGlib::processEvents (this=0xa7f, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #43 0x00007f57cc354b12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #44 0x00007f57cc354ef5 in QEventLoop::exec (this=0x7fff6d1ab4c0, flags=) at kernel/qeventloop.cpp:201 #45 0x00007f57cd5603c5 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2059 #46 0x00007f57ce9ed6e8 in Akonadi::EntityTreeView::contextMenuEvent (this=<value optimized out>, event=0x7fff6d1ac370) at /usr/src/packages/kde4/4.6.4/kdepimlibs-4.6.4/akonadi/entitytreeview.cpp:278 #47 0x00007f57cd10b285 in QWidget::event (this=0x1f85350, event=0x7fff6d1ac370) at kernel/qwidget.cpp:8426 #48 0x00007f57cd519c56 in QFrame::event (this=0x1f85350, e=0x7fff6d1ac370) at widgets/qframe.cpp:557 #49 0x00007f57cd66486b in QAbstractItemView::viewportEvent (this=0x1f85350, event=0x7fff6d1ac370) at itemviews/qabstractitemview.cpp:1628 #50 0x00007f57cd6a67c5 in QTreeView::viewportEvent (this=0x1f85350, event=0x7fff6d1ac370) at itemviews/qtreeview.cpp:1256 #51 0x00007f57cc355ba8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1c31420, event=0x7fff6d1ac370) at kernel/qcoreapplication.cpp:846 #52 0x00007f57cd0ad76c in QApplicationPrivate::notify_helper (this=0x1c466b0, receiver=0x1c31420, e=0x7fff6d1ac370) at kernel/qapplication.cpp:4458 #53 0x00007f57cd0b622d in QApplication::notify (this=<value optimized out>, receiver=0x1c31420, e=0x7fff6d1ac370) at kernel/qapplication.cpp:4102 #54 0x00007f57d188cca1 in KApplication::notify (this=0x7fff6d1acf90, receiver=0x1c31420, event=0x7fff6d1ac370) at /usr/src/packages/kde4/4.6.4/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311 #55 0x00007f57cc355f0b in QCoreApplication::notifyInternal (this=0x7fff6d1acf90, receiver=0x1c31420, event=0x7fff6d1ac370) at kernel/qcoreapplication.cpp:731 #56 0x00007f57cd1420fc in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4466 #57 0x00007f57cd140b90 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6d1acb20) at kernel/qapplication_x11.cpp:3587 #58 0x00007f57cd16ca92 in x11EventSourceDispatch (s=0x1c4a000, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #59 0x00007f57c13053fc in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #60 0x00007f57c1305ce8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #61 0x00007f57c1305eac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #62 0x00007f57cc385d73 in QEventDispatcherGlib::processEvents (this=0x1bddce0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #63 0x00007f57cd16c3be in QGuiEventDispatcherGlib::processEvents (this=0xa7f, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #64 0x00007f57cc354b12 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #65 0x00007f57cc354ef5 in QEventLoop::exec (this=0x7fff6d1ace50, flags=) at kernel/qeventloop.cpp:201 #66 0x00007f57cc358c8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #67 0x00000000004036ed in main (argc=3, argv=0x7fff6d1ad128) at /usr/src/packages/kde4/kdepim/kdepim-4.6.0/kmail/main.cpp:145 Reported using DrKonqi
*** Bug 296588 has been marked as a duplicate of this bug. ***
from bug 296588 -- Information about the crash: - What I was doing when the application crashed: Moved a folder full of email from a read only local directory (kmail1 format) to a "offline enabled" imap account The crash can be reproduced every time.
valid in master. Seen that in kjots while moving a folder from one resource to another one #5 0x00007fc0f3935f4a in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:1999 #6 0x00007fc0f5ddd537 in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x14625e0, collection=..., sourceCollection=..., destCollection=...) at /kde/src/pim/kdepimlibs/akonadi/entitytreemodel_p.cpp:909 #7 0x00007fc0f5dd57ba in Akonadi::EntityTreeModel::qt_static_metacall (_o=0x1462440, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fff7a8ebcf0) at /kde/build/pim/kdepimlibs/akonadi/entitytreemodel.moc:141 #8 0x00007fc0f3a51fe1 in QMetaObject::activate (sender=0x145ed20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7a8ebcf0) at kernel/qobject.cpp:3556 #9 0x00007fc0f5e206bd in Akonadi::Monitor::collectionMoved (this=0x145ed20, _t1=..., _t2=..., _t3=...) at /kde/build/pim/kdepimlibs/akonadi/monitor.moc:252 #10 0x00007fc0f5e24fff in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x145ed50, msg=..., col=..., par=..., dest=...) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:612 #11 0x00007fc0f5e22b8c in Akonadi::MonitorPrivate::emitNotification (this=0x145ed50, msg=...) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:285 #12 0x00007fc0f5d84c1e in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x145ed50, msg=...) at /kde/src/pim/kdepimlibs/akonadi/changerecorder_p.h:60 #13 0x00007fc0f5e23797 in Akonadi::MonitorPrivate::flushPipeline (this=0x145ed50) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:429 #14 0x00007fc0f5e23810 in Akonadi::MonitorPrivate::dataAvailable (this=0x145ed50) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:438 #15 0x00007fc0f5e201af in Akonadi::Monitor::qt_static_metacall (_o=0x145ed20, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fff7a8ec220) at /kde/build/pim/kdepimlibs/akonadi/monitor.moc:137 #16 0x00007fc0f3a51fe1 in QMetaObject::activate (sender=0x14606f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556 #17 0x00007fc0f5dc7fff in Akonadi::EntityCacheBase::dataAvailable (this=0x14606f0) at /kde/build/pim/kdepimlibs/akonadi/entitycache_p.moc:102 #18 0x00007fc0f5d8a7f6 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x14606f0, job=0x1459cd0) at /kde/src/pim/kdepimlibs/akonadi/entitycache_p.h:192 #19 0x00007fc0f5dc7ed8 in Akonadi::EntityCacheBase::qt_static_metacall (_o=0x14606f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff7a8ec480) at /kde/build/pim/kdepimlibs/akonadi/entitycache_p.moc:54 #20 0x00007fc0f3a51fe1 in QMetaObject::activate (sender=0x1459cd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7a8ec480) at kernel/qobject.cpp:3556 #21 0x00007fc0f417ce53 in KJob::result (this=0x1459cd0, _t1=0x1459cd0) at /kde/build/kdelibs/kdecore/kjob.moc:208 #22 0x00007fc0f417c317 in KJob::emitResult (this=0x1459cd0) at /kde/src/kdelibs/kdecore/jobs/kjob.cpp:318 #23 0x00007fc0f5e1b14a in Akonadi::JobPrivate::delayedEmitResult (this=0x1622ad0) at /kde/src/pim/kdepimlibs/akonadi/job.cpp:144 #24 0x00007fc0f5e1c256 in Akonadi::Job::qt_static_metacall (_o=0x1459cd0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x17aa250) at /kde/build/pim/kdepimlibs/akonadi/job.moc:68 #25 0x00007fc0f3a571a6 in QObject::event (this=0x1459cd0, e=<optimized out>) at kernel/qobject.cpp:1204 #26 0x00007fc0f454f134 in notify_helper (e=0x1793380, receiver=0x1459cd0, this=0x12d3610) at kernel/qapplication.cpp:4554 #27 QApplicationPrivate::notify_helper (this=0x12d3610, receiver=0x1459cd0, e=0x1793380) at kernel/qapplication.cpp:4526 #28 0x00007fc0f4553fb3 in QApplication::notify (this=0x7fff7a8eced0, receiver=0x1459cd0, e=0x1793380) at kernel/qapplication.cpp:4415 #29 0x00007fc0f52ea3d7 in KApplication::notify (this=0x7fff7a8eced0, receiver=0x1459cd0, event=0x1793380) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #30 0x00007fc0f3a3e11c in QCoreApplication::notifyInternal (this=0x7fff7a8eced0, receiver=0x1459cd0, event=0x1793380) at kernel/qcoreapplication.cpp:876
Created attachment 71590 [details] New crash information added by DrKonqi kontact (4.8.3) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1 - What I was doing when the application crashed: After moving a subfolder inside LocalMail with lots of e-mails, opened the moved subfolder in its destination and viewed some messages. I suspect this is due to trying to view the contents of messages before the whole folder was physically moved. The messages list was already available, but the folder was probably not synchronized. This did NOT happen when I moved some folders with fewer e-mails. When I tried to reproduce this I had to move another big folder. -- Backtrace (Reduced): #7 size (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:137 #8 QSortFilterProxyModelPrivate::proxy_to_source (this=0x8f40880, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370 #9 0xb6fa6333 in QSortFilterProxyModel::mapToSource (this=0x8e28cc8, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502 #10 0xb6fa761b in QSortFilterProxyModelPrivate::store_persistent_indexes (this=0x1) at itemviews/qsortfilterproxymodel.cpp:996 #11 0xb6fa84b0 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x8f40880) at itemviews/qsortfilterproxymodel.cpp:1244
Created attachment 71591 [details] second bactrace - moving one folder after another This crash was identical to the originally reported - I tried to reproduce the crash as in comment above, so tried to move one folder - it went OK, second one - crash.
*** Bug 304582 has been marked as a duplicate of this bug. ***
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.