Bug 418595 - Akonadi IMAP resource crashed after it lost connection and I tried to restart it
Summary: Akonadi IMAP resource crashed after it lost connection and I tried to restart it
Status: RESOLVED DUPLICATE of bug 418844
Alias: None
Product: Akonadi
Classification: Unclassified
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-03-07 21:04 UTC by Dennis Schridde
Modified: 2020-08-28 18:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2020-03-07 21:04:06 UTC
Application: akonadi_imap_resource (5.13.3 (19.12.3))

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.8 x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
- What I was doing when the application crashed:

I set up a new Akonadi IMAP resource (for a server that I had previously set up, but I had to delete the Akonadi IMAP resource for it, because it stopped synchronising), after synchronising a few folders the resource put out a lot of messages of not being able to create connections to the server and then stopped doing anything. I tried to restart it, after which it still said "Unable to connect to the IMAP server". I tried to restart it again, and it crashed.

-- Backtrace:
Application: Kynes (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f83d0b28d80 (LWP 266490))]

Thread 24 (Thread 0x7f8363f7d700 (LWP 273498)):
#0  0x00007f83e2a4cd7d in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83e38eb205 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7f83640109a0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f83640109a0) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x7f8364010b88, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f83e38eb307 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x7f8364011a80, mutex=mutex@entry=0x7f8364010b88, time=<optimized out>) at thread/qwaitcondition_unix.cpp:209
#5  0x00007f83e38e915b in QThreadPoolThread::run() (this=0x7f8364011a70) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#6  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x7f8364011a70) at thread/qthread_unix.cpp:342
#7  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#8  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 23 (Thread 0x7f83c0ed6700 (LWP 273497)):
#0  0x00007f83e1befb04 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f83e1ba107b in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f83e1ba1a53 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f83e1ba1c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f83e3af189b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f836406e810, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f83e3a9a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f83c0ed5820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f83e38e4c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x564e8a81a920) at thread/qthread_unix.cpp:342
#8  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#9  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 22 (Thread 0x7f83a97fa700 (LWP 267813)):
#0  0x00007f83e1befad9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f83e1ba1095 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f83e1ba1a53 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f83e1ba1c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f83e3af189b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8368002e90, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f83e3a9a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f83a97f9820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f83e38e4c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x564e8abd57d0) at thread/qthread_unix.cpp:342
#8  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#9  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 21 (Thread 0x7f83c16f4700 (LWP 266819)):
#0  0x00007f83e34990db in poll () at /usr/lib64/libc.so.6
#1  0x00007f83e1ba1b2e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f83e1ba1c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f83e3af189b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8370000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f83e3a9a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f83c16f3820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f83e38e4c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x564e8a852d80) at thread/qthread_unix.cpp:342
#7  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#8  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 20 (Thread 0x7f83c2905700 (LWP 266801)):
#0  0x00007f83e34990db in poll () at /usr/lib64/libc.so.6
#1  0x00007f83e1ba1b2e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f83e1ba1c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f83e3af189b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f836c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f83e3a9a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f83c2904820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f83e38e4c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x564e8a809f60) at thread/qthread_unix.cpp:342
#7  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#8  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 19 (Thread 0x7f83c3106700 (LWP 266799)):
#0  0x00007f83e34990db in poll () at /usr/lib64/libc.so.6
#1  0x00007f83e1ba1b2e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f83e1ba1c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f83e3af189b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f8378000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f83e3a9a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f83c31057f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f83e38e4c8e in QThread::exec() (this=this@entry=0x7f83e4d04de0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f83e4c7f0a7 in QDBusConnectionManager::run() (this=0x7f83e4d04de0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x7f83e4d04de0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#9  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 18 (Thread 0x7f83c3b8e700 (LWP 266783)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a7a63a8, cond=0x564e8a7a63d0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a72c940) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 17 (Thread 0x7f83a9ffb700 (LWP 266708)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cfe58, cond=0x564e8a6cfe80) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6db990) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 16 (Thread 0x7f83aa7fc700 (LWP 266702)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cfe58, cond=0x564e8a6cfe80) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6db6a0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 15 (Thread 0x7f83aaffd700 (LWP 266697)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cfe58, cond=0x564e8a6cfe80) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6db3b0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 14 (Thread 0x7f83ab7fe700 (LWP 266693)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cfe58, cond=0x564e8a6cfe80) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6db0c0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 13 (Thread 0x7f83abfff700 (LWP 266689)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cf750, cond=0x564e8a6cf778) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6da390) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 12 (Thread 0x7f83b8b88700 (LWP 266683)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cf750, cond=0x564e8a6cf778) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d05b0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 11 (Thread 0x7f83b9389700 (LWP 266677)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cf750, cond=0x564e8a6cf778) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d0570) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 10 (Thread 0x7f83b9b8a700 (LWP 266672)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cf750, cond=0x564e8a6cf778) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d0530) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 9 (Thread 0x7f83ba38b700 (LWP 266668)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cf750, cond=0x564e8a6cf778) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d04f0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 8 (Thread 0x7f83bab8c700 (LWP 266662)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6cf750, cond=0x564e8a6cf778) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d0200) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 7 (Thread 0x7f83bb38d700 (LWP 266654)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a5eca98, cond=0x564e8a5ecac0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d8bd0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 6 (Thread 0x7f83bbb8e700 (LWP 266650)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a5eca98, cond=0x564e8a5ecac0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d88e0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 5 (Thread 0x7f83c438f700 (LWP 266645)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a5eca98, cond=0x564e8a5ecac0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d15f0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 4 (Thread 0x7f83c4b90700 (LWP 266638)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a5eca98, cond=0x564e8a5ecac0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a6d1300) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 3 (Thread 0x7f83c54e7700 (LWP 266632)):
#0  0x00007f83e2a4ca47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f83ce8ee50b in cnd_wait (mtx=0x564e8a6ce138, cond=0x564e8a6ce160) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x564e8a681c10) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f83ce8ee117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 2 (Thread 0x7f83d0326700 (LWP 266593)):
#0  0x00007f83e34990db in poll () at /usr/lib64/libc.so.6
#1  0x00007f83e28841c2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f83e2885efa in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f83d04173c8 in QXcbEventQueue::run() (this=0x564e8a5a8190) at qxcbeventqueue.cpp:228
#4  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x564e8a5a8190) at thread/qthread_unix.cpp:342
#5  0x00007f83e2a4542a in start_thread () at /usr/lib64/libpthread.so.0
#6  0x00007f83e34a542f in clone () at /usr/lib64/libc.so.6

Thread 1 (Thread 0x7f83d0b28d80 (LWP 266490)):
[KCrash Handler]
#6  0x00007f83e3a2d5b9 in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >&) (ptr=...) at io/qsettings.cpp:3277
#7  QSettings::d_func() (this=<optimized out>) at io/qsettings.h:72
#8  QSettings::setValue(QString const&, QVariant const&) (this=this@entry=0x0, key=..., value=...) at io/qsettings.cpp:3278
#9  0x00007f83e561097e in Akonadi::AgentBase::setOnline(bool) (this=0x7ffc21fe7850, state=state@entry=true) at /tmp/portage/kde-apps/akonadi-19.12.3/work/akonadi-19.12.3/src/agentbase/agentbase.cpp:1032
#10 0x0000564e8a389b84 in ImapResourceBase::onConnectDone(int, QString const&) (this=0x7ffc21fe7850, errorCode=<optimized out>, errorString=...) at /tmp/portage/kde-apps/kdepim-runtime-19.12.3/work/kdepim-runtime-19.12.3/resources/imap/imapresourcebase.cpp:290
#11 0x00007f83e3acf585 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc21fe6e80, r=0x7ffc21fe7850, this=0x564e8a8212b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 doActivate<false>(QObject*, int, void**) (sender=0x564e8a8209e0, signal_index=7, argv=0x7ffc21fe6e80) at kernel/qobject.cpp:3870
#13 0x00007f83e3ac9d47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x564e8a8209e0, m=m@entry=0x564e8a400200 <SessionPool::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc21fe6e80) at kernel/qobject.cpp:3930
#14 0x0000564e8a368d26 in SessionPool::connectDone(int, QString const&) (this=this@entry=0x564e8a8209e0, _t1=<optimized out>, _t1@entry=0, _t2=...) at resources/imap/imapresource_autogen/EWIEGA46WW/moc_sessionpool.cpp:302
#15 0x0000564e8a3bb16e in SessionPool::declareSessionReady(KIMAP::Session*) (this=0x564e8a8209e0, session=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:257
#16 0x0000564e8a3bc1c4 in SessionPool::onIdDone(KJob*) (this=0x564e8a8209e0, job=<optimized out>) at /tmp/portage/kde-apps/kdepim-runtime-19.12.3/work/kdepim-runtime-19.12.3/resources/imap/sessionpool.cpp:548
#17 0x00007f83e3acf585 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc21fe7060, r=0x564e8a8209e0, this=0x564e8ad49d10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 doActivate<false>(QObject*, int, void**) (sender=0x7f8364012430, signal_index=6, argv=0x7ffc21fe7060) at kernel/qobject.cpp:3870
#19 0x00007f83e4f55b2c in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib64/libKF5CoreAddons.so.5
#20 0x00007f83e4f5662b in KJob::finishJob(bool) () at /usr/lib64/libKF5CoreAddons.so.5
#21 0x00007f83e57a677c in KIMAP::Job::handleErrorReplies(KIMAP::Response const&) () at /usr/lib64/libKF5IMAP.so.5
#22 0x00007f83e57c5d6b in KIMAP::SessionPrivate::responseReceived(KIMAP::Response const&) () at /usr/lib64/libKF5IMAP.so.5
#23 0x00007f83e3ac7a0c in QObject::event(QEvent*) (this=0x564e8ad5fc60, e=0x7f8364042e80) at kernel/qobject.cpp:1339
#24 0x00007f83e46c2eb3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x564e8a59dba0, receiver=receiver@entry=0x564e8ad5fc60, e=e@entry=0x7f8364042e80) at kernel/qapplication.cpp:3684
#25 0x00007f83e46cc3c0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc21fe7840, receiver=0x564e8ad5fc60, e=0x7f8364042e80) at kernel/qapplication.cpp:3430
#26 0x00007f83e3a9b1ce in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564e8ad5fc60, event=0x7f8364042e80) at kernel/qcoreapplication.cpp:1092
#27 0x00007f83e3a9ddc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x564e8a57b490) at kernel/qcoreapplication.cpp:1832
#28 0x00007f83e3af1ad3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x564e8a605740) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f83e1ba180f in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f83e1ba1bb8 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f83e1ba1c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f83e3af1880 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x564e8a613d00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f83e3a9a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc21fe7790, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#34 0x00007f83e3aa212f in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#35 0x00007f83e40638ec in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1866
#36 0x00007f83e46c2e25 in QApplication::exec() () at kernel/qapplication.cpp:2824
#37 0x00007f83e562034e in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) (r=...) at /usr/include/qt5/QtCore/qcoreapplication.h:116
#38 0x0000564e8a355351 in Akonadi::ResourceBase::init<ImapResource>(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:181
#39 0x00007f83e33bce9b in __libc_start_main () at /usr/lib64/libc.so.6
#40 0x0000564e8a352fda in _start () at /tmp/portage/kde-apps/kdepim-runtime-19.12.3/work/kdepim-runtime-19.12.3/resources/imap/main.cpp:22
[Inferior 1 (process 266490) detached]

