I get the following crash each time the IMAP resource attempts to start. This happened right after creating the resource: Apparently, I entered incorrect connection settings, so the IMAP resource complained and offered me to correct those. I chose to correct the settings, confirmed the dialog, and then shortly afterwards I got this crash. "Calling collectionsRetrieved() although no collection retrieval is in progress" Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted [Current thread is 1 (Thread 0x7f41bb32d750 (LWP 4484))] Thread 4 (Thread 0x7f41a8f80950 (LWP 4510)): #0 0x00007f41ba302fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f41ba5b14b3 in QWaitConditionPrivate::wait (this=0x9369e0, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 0x00007f41ba5b1026 in QWaitCondition::wait (this=0x963938, mutex=0x963930, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f41ba5a1201 in QThreadPoolThread::run (this=0x933d30) at concurrent/qthreadpool.cpp:140 #4 0x00007f41ba5b0ada in QThreadPrivate::start (arg=0x933d30) at thread/qthread_unix.cpp:248 #5 0x00007f41ba2ff070 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f41b5f0b11d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f41a3fff950 (LWP 4511)): #0 0x00007f41ba302fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f41ba5b14b3 in QWaitConditionPrivate::wait (this=0x9369e0, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 0x00007f41ba5b1026 in QWaitCondition::wait (this=0x963938, mutex=0x963930, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f41ba5a1201 in QThreadPoolThread::run (this=0x7f41a40027e0) at concurrent/qthreadpool.cpp:140 #4 0x00007f41ba5b0ada in QThreadPrivate::start (arg=0x7f41a40027e0) at thread/qthread_unix.cpp:248 #5 0x00007f41ba2ff070 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f41b5f0b11d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f41a37fe950 (LWP 4547)): #0 0x00007f41b5f02396 in poll () from /lib64/libc.so.6 #1 0x00007f41b4f0e768 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f41b4f0ea8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f41ba7194af in QEventDispatcherGlib::processEvents (this=0x879620, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007f41ba6d9e63 in QEventLoop::processEvents (this=0x7f41a37fdfd0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f41ba6da087 in QEventLoop::exec (this=0x7f41a37fdfd0, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f41ba5abf37 in QThread::exec (this=0xa09680) at thread/qthread.cpp:487 #7 0x00007f41b8d511f9 in KIMAP::SessionThread::run (this=0xa09680) at /media/kdedev/trunk/src/KDE/kdepimlibs-git/kimap/sessionthread.cpp:160 #8 0x00007f41ba5b0ada in QThreadPrivate::start (arg=0xa09680) at thread/qthread_unix.cpp:248 #9 0x00007f41ba2ff070 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f41b5f0b11d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f41bb32d750 (LWP 4484)): [KCrash Handler] #6 0x00007f41b5e6a645 in raise () from /lib64/libc.so.6 #7 0x00007f41b5e6bc33 in abort () from /lib64/libc.so.6 #8 0x00007f41ba5a419d in qt_message_output (msgType=QtFatalMsg, buf=0x841608 "ASSERT failure in ResourceBase::collectionsRetrieved(): \"Calling collectionsRetrieved() although no collection retrieval is in progress\", file /media/kdedev/trunk/src/KDE/kdepimlibs-git/akonadi/resour"...) at global/qglobal.cpp:2250 #9 0x00007f41ba5a4395 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f41ba766ff8 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff8b258170) at global/qglobal.cpp:2296 #10 0x00007f41ba5a44c1 in qFatal (msg=0x7f41ba766ff8 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2479 #11 0x00007f41ba5a44fd in qt_assert_x (where=0x7f41baedba18 "ResourceBase::collectionsRetrieved()", what=0x7f41baedb9c8 "Calling collectionsRetrieved() although no collection retrieval is in progress", file=0x7f41baeda948 "/media/kdedev/trunk/src/KDE/kdepimlibs-git/akonadi/resourcebase.cpp", line=352) at global/qglobal.cpp:2021 #12 0x00007f41bae6608b in Akonadi::ResourceBase::collectionsRetrieved (this=0x7599a0, collections=...) at /media/kdedev/trunk/src/KDE/kdepimlibs-git/akonadi/resourcebase.cpp:352 #13 0x0000000000437d8e in ImapResource::onMailBoxesReceived (this=0x7599a0, descriptors=..., flags=...) at /media/kdedev/trunk/src/KDE/kdepim-git/runtime/resources/imap/imapresource.cpp:722 #14 0x000000000043da2a in ImapResource::qt_metacall (this=0x7599a0, _c=InvokeMetaMethod, _id=9, _a=0x7fff8b258a30) at /media/kdedev/trunk/build/KDE/kdepim-git/runtime/resources/imap/imapresource.moc:174 #15 0x00007f41ba6e586f in QMetaObject::metacall (object=0x7599a0, cl=InvokeMetaMethod, idx=48, argv=0x7fff8b258a30) at kernel/qmetaobject.cpp:237 #16 0x00007f41ba6fabe0 in QMetaObject::activate (sender=0x889e20, m=0x7f41b8f8d620, local_signal_index=0, argv=0x7fff8b258a30) at kernel/qobject.cpp:3293 #17 0x00007f41b8d412d9 in KIMAP::ListJob::mailBoxesReceived (this=0x889e20, _t1=..., _t2=...) at /media/kdedev/trunk/build/KDE/kdepimlibs-git/kimap/listjob.moc:91 #18 0x00007f41b8d43160 in KIMAP::ListJobPrivate::emitPendings (this=0x8a9bf0) at /media/kdedev/trunk/src/KDE/kdepimlibs-git/kimap/listjob.cpp:44 #19 0x00007f41b8d4164f in KIMAP::ListJob::handleResponse (this=0x889e20, response=...) at /media/kdedev/trunk/src/KDE/kdepimlibs-git/kimap/listjob.cpp:155 #20 0x00007f41b8d4ed59 in KIMAP::SessionPrivate::responseReceived (this=0xa09490, response=...) at /media/kdedev/trunk/src/KDE/kdepimlibs-git/kimap/session.cpp:215 #21 0x00007f41b8d4f038 in KIMAP::Session::qt_metacall (this=0x87b190, _c=InvokeMetaMethod, _id=3, _a=0x8a95a0) at /media/kdedev/trunk/build/KDE/kdepimlibs-git/kimap/session.moc:98 #22 0x00007f41ba6e586f in QMetaObject::metacall (object=0x87b190, cl=InvokeMetaMethod, idx=7, argv=0x8a95a0) at kernel/qmetaobject.cpp:237 #23 0x00007f41ba6f3437 in QMetaCallEvent::placeMetaCall (this=0x838d60, object=0x87b190) at kernel/qobject.cpp:561 #24 0x00007f41ba6f54fa in QObject::event (this=0x87b190, e=0x838d60) at kernel/qobject.cpp:1248 #25 0x00007f41b9525a1b in QApplicationPrivate::notify_helper (this=0x6a72e0, receiver=0x87b190, e=0x838d60) at kernel/qapplication.cpp:4304 #26 0x00007f41b9525ea4 in QApplication::notify (this=0x7fff8b259da0, receiver=0x87b190, e=0x838d60) at kernel/qapplication.cpp:3708 #27 0x00007f41b729e8ff in KApplication::notify (this=0x7fff8b259da0, receiver=0x87b190, event=0x838d60) at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #28 0x00007f41ba6dda69 in QCoreApplication::notifyInternal (this=0x7fff8b259da0, receiver=0x87b190, event=0x838d60) at kernel/qcoreapplication.cpp:704 #29 0x00007f41ba6e2dad in QCoreApplication::sendEvent (receiver=0x87b190, event=0x838d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #30 0x00007f41ba6de07f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x68e410) at kernel/qcoreapplication.cpp:1345 #31 0x00007f41ba6de38e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238 #32 0x00007f41ba71b699 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #33 0x00007f41ba71a676 in postEventSourceDispatch (s=0x6aa970) at kernel/qeventdispatcher_glib.cpp:276 #34 0x00007f41b4f0b0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #35 0x00007f41b4f0e8cd in ?? () from /usr/lib64/libglib-2.0.so.0 #36 0x00007f41b4f0ea8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #37 0x00007f41ba719491 in QEventDispatcherGlib::processEvents (this=0x68db30, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #38 0x00007f41b9619d67 in QGuiEventDispatcherGlib::processEvents (this=0x68db30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #39 0x00007f41ba6d9e63 in QEventLoop::processEvents (this=0x7fff8b259cd0, flags=...) at kernel/qeventloop.cpp:149 #40 0x00007f41ba6da087 in QEventLoop::exec (this=0x7fff8b259cd0, flags=...) at kernel/qeventloop.cpp:201 #41 0x00007f41ba6de4b3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #42 0x00007f41b95289ac in QApplication::exec () at kernel/qapplication.cpp:3583 #43 0x00007f41bae67c6c in Akonadi::ResourceBase::init (r=0x7599a0) at /media/kdedev/trunk/src/KDE/kdepimlibs-git/akonadi/resourcebase.cpp:219 #44 0x00000000004497cf in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7fff8b259ee8) at /media/kdedev/trunk/kde/include/akonadi/resourcebase.h:186 #45 0x000000000043e7d9 in main (argc=3, argv=0x7fff8b259ee8) at /media/kdedev/trunk/src/KDE/kdepim-git/runtime/resources/imap/imapresource.cpp:1930
My mistake, fixed in r1111294.