Bug 374514 - Crash on akonadictl stop
Summary: Crash on akonadictl stop
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-03 22:53 UTC by Friedrich W. H. Kossebau
Modified: 2020-10-13 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich W. H. Kossebau 2017-01-03 22:53:26 UTC
- What I was doing when the application crashed:
The filter agent started to do strange things, like moving any emails into wrong folders when selecting them in the KMail UI, but not handling incoming emails at all, with such errors in the mysql log:
[ERROR] mysqld: Deadlock found when trying to get lock; try restarting transaction

So I called "akonadictl stop" to make it stop, to start it again hoping for some clean-up on start, but on that akonadiserver crashed:

-- Backtrace:
Application: akonadiserver (akonadiserver), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f11e30788c0 (LWP 24255))]

Thread 22 (Thread 0x7f11bd61e700 (LWP 26708)):
#0  0x00007f11dfc1e4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b2b6 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f11c8055760) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f11c8055760) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f11c80555a0, mutex=mutex@entry=0x7f11c80035a0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f11e1986ae2 in QThreadPoolThread::run (this=0x7f11c8055590) at thread/qthreadpool.cpp:133
#5  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x7f11c8055590) at thread/qthread_unix.cpp:368
#6  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f113fff7700 (LWP 26707)):
#0  0x00007f11dfc1e4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b2b6 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f11c80552f0) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f11c80552f0) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f11c8055130, mutex=mutex@entry=0x7f11c80035a0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f11e1986ae2 in QThreadPoolThread::run (this=0x7f11c8055120) at thread/qthreadpool.cpp:133
#5  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x7f11c8055120) at thread/qthread_unix.cpp:368
#6  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f1142ffd700 (LWP 26706)):
#0  0x00007f11dfc1e4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b2b6 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f11c8054e20) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f11c8054e20) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f11c8044840, mutex=mutex@entry=0x7f11c80035a0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f11e1986ae2 in QThreadPoolThread::run (this=0x7f11c8044830) at thread/qthreadpool.cpp:133
#5  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x7f11c8044830) at thread/qthread_unix.cpp:368
#6  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f11407f8700 (LWP 26705)):
#0  0x00007f11dfc1e4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b2b6 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f11c8055bd0) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f11c8055bd0) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f11c8055a10, mutex=mutex@entry=0x7f11c80035a0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f11e1986ae2 in QThreadPoolThread::run (this=0x7f11c8055a00) at thread/qthreadpool.cpp:133
#5  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x7f11c8055a00) at thread/qthread_unix.cpp:368
#6  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f11427fc700 (LWP 26704)):
#0  0x00007f11dfc1e4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b2b6 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f11c8056040) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f11c8056040) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f11c8055e80, mutex=mutex@entry=0x7f11c80035a0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f11e1986ae2 in QThreadPoolThread::run (this=0x7f11c8055e70) at thread/qthreadpool.cpp:133
#5  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x7f11c8055e70) at thread/qthread_unix.cpp:368
#6  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f11bce1d700 (LWP 26665)):
#0  0x00007f11ddd45ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddd00996 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f1184002a20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11bce1cd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#4  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#5  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x27fc420) at thread/qthread_unix.cpp:368
#6  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f118effd700 (LWP 13882)):
#0  0x00007f11ddd45ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddd0082a in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f1180002a00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f118effcd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x2836f70) at thread/qthread_unix.cpp:368
#7  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f1141ffb700 (LWP 24385)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8) at ../../src/corelib/tools/qscopedpointer.h:141
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../src/corelib/global/qglobal.h:980
#8  QIODevice::d_func (this=0x0) at ../../src/corelib/io/qiodevice.h:178
#9  QIODevice::write (this=0x0, data=data@entry=0x7f1141ffa31c "\232\177", maxSize=maxSize@entry=1) at io/qiodevice.cpp:1596
#10 0x00007f11e2a69bc0 in Akonadi::Protocol::DataStream::operator<< <unsigned char> (this=0x7f1141ffa360, val=<optimized out>) at /usr/src/debug/akonadi-16.12.0/src/private/datastream_p_p.h:91
#11 0x00007f11e2a69eb8 in Akonadi::Protocol::CommandPrivate::serialize (stream=..., this=0x7f114c06f780) at /usr/src/debug/akonadi-16.12.0/src/private/protocol.cpp:266
#12 Akonadi::Protocol::ResponsePrivate::serialize (this=0x7f114c06f780, stream=...) at /usr/src/debug/akonadi-16.12.0/src/private/protocol.cpp:425
#13 0x00007f11e2a549b4 in Akonadi::Protocol::operator<< (command=..., stream=...) at /usr/src/debug/akonadi-16.12.0/src/private/protocol.cpp:383
#14 Akonadi::Protocol::serialize (device=<optimized out>, command=...) at /usr/src/debug/akonadi-16.12.0/src/private/protocol.cpp:636
#15 0x000000000042c6e3 in Akonadi::Server::Connection::sendResponse (this=0x286b530, tag=31, response=...) at /usr/src/debug/akonadi-16.12.0/src/server/connection.cpp:384
#16 0x000000000054d9de in Akonadi::Server::Handler::sendResponse<Akonadi::Protocol::MoveItemsResponse> (response=..., this=0x7f114c070530) at /usr/src/debug/akonadi-16.12.0/src/server/handler.h:152
#17 Akonadi::Server::Handler::successResponse<Akonadi::Protocol::MoveItemsResponse> (response=..., this=0x7f114c070530) at /usr/src/debug/akonadi-16.12.0/src/server/handler.h:144
#18 Akonadi::Server::Move::parseStream (this=0x7f114c070530) at /usr/src/debug/akonadi-16.12.0/src/server/handler/move.cpp:167
#19 0x000000000042df24 in Akonadi::Server::Connection::slotNewData (this=0x286b530) at /usr/src/debug/akonadi-16.12.0/src/server/connection.cpp:232
#20 0x00007f11e1b85a7e in QtPrivate::QSlotObjectBase::call (a=0x7f1141ffa8d0, r=0x286b530, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:101
#21 QMetaObject::activate (sender=0x7f114c01c880, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3723
#22 0x00007f11e1b85709 in QMetaObject::activate (sender=sender@entry=0x7f114c01c978, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3740
#23 0x00007f11e1b86027 in QMetaObject::activate (sender=sender@entry=0x7f114c01c978, m=m@entry=0x7f11e1f9dec0 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#24 0x00007f11e1bfba00 in QIODevice::readyRead (this=this@entry=0x7f114c01c978) at .moc/moc_qiodevice.cpp:184
#25 0x00007f11e2790265 in QAbstractSocketPrivate::emitReadyRead (this=this@entry=0x7f114c012400) at socket/qabstractsocket.cpp:1303
#26 0x00007f11e279031c in QAbstractSocketPrivate::canReadNotification (this=0x7f114c012400) at socket/qabstractsocket.cpp:724
#27 0x00007f11e279b121 in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1209
#28 0x00007f11e1b59aeb in doNotify (event=0x7f1141ffaae0, receiver=0x7f114c0125e0) at kernel/qcoreapplication.cpp:1063
#29 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1049
#30 QCoreApplication::notifyInternal2 (receiver=0x7f114c0125e0, event=event@entry=0x7f1141ffaae0) at kernel/qcoreapplication.cpp:988
#31 0x00007f11e1bae61d in QCoreApplication::sendEvent (event=0x7f1141ffaae0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#32 socketNotifierSourceDispatch (source=0x7f114c011340) at kernel/qeventdispatcher_glib.cpp:106
#33 0x00007f11ddd00677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f11ddd008e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f11e1bae16f in QEventDispatcherGlib::processEvents (this=0x7f114c0108e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f1141ffad00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#38 0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#39 0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x286a730) at thread/qthread_unix.cpp:368
#40 0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#41 0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f11b5ffb700 (LWP 24294)):
#0  0x00007f11ddcfd88e in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddcffe33 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0079b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11b5ffad00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x284bfc0) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f11b67fc700 (LWP 24293)):
#0  0x00007f11ddd45ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddd00079 in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd007e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f119c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11b67fbd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x284b630) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f11b6ffd700 (LWP 24292)):
#0  0x00007f11ddd45ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddcffd6c in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0079b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11b6ffcd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x2847c90) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f11b77fe700 (LWP 24291)):
#0  0x00007f11ddd45ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddcffe50 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0079b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11b77fdd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x28477a0) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f11b7fff700 (LWP 24290)):
#0  0x00007f11e1989333 in QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:243
#1  0x00007f11e1bad8da in postEventSourcePrepare (s=0x7f11a00012d0, timeout=0x7f11b7ffeb34) at kernel/qeventdispatcher_glib.cpp:252
#2  0x00007f11ddcffd79 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0079b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11b7ffed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x28444d0) at thread/qthread_unix.cpp:368
#9  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f11c6ffd700 (LWP 24265)):
#0  0x00007f11ddcfd86f in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddd001a4 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd00814 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11c6ffcd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x28168f0) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f11c77fe700 (LWP 24264)):
#0  0x00007f11dfc1e10f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b37b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x2816460) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x2815f78, mutex=mutex@entry=0x2815f80, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x000000000043ff3e in Akonadi::Server::SearchTaskManager::searchLoop (this=0x2815f50) at /usr/src/debug/akonadi-16.12.0/src/server/search/searchtaskmanager.cpp:222
#4  0x00007f11e1b91e26 in QtPrivate::QSlotObjectBase::call (a=0x7f11c77fd990, r=<optimized out>, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:101
#5  QSingleShotTimer::timerEvent (this=0x27d2aa0) at kernel/qtimer.cpp:317
#6  0x00007f11e1b86573 in QObject::event (this=0x27d2aa0, e=<optimized out>) at kernel/qobject.cpp:1285
#7  0x00007f11e1b59aeb in doNotify (event=0x7f11c77fdab0, receiver=0x27d2aa0) at kernel/qcoreapplication.cpp:1063
#8  QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1049
#9  QCoreApplication::notifyInternal2 (receiver=0x27d2aa0, event=event@entry=0x7f11c77fdab0) at kernel/qcoreapplication.cpp:988
#10 0x00007f11e1bad10e in QCoreApplication::sendEvent (event=0x7f11c77fdab0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#11 QTimerInfoList::activateTimers (this=0x7f11a80030d0) at kernel/qtimerinfo_unix.cpp:644
#12 0x00007f11e1bad631 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#13 0x00007f11ddd00677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f11ddd008e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f11e1bae16f in QEventDispatcherGlib::processEvents (this=0x7f11a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#17 0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11c77fdd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#18 0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#19 0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x2816030) at thread/qthread_unix.cpp:368
#20 0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f11bffff700 (LWP 24263)):
#0  0x00007f11ddd45ec4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddd0078e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11bfffed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x28277f0) at thread/qthread_unix.cpp:368
#7  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f11c7fff700 (LWP 24262)):
#0  0x00007f11ddd45ea9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddd003f6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd008e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11c7ffed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x28272d0) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f11d4f64700 (LWP 24261)):
#0  0x00007f11e107766d in poll () from /lib64/libc.so.6
#1  0x00007f11ddd00876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11d4f63d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x27f4190) at thread/qthread_unix.cpp:368
#7  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f11d5765700 (LWP 24260)):
#0  0x00007f11e1073705 in read () from /lib64/libc.so.6
#1  0x00007f11ddd44b00 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd00325 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd00814 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11d5764d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x27f3a10) at thread/qthread_unix.cpp:368
#9  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f11d5f66700 (LWP 24259)):
#0  0x00007f11ddcfd8ad in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11ddcffe33 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0079b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11d5f65d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x27d7530) at thread/qthread_unix.cpp:368
#8  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f11d6f4b700 (LWP 24256)):
#0  0x00007f11e1bad72a in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:166
#1  0x00007f11ddcffd79 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11ddd0079b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11e1bae18b in QEventDispatcherGlib::processEvents (this=0x7f11d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7f11d6f4acd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f11e1985813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f11e21fd385 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f11e198a4c8 in QThreadPrivate::start (arg=0x7f11e246ed20) at thread/qthread_unix.cpp:368
#9  0x00007f11dfc18454 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f11e108037f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f11e30788c0 (LWP 24255)):
#0  0x00007f11dfc1e4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f11e198b2b6 in QWaitConditionPrivate::wait_relative (time=10000, this=0x286b460) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=10000, this=0x286b460) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x286b440, mutex=mutex@entry=0x286b420, time=time@entry=10000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f11e198a06e in QThread::wait (this=<optimized out>, time=time@entry=10000) at thread/qthread_unix.cpp:698
#5  0x0000000000526c7f in Akonadi::Server::AkThread::quitThread (this=this@entry=0x286b530) at /usr/src/debug/akonadi-16.12.0/src/server/akthread.cpp:62
#6  0x000000000042d30c in Akonadi::Server::Connection::~Connection (this=0x286b530, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-16.12.0/src/server/connection.cpp:149
#7  0x000000000042d459 in Akonadi::Server::Connection::~Connection (this=0x286b530, __in_chrg=<optimized out>) at /usr/src/debug/akonadi-16.12.0/src/server/connection.cpp:154
#8  0x0000000000428944 in Akonadi::Server::AkonadiServer::connectionDisconnected (this=0x27d1740) at /usr/src/debug/akonadi-16.12.0/src/server/akonadi.cpp:361
#9  0x00007f11e1b865b9 in QObject::event (this=0x27d1740, e=<optimized out>) at kernel/qobject.cpp:1263
#10 0x00007f11e1b59aeb in doNotify (event=0x7f114c004fb0, receiver=0x27d1740) at kernel/qcoreapplication.cpp:1063
#11 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1049
#12 QCoreApplication::notifyInternal2 (receiver=0x27d1740, event=event@entry=0x7f114c004fb0) at kernel/qcoreapplication.cpp:988
#13 0x00007f11e1b5c28d in QCoreApplication::sendEvent (event=0x7f114c004fb0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x27be670) at kernel/qcoreapplication.cpp:1649
#15 0x00007f11e1b5c6f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#16 0x00007f11e1badd63 in postEventSourceDispatch (s=0x27c4740) at kernel/qeventdispatcher_glib.cpp:276
#17 0x00007f11ddd00677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f11ddd008e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f11ddd0098c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f11e1bae16f in QEventDispatcherGlib::processEvents (this=0x27c5eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007f11e1b57aea in QEventLoop::exec (this=this@entry=0x7ffc0f13acb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#22 0x00007f11e1b6025c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#23 0x0000000000583af5 in AkApplicationBase::exec (this=this@entry=0x7ffc0f13add0) at /usr/src/debug/akonadi-16.12.0/src/shared/akapplication.cpp:125
#24 0x0000000000425e0f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-16.12.0/src/server/main.cpp:70
Comment 1 Daniel Vrátil 2017-01-06 21:44:21 UTC
This crash hopefully should be fixed in upcoming 5.4.1 release (KDE Applications 16.12.1). Lets retest once it's released.


The transaction deadlocks are a known problem. We have some handling for that, but it does not work 100%.
Comment 2 Ahmad Samir 2020-09-13 16:53:42 UTC
Is this still valid?
Comment 3 Bug Janitor Service 2020-09-28 04:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-10-13 04:33:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!