https://bugs.kde.org/show_bug.cgi?id=354472
Bug ID: 354472 Summary: Kolab resource crashed in Akonadi::ResourceBasePrivate::slotAttributeRetrievalCo llectionFetchDone Product: Akonadi Version: GIT (master) Platform: Other OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: Kolab Resource Assignee: kdepim-bugs@kde.org Reporter: alex.me...@kde.org CC: kdepim-bugs@kde.org The kolab resource crashed in the background while I wasn't doing anything (I wasn't even near the computer). It looks like a Akonadi::CollectionFetchJob ran and didn't manage to get any collections (for whatever reason). Reproducible: Didn't try FWIW, GDB dump of the job's private class (lots of empty QVectors): (gdb) print *(Akonadi::CollectionFetchJobPrivate*)(fetchJob->d_ptr) $6 = {<Akonadi::JobPrivate> = {_vptr.JobPrivate = 0x7f02598fcae8 <vtable for Akonadi::CollectionFetchJobPrivate+16>, q_ptr = 0x1a5e8f0, mParentJob = 0x0, mCurrentSubJob = 0x0, mTag = 6361, mSession = 0x18da8c0, mWriteFinished = false, mStarted = true}, mType = Akonadi::CollectionFetchJob::Base, mBase = {d_ptr = {d = 0x18914d0}}, mBaseList = { d = 0x7f0250b4e160 <QArrayData::shared_null>}, mCollections = {d = 0x7f0250b4e160 <QArrayData::shared_null>}, mScope = {d = {d = 0x19e8f00}}, mPendingCollections = { d = 0x7f0250b4e160 <QArrayData::shared_null>}, mEmitTimer = 0x1a4ae80, mBasePrefetch = false, mPrefetchList = {d = 0x7f0250b4e160 <QArrayData::shared_null>}} Application: akonadi_kolab_resource (akonadi_kolab_resource), signal: Aborted Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f0240a23840 (LWP 16259))] Thread 8 (Thread 0x7f023de31700 (LWP 16299)): #0 0x00007f024fc2e18d in poll () from /usr/lib/libc.so.6 #1 0x00007f024a6efae2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f024a6f1757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f02407501e1 in QXcbEventReader::run (this=0x1884840) at qxcbconnection.cpp:1229 #4 0x00007f0250842065 in QThreadPrivate::start (arg=0x1884840) at thread/qthread_unix.cpp:331 #5 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 7 (Thread 0x7f023cb34700 (LWP 16347)): #0 0x00007f0249d785f9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f0249d339fc in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #2 0x00007f0249d33f60 in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f0250ae14be in QEventDispatcherGlib::processEvents (this=0x7f02300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #5 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7f023cb33d20, flags=...) at kernel/qeventloop.cpp:128 #6 0x00007f0250a6813e in QEventLoop::exec (this=0x7f023cb33d20, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f025083a814 in QThread::exec (this=0x191af90) at thread/qthread.cpp:503 #8 0x00007f025083a9b6 in QThread::run (this=0x191af90) at thread/qthread.cpp:570 #9 0x00007f0250842065 in QThreadPrivate::start (arg=0x191af90) at thread/qthread_unix.cpp:331 #10 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 6 (Thread 0x7f0237fff700 (LWP 16350)): #0 0x00007f0250ae0c13 in postEventSourcePrepare (s=0x7f022c0012d0, timeout=0x7f0237ffeae4) at kernel/qeventdispatcher_glib.cpp:254 #1 0x00007f0249d3354d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f0249d33eeb in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f0250ae14be in QEventDispatcherGlib::processEvents (this=0x7f022c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #5 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7f0237ffed20, flags=...) at kernel/qeventloop.cpp:128 #6 0x00007f0250a6813e in QEventLoop::exec (this=0x7f0237ffed20, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f025083a814 in QThread::exec (this=0x190e250) at thread/qthread.cpp:503 #8 0x00007f025083a9b6 in QThread::run (this=0x190e250) at thread/qthread.cpp:570 #9 0x00007f0250842065 in QThreadPrivate::start (arg=0x190e250) at thread/qthread_unix.cpp:331 #10 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #11 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f0236dee700 (LWP 16404)): #0 0x00007ffc4d9dd929 in ?? () #1 0x00007ffc4d9ddc55 in clock_gettime () #2 0x00007f024fc43d36 in clock_gettime () from /usr/lib/libc.so.6 #3 0x00007f025093cae2 in qt_clock_gettime (clock=1, ts=0x7f0236ded960) at tools/qelapsedtimer_unix.cpp:105 #4 0x00007f025093cb90 in do_gettime (sec=0x7f0236ded998, frac=0x7f0236ded990) at tools/qelapsedtimer_unix.cpp:156 #5 0x00007f025093cbc4 in qt_gettime () at tools/qelapsedtimer_unix.cpp:165 #6 0x00007f0250ade63a in QTimerInfoList::updateCurrentTime (this=0x7f0224002ed0) at kernel/qtimerinfo_unix.cpp:84 #7 0x00007f0250adeeaf in QTimerInfoList::timerWait (this=0x7f0224002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381 #8 0x00007f0250ae088f in timerSourcePrepareHelper (src=0x7f0224002e70, timeout=0x7f0236dedae4) at kernel/qeventdispatcher_glib.cpp:127 #9 0x00007f0250ae0a37 in timerSourcePrepare (source=0x7f0224002e70, timeout=0x7f0236dedae4) at kernel/qeventdispatcher_glib.cpp:160 #10 0x00007f0249d3354d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #11 0x00007f0249d33eeb in ?? () from /usr/lib/libglib-2.0.so.0 #12 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #13 0x00007f0250ae14be in QEventDispatcherGlib::processEvents (this=0x7f02240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #14 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7f0236dedd20, flags=...) at kernel/qeventloop.cpp:128 #15 0x00007f0250a6813e in QEventLoop::exec (this=0x7f0236dedd20, flags=...) at kernel/qeventloop.cpp:204 #16 0x00007f025083a814 in QThread::exec (this=0x19a0810) at thread/qthread.cpp:503 #17 0x00007f025083a9b6 in QThread::run (this=0x19a0810) at thread/qthread.cpp:570 #18 0x00007f0250842065 in QThreadPrivate::start (arg=0x19a0810) at thread/qthread_unix.cpp:331 #19 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #20 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f0223bec700 (LWP 16420)): #0 0x00007f024fc2a16d in read () from /usr/lib/libc.so.6 #1 0x00007f0249d77270 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f0249d33aa4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0249d33f60 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f0250ae14be in QEventDispatcherGlib::processEvents (this=0x7f02180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #6 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7f0223bebd20, flags=...) at kernel/qeventloop.cpp:128 #7 0x00007f0250a6813e in QEventLoop::exec (this=0x7f0223bebd20, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f025083a814 in QThread::exec (this=0x19ecc90) at thread/qthread.cpp:503 #9 0x00007f025083a9b6 in QThread::run (this=0x19ecc90) at thread/qthread.cpp:570 #10 0x00007f0250842065 in QThreadPrivate::start (arg=0x19ecc90) at thread/qthread_unix.cpp:331 #11 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #12 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f0235dec700 (LWP 19144)): #0 0x00007f0250ae0860 in timerSourcePrepareHelper (src=0x7f021c0048c0, timeout=0x7f0235debae4) at kernel/qeventdispatcher_glib.cpp:127 #1 0x00007f0250ae0a37 in timerSourcePrepare (source=0x7f021c0048c0, timeout=0x7f0235debae4) at kernel/qeventdispatcher_glib.cpp:160 #2 0x00007f0249d3354d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #3 0x00007f0249d33eeb in ?? () from /usr/lib/libglib-2.0.so.0 #4 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0x00007f0250ae14be in QEventDispatcherGlib::processEvents (this=0x7f021c0030f0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #6 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7f0235debd20, flags=...) at kernel/qeventloop.cpp:128 #7 0x00007f0250a6813e in QEventLoop::exec (this=0x7f0235debd20, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f025083a814 in QThread::exec (this=0x1a21870) at thread/qthread.cpp:503 #9 0x00007f025083a9b6 in QThread::run (this=0x1a21870) at thread/qthread.cpp:570 #10 0x00007f0250842065 in QThreadPrivate::start (arg=0x1a21870) at thread/qthread_unix.cpp:331 #11 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #12 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f02229d7700 (LWP 19163)): #0 0x00007f0250810ee0 in QListData::begin (this=0x7f0214002cd0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:108 #1 0x00007f0250adfb8a in QList<QTimerInfo*>::constBegin (this=0x7f0214002cd0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:302 #2 0x00007f0250adeede in QTimerInfoList::timerWait (this=0x7f0214002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:386 #3 0x00007f0250ae088f in timerSourcePrepareHelper (src=0x7f0214002c70, timeout=0x7f02229d6ae4) at kernel/qeventdispatcher_glib.cpp:127 #4 0x00007f0250ae0a37 in timerSourcePrepare (source=0x7f0214002c70, timeout=0x7f02229d6ae4) at kernel/qeventdispatcher_glib.cpp:160 #5 0x00007f0249d3354d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #6 0x00007f0249d33eeb in ?? () from /usr/lib/libglib-2.0.so.0 #7 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #8 0x00007f0250ae14be in QEventDispatcherGlib::processEvents (this=0x7f02140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #9 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7f02229d6d20, flags=...) at kernel/qeventloop.cpp:128 #10 0x00007f0250a6813e in QEventLoop::exec (this=0x7f02229d6d20, flags=...) at kernel/qeventloop.cpp:204 #11 0x00007f025083a814 in QThread::exec (this=0x1894a20) at thread/qthread.cpp:503 #12 0x00007f025083a9b6 in QThread::run (this=0x1894a20) at thread/qthread.cpp:570 #13 0x00007f0250842065 in QThreadPrivate::start (arg=0x1894a20) at thread/qthread_unix.cpp:331 #14 0x00007f024ef4c4a4 in start_thread () from /usr/lib/libpthread.so.0 #15 0x00007f024fc3713d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f0240a23840 (LWP 16259)): [KCrash Handler] #6 0x00007f024fb815f8 in raise () from /usr/lib/libc.so.6 #7 0x00007f024fb82a7a in abort () from /usr/lib/libc.so.6 #8 0x00007f025082e291 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1578 #9 0x00007f025082a95c in QMessageLogger::fatal (this=0x7ffc4d9bb450, msg=0x7f0250b4acd8 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:781 #10 0x00007f0250823bf3 in qt_assert_x (where=0x7f025995b3be "QVector<T>::at", what=0x7f025995b3ab "index out of range", file=0x7f025995b370 "/home/kde-devel/src/qt5/qtbase/src/corelib/tools/qvector.h", line=393) at global/qglobal.cpp:2974 #11 0x00007f025993380f in QVector<Akonadi::Collection>::at (this=0x7ffc4d9bb5c0, i=0) at /home/kde-devel/src/qt5/qtbase/src/corelib/tools/qvector.h:393 #12 0x00007f025994187b in Akonadi::ResourceBasePrivate::slotAttributeRetrievalCollectionFetchDone (this=0x18df510, job=0x1a5e8f0) at /home/kde-devel/src/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:988 #13 0x00007f0259945383 in Akonadi::ResourceBase::qt_static_metacall (_o=0x18dfdc0, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0x7ffc4d9bb7f0) at /home/kde-devel/build/kdepimlibs/akonadi/src/agentbase/moc_resourcebase.cpp:296 #14 0x00007f0250aa9cb5 in QMetaObject::activate (sender=0x1a5e8f0, signalOffset=3, local_signal_index=3, argv=0x7ffc4d9bb7f0) at kernel/qobject.cpp:3713 #15 0x00007f0250aa94c0 in QMetaObject::activate (sender=0x1a5e8f0, m=0x7f0251929b00 <KJob::staticMetaObject>, local_signal_index=3, argv=0x7ffc4d9bb7f0) at kernel/qobject.cpp:3578 #16 0x00007f02516c5a0d in KJob::result (this=0x1a5e8f0, _t1=0x1a5e8f0) at /home/kde-devel/build/kcoreaddons/src/lib/moc_kjob.cpp:555 #17 0x00007f02516c4463 in KJob::emitResult (this=0x1a5e8f0) at /home/kde-devel/src/kcoreaddons/src/lib/jobs/kjob.cpp:294 #18 0x00007f02595c2a71 in Akonadi::JobPrivate::delayedEmitResult (this=0x1a47d50) at /home/kde-devel/src/kdepimlibs/akonadi/src/core/jobs/job.cpp:153 #19 0x00007f02595c3b39 in Akonadi::Job::qt_static_metacall (_o=0x1a5e8f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x1a40fa0) at /home/kde-devel/build/kdepimlibs/akonadi/src/core/moc_job.cpp:108 #20 0x00007f0250aa21b7 in QMetaCallEvent::placeMetaCall (this=0x19eff30, object=0x1a5e8f0) at kernel/qobject.cpp:486 #21 0x00007f0250aa3232 in QObject::event (this=0x1a5e8f0, e=0x19eff30) at kernel/qobject.cpp:1239 #22 0x00007f025261d616 in QApplicationPrivate::notify_helper (this=0x186b4b0, receiver=0x1a5e8f0, e=0x19eff30) at kernel/qapplication.cpp:3716 #23 0x00007f025261ad75 in QApplication::notify (this=0x7ffc4d9bc670, receiver=0x1a5e8f0, e=0x19eff30) at kernel/qapplication.cpp:3160 #24 0x00007f0250a6b2a8 in QCoreApplication::notifyInternal (this=0x7ffc4d9bc670, receiver=0x1a5e8f0, event=0x19eff30) at kernel/qcoreapplication.cpp:965 #25 0x00007f0250a6efe1 in QCoreApplication::sendEvent (receiver=0x1a5e8f0, event=0x19eff30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224 #26 0x00007f0250a6c624 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1844350) at kernel/qcoreapplication.cpp:1593 #27 0x00007f0250a6bfa4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1451 #28 0x00007f0250ae0cd2 in postEventSourceDispatch (s=0x18a8bc0) at kernel/qeventdispatcher_glib.cpp:271 #29 0x00007f0249d33dc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #30 0x00007f0249d34020 in ?? () from /usr/lib/libglib-2.0.so.0 #31 0x00007f0249d340cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #32 0x00007f0250ae148f in QEventDispatcherGlib::processEvents (this=0x18b4bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #33 0x00007f0240796fb8 in QPAEventDispatcherGlib::processEvents (this=0x18b4bf0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115 #34 0x00007f0250a67e42 in QEventLoop::processEvents (this=0x7ffc4d9bc570, flags=...) at kernel/qeventloop.cpp:128 #35 0x00007f0250a6813e in QEventLoop::exec (this=0x7ffc4d9bc570, flags=...) at kernel/qeventloop.cpp:204 #36 0x00007f0250a6b986 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #37 0x00007f0251eb1490 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527 #38 0x00007f025261a74f in QApplication::exec () at kernel/qapplication.cpp:2976 #39 0x00007f025993e910 in Akonadi::ResourceBase::init (r=0x18dfdc0) at /home/kde-devel/src/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:606 #40 0x00000000004d5a0e in Akonadi::ResourceBase::init<KolabResource> (argc=3, argv=0x7ffc4d9bc7a8) at /home/kde-devel/kf5/include/KF5/AkonadiAgentBase/resourcebase.h:196 #41 0x00000000004d461e in main (argc=3, argv=0x7ffc4d9bc7a8) at /home/kde-devel/src/kdepim-runtime/resources/kolab/kolabresource.cpp:234 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs