Application: akonadi_imap_resource (4.88.0) (Compiled from sources) Qt Version: 5.5.0 Operating System: Linux 4.1.2-2-ARCH x86_64 Distribution (Platform): Archlinux Packages -- Information about the crash: second time I hit tihs assert in resourcebase.cpp: Q_ASSERT_X(scheduler->currentTask().type == ResourceScheduler::SyncCollection, "createItemSyncInstance", "Calling items retrieval methods although no item retrieval is in progress"); not sure how to reproduce it yet, seems to happen sporadically and may or may not be related to lack of an internet connection The crash can be reproduced sometimes. -- Backtrace: Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f59dd903840 (LWP 2647))] Thread 6 (Thread 0x7f59dc068700 (LWP 2692)): #0 0x00007f59ea758e8d in poll () from /usr/lib/libc.so.6 #1 0x00007f59e7d869f2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f59e7d8856f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f59dd157ca9 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f59eb372a9e in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f59e7fd9354 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f59ea761bfd in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f59d9d69700 (LWP 2773)): #0 0x00007f59ea754f1d in read () from /usr/lib/libc.so.6 #1 0x00007f59e6764f60 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f59e672172c in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #3 0x00007f59e6721c20 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f59e6721d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f59eb5aa25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f59eb55126a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #7 0x00007f59eb36daf4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #8 0x00007f59eb372a9e in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f59e7fd9354 in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f59ea761bfd in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f59d9568700 (LWP 27665)): #0 0x00007f59e67663f9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f59e67217d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #2 0x00007f59e6721ce0 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f59e6721d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f59eb5aa25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f59eb55126a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f59eb36daf4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f59eb372a9e in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f59e7fd9354 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f59ea761bfd in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f59cb5aa700 (LWP 1651)): #0 0x00007f59e67212b1 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #1 0x00007f59e6721ba8 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f59e6721d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f59eb5aa25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f59eb55126a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f59eb36daf4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f59eb372a9e in ?? () from /usr/lib/libQt5Core.so.5 #7 0x00007f59e7fd9354 in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007f59ea761bfd in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f59ca148700 (LWP 9373)): #0 0x00007f59e7fded18 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f59eb373c66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5 #2 0x00007f59eb36f723 in ?? () from /usr/lib/libQt5Core.so.5 #3 0x00007f59eb372a9e in ?? () from /usr/lib/libQt5Core.so.5 #4 0x00007f59e7fd9354 in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f59ea761bfd in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f59dd903840 (LWP 2647)): [KCrash Handler] #6 0x00007f59ea6ad528 in raise () from /usr/lib/libc.so.6 #7 0x00007f59ea6ae93a in abort () from /usr/lib/libc.so.6 #8 0x00007f59eb360f31 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5 #9 0x00007f59eb35c101 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQt5Core.so.5 #10 0x00007f59eec8bae6 in Akonadi::ResourceBasePrivate::createItemSyncInstanceIfMissing (this=0x1f65c20) at /home/milian/projects/kf5/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:186 #11 0x00007f59eec8747a in Akonadi::ResourceBase::setItemStreamingEnabled (this=0x1f5beb0, enable=true) at /home/milian/projects/kf5/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:1257 #12 0x0000000000492406 in ImapResourceBase::retrieveItems (this=0x1f5beb0, col=...) at /home/milian/projects/kf5/src/kde/kdepim-runtime/resources/imap/imapresourcebase.cpp:437 #13 0x00007f59eec852d7 in Akonadi::ResourceBasePrivate::slotItemRetrievalCollectionFetchDone (this=0x1f65c20, job=0x1fd9df0) at /home/milian/projects/kf5/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:951 #14 0x00007f59eec89d34 in Akonadi::ResourceBase::qt_static_metacall (_o=0x1f5beb0, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0x7ffc6f9852c0) at /home/milian/projects/kf5/build/kde/kdepimlibs/akonadi/src/agentbase/moc_resourcebase.cpp:294 #15 0x00007f59eb581fea in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #16 0x00007f59ed51a13f in KJob::result (this=0x1fd9df0, _t1=0x1fd9df0) at /home/milian/projects/kf5/build/frameworks/kcoreaddons/src/lib/moc_kjob.cpp:552 #17 0x00007f59ed51958e in KJob::emitResult (this=0x1fd9df0) at /home/milian/projects/kf5/src/frameworks/kcoreaddons/src/lib/jobs/kjob.cpp:294 #18 0x00007f59eead525e in Akonadi::JobPrivate::delayedEmitResult (this=0x1ea2cf0) at /home/milian/projects/kf5/src/kde/kdepimlibs/akonadi/src/core/jobs/job.cpp:153 #19 0x00007f59eead6722 in Akonadi::Job::qt_static_metacall (_o=0x1fd9df0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x1fc4c00) at /home/milian/projects/kf5/build/kde/kdepimlibs/akonadi/src/core/moc_job.cpp:107 #20 0x00007f59eb582eb1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #21 0x00007f59ec74a00c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f59ec74f4e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #23 0x00007f59eb55389b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #24 0x00007f59eb555c96 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #25 0x00007f59eb5a9e33 in ?? () from /usr/lib/libQt5Core.so.5 #26 0x00007f59e67219fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0x00007f59e6721ce0 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x00007f59e6721d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0x00007f59eb5aa23f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #30 0x00007f59eb55126a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #31 0x00007f59eb55920c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #32 0x00007f59eec81c83 in Akonadi::ResourceBase::init (r=0x1f5beb0) at /home/milian/projects/kf5/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:599 #33 0x000000000046b49f in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0x7ffc6f985b18) at /home/milian/projects/compiled/kf5/include/KF5/AkonadiAgentBase/resourcebase.h:193 #34 0x000000000046b382 in main (argc=3, argv=0x7ffc6f985b18) at /home/milian/projects/kf5/src/kde/kdepim-runtime/resources/imap/main.cpp:22 Report to https://bugs.kde.org/ Reproducible: Sometimes
Hitting the same / a similar crash now, FWIW. KDEPim installed via Kubuntu 15.10 packages (Akonadi 5.0.51).
I believe this was related to the "Multiple MERGE candidates" bug which has been fixed in Applications/15.08 already and will ship in 15.08.2 (needs updated kdepimlibs and kdepim-runtime if you want to test from git, see https://bugs.kde.org/show_bug.cgi?id=338658#c39)