Possible duplicates by query: bug 418341, bug 417910, bug 417418, bug 416721, bug 416416.

Reported using DrKonqi
Comment 1 Dennis Schridde 2020-03-07 21:09:01 UTC
> because it stopped synchronising

That issue is described in bug #418593.
Comment 2 Dennis Schridde 2020-03-07 21:18:41 UTC
I ran `akonadictl restart`, but that was a bumpy ride:

org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadiserver" stopped unexpectedly ( "Process crashed" )                                                           
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' crashed. No restart!                                                                                                 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)                                                                              
org.kde.pim.akonadiserver: Starting up the Akonadi Server...                                                                                                                          

❯ akonadictl restart                                                                                                                                                                  
Akonadi is not running.                                                                                                                                                               

❯ akonadictl start                                                                                                                                                                    
org.kde.pim.akonadicontrol: Service org.freedesktop.Akonadi.Control.lock already registered, terminating now.                                                                         
Error: akonadi_control was started but didn't register at D-Bus session bus.                                                                                                          
Make sure your system is set up correctly!                                                                                                                                            

❯ ps aux | rg akonadi                                                                                                                                                                 
dschrid+  246610 10.6  1.5 851584 225956 ?       Sl   21:04   4:17 /usr/sbin/mysqld --defaults-file=/home/dschridde/.local/share/akonadi/mysql.conf --datadir=/home/dschridde/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid                                                                        
dschrid+  249132  0.3  1.0 3450644 153252 ?      Sl   21:08   0:08 /usr/bin/akonadiconsole                                                                                            
dschrid+  265348  0.0  0.0  10568  5860 ?        S    21:44   0:00 /usr/bin/mysqladmin --defaults-file=/home/dschridde/.local/share/akonadi/mysql.conf --socket=/run/user/1000/akonadi/mysql.socket shutdown                                                                                                                                                                
dschrid+  265363  0.2  0.3 431516 43944 ?        Sl   21:44   0:00 /usr/bin/akonadi_control                                                                                           
dschrid+  265394  0.1  0.1 167704 24844 ?        Sl   21:44   0:00 /usr/bin/akonadiserver                                                                                             
dschrid+  265399  0.3  0.1  67932 19096 ?        Sl   21:44   0:00 /usr/sbin/mysqld --defaults-file=/home/dschridde/.local/share/akonadi/mysql.conf --datadir=/home/dschridde/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid                                                                        
dschrid+  265735  0.0  0.0   5384     8 pts/6    D+   21:44   0:00 rg akonadi                                                                                                         

