[Akonadi] [Bug 422092] Akonadi Server crashing while syncing GMail

Stephan Diestelhorst bugzilla_noreply at kde.org
Tue May 26 18:26:28 BST 2020


https://bugs.kde.org/show_bug.cgi?id=422092

--- Comment #4 from Stephan Diestelhorst <stephan.diestelhorst at gmail.com> ---
On some more cursory looking, the second crash is slightly different than the
first, but they both seem to originate from
Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (lines 176 and
182).

First:
Thread 5 (Thread 0x7f2c0954b700 (LWP 6087)):
[KCrash Handler]
#4  0x00007f2c1d545d1c in std::__atomic_base<int>::load
(__m=std::memory_order_relaxed, this=0x0) at
/usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x0) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#7  QtPrivate::RefCount::deref (this=0x0) at
../../include/QtCore/../../src/corelib/tools/qrefcount.h:66
#8  QString::operator= (this=this at entry=0x7f2bc40e0418, other=...) at
text/qstring.cpp:2398
#9  0x000055c813140555 in
Akonadi::Server::ItemRetrievalManager::retrievalJobFinished
(this=0x55c813aa7000, request=0x7f2bc40e0400, errorMsg=...) at
./src/server/storage/-|itemretrievalmanager.cpp:176
#10 0x00007f2c1d6e96d7 in QtPrivate::QSlotObjectBase::call (a=0x7f2c0954a810,
r=0x55c813aa7000, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/   -|qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x7f2c0000a340, signal_index=3,
argv=0x7f2c0954a810) at kernel/qobject.cpp:3870
#12 0x00007f2c1d6e3f92 in QMetaObject::activate
(sender=sender at entry=0x7f2c0000a340, m=m at entry=0x55c81342f800
<Akonadi::Server::AbstractItemRetrievalJob::               
-|staticMetaObject>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7f2c0954a810) at kernel/qobject.cpp:3930
#13 0x000055c813190274 in
Akonadi::Server::AbstractItemRetrievalJob::requestCompleted
(this=this at entry=0x7f2c0000a340, _t1=<optimized out>, _t2=...) at ./obj-x86_64-
   
-|linux-gnu/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:136
#14 0x000055c813143ace in Akonadi::Server::ItemRetrievalJob::callFinished
(this=0x7f2c0000a340, watcher=<optimized out>) at
./src/server/storage/itemretrievaljob.cpp:76
#15 0x00007f2c1d6e96d7 in QtPrivate::QSlotObjectBase::call (a=0x7f2c0954a9e0,
r=0x7f2c0000a340, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/   -|qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x7f2bdc0adb70, signal_index=3,
argv=0x7f2c0954a9e0) at kernel/qobject.cpp:3870
#17 0x00007f2c1d6e3f92 in QMetaObject::activate (sender=<optimized out>,
m=m at entry=0x7f2c1e04e5e0 <QDBusPendingCallWatcher::staticMetaObject>,          
                 -|local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7f2c0954a9e0) at kernel/qobject.cpp:3930
#18 0x00007f2c1de30ecf in QDBusPendingCallWatcher::finished (this=<optimized
out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#19 0x00007f2c1d6e157b in QObject::event (this=0x7f2bdc0adb70,
e=0x7f2c10002580) at kernel/qobject.cpp:1339
#20 0x00007f2c1d6ae491 in doNotify (event=0x7f2c10002580,
receiver=0x7f2bdc0adb70) at kernel/qcoreapplication.cpp:1165
#21 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>,
this=<optimized out>) at kernel/qcoreapplication.cpp:1151
#22 QCoreApplication::notifyInternal2 (receiver=0x7f2bdc0adb70,
event=0x7f2c10002580) at kernel/qcoreapplication.cpp:1075
#23 0x00007f2c1d6ae67e in QCoreApplication::sendEvent
(receiver=receiver at entry=0x7f2bdc0adb70, event=event at entry=0x7f2c10002580) at
kernel/qcoreapplication.cpp:1470
#24 0x00007f2c1d6b1121 in QCoreApplicationPrivate::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0,
data=0x55c813aff900) at kernel/          -|qcoreapplication.cpp:1815
#25 0x00007f2c1d6b16b8 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1674
#26 0x00007f2c1d70e103 in postEventSourceDispatch (s=0x7f2c00004b90) at
kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f2c19982417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f2c19982650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2c199826dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2c1d70d7ac in QEventDispatcherGlib::processEvents
(this=0x7f2c00000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f2c1d6acd2a in QEventLoop::exec (this=this at entry=0x7f2c0954ada0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#32 0x00007f2c1d4bd757 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:536
#33 0x00007f2c1d4bec2c in QThreadPrivate::start (arg=0x55c813a86be0) at
thread/qthread_unix.cpp:342
#34 0x00007f2c1b5c56db in start_thread (arg=0x7f2c0954b700) at
pthread_create.c:463
#35 0x00007f2c1cb5088f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Second:
Thread 5 (Thread 0x7fc7b234c700 (LWP 19533)):
[KCrash Handler]
#4  QListData::size (this=0x7fc77c148d80) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:115
#5  QList<long long>::operator== (l=..., this=0x7fc77c148d80) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:874
#6  Akonadi::Server::ItemRetrievalManager::retrievalJobFinished
(this=0x5598b86df040, request=0x7fc77c090be0, errorMsg=...) at
./src/server/storage/itemretrievalmanager. -|cpp:182
#7  0x00007fc7c64c46d7 in QtPrivate::QSlotObjectBase::call (a=0x7fc7b234b7f0,
r=0x5598b86df040, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/   -|qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x7fc7b801be10, signal_index=3,
argv=0x7fc7b234b7f0) at kernel/qobject.cpp:3870
#9  0x00007fc7c64bef92 in QMetaObject::activate
(sender=sender at entry=0x7fc7b801be10, m=m at entry=0x5598b776c800
<Akonadi::Server::AbstractItemRetrievalJob::               
-|staticMetaObject>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7fc7b234b7f0) at kernel/qobject.cpp:3930
#10 0x00005598b74cd274 in
Akonadi::Server::AbstractItemRetrievalJob::requestCompleted
(this=this at entry=0x7fc7b801be10, _t1=<optimized out>, _t1 at entry=0x7fc77c090be0,
    -|_t2=...) at
./obj-x86_64-linux-gnu/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:136
#11 0x00005598b7481735 in Akonadi::Server::ItemRetrievalJob::start
(this=0x7fc7b801be10) at ./src/server/storage/itemretrievaljob.cpp:57
#12 0x00005598b747ef18 in Akonadi::Server::ItemRetrievalManager::processRequest
(this=<optimized out>) at ./src/server/storage/itemretrievalmanager.cpp:164
#13 0x00007fc7c64bc57b in QObject::event (this=0x5598b86df040,
e=0x7fc77c02e800) at kernel/qobject.cpp:1339
#14 0x00007fc7c6489491 in doNotify (event=0x7fc77c02e800,
receiver=0x5598b86df040) at kernel/qcoreapplication.cpp:1165
#15 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>,
this=<optimized out>) at kernel/qcoreapplication.cpp:1151
#16 QCoreApplication::notifyInternal2 (receiver=0x5598b86df040,
event=0x7fc77c02e800) at kernel/qcoreapplication.cpp:1075
#17 0x00007fc7c648967e in QCoreApplication::sendEvent
(receiver=receiver at entry=0x5598b86df040, event=event at entry=0x7fc77c02e800) at
kernel/qcoreapplication.cpp:1470
#18 0x00007fc7c648c121 in QCoreApplicationPrivate::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0,
data=0x5598b872dd50) at kernel/          -|qcoreapplication.cpp:1815
#19 0x00007fc7c648c6b8 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1674
#20 0x00007fc7c64e9103 in postEventSourceDispatch (s=0x7fc7a8004b90) at
kernel/qeventdispatcher_glib.cpp:277
#21 0x00007fc7c275d417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fc7c275d650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fc7c275d6dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fc7c64e87ac in QEventDispatcherGlib::processEvents
(this=0x7fc7a8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007fc7c6487d2a in QEventLoop::exec (this=this at entry=0x7fc7b234bda0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:225
#26 0x00007fc7c6298757 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:536
#27 0x00007fc7c6299c2c in QThreadPrivate::start (arg=0x5598b86b7880) at
thread/qthread_unix.cpp:342
#28 0x00007fc7c43a06db in start_thread (arg=0x7fc7b234c700) at
pthread_create.c:463
#29 0x00007fc7c592b88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list