❯ akonadictl status                                                                                                                                                                                                                                                                                                                                                         
Akonadi Control: stopped                                                                                                                                                                                                                                                                                                                                                    
Akonadi Server: stopped                                                                                                                                                                                                                                                                                                                                                     
Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)                                                                                                                                                                                                                                                                                             
Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_googlecalendar_resource, akonadi_googlecontacts_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi
_imap_resource, akonadi_indexing_agent, akonadi_kalarm_dir_resource, akonadi_kalarm_resource, akonadi_knut_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_op
enxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource                                                                                                                                                                                           


After I while I saw output from `akonadictl restart` (I presume):

org.kde.pim.akonadiserver: database server stopped unexpectedly                                                                                                                                                                                                                                                                                        
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!                                                                                            
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"                                                                                                                             
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/dschridde/.local/share/akonadi/mysql.conf", "--datadir=/home/dschridde/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")                                                                                                         
org.kde.pim.akonadiserver: stdout: ""                                                                                                                                                 
org.kde.pim.akonadiserver: stderr: "2020-03-07 21:44:20 0 [Note] /usr/sbin/mysqld (mysqld 10.4.12-MariaDB) starting as process 265399 ...\n"                                          
org.kde.pim.akonadiserver: exit code: 1                                                                                                                                               
org.kde.pim.akonadiserver: process error: "Process operation timed out"                                                                                                               
/usr/bin/mysqladmin: connect to server at 'localhost' failed                                                                                                                          
error: 'Can't connect to local MySQL server through socket '/run/user/1000/akonadi/mysql.socket' (2)'                                                                                 
Check that mysqld is running and that the socket: '/run/user/1000/akonadi/mysql.socket' exists!                                                                                       
org.kde.pim.akonadiserver: Shutting down AkonadiServer...                                                                                                                             
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...                                                                                  
                                                                                                                                                                                      
❯ ps aux | rg akonadi
dschrid+  249132  0.3  1.0 3450644 151444 ?      Sl   21:08   0:08 /usr/bin/akonadiconsole
dschrid+  266341  0.0  0.0   8420  6248 pts/6    S+   21:45   0:00 rg akonadi

❯ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
[...]


Now it outputs *a lot* (thousands) of these messages:

org.kde.pim.akonadicore: Got a stale 'added' notification for an item whose collection was already removed. 580096 ""
Comment 3 Ahmad Samir 2020-08-28 18:43:17 UTC

*** This bug has been marked as a duplicate of bug 418844 ***