<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>418595</bug_id>
          
          <creation_ts>2020-03-07 21:04:06 +0000</creation_ts>
          <short_desc>Akonadi IMAP resource crashed after it lost connection and I tried to restart it</short_desc>
          <delta_ts>2020-08-28 18:43:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>IMAP resource</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>418844</dup_id>
          <see_also>https://bugs.kde.org/show_bug.cgi?id=418593</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=418599</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=418912</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=396663</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=423675</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=415339</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dennis Schridde">heri+kde</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>a.samirh78</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1915004</commentid>
    <comment_count>0</comment_count>
    <who name="Dennis Schridde">heri+kde</who>
    <bug_when>2020-03-07 21:04:06 +0000</bug_when>
    <thetext>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: &quot;Gentoo Base System release 2.7&quot;

-- 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 &quot;Unable to connect to the IMAP server&quot;. I tried to restart it again, and it crashed.

-- Backtrace:
Application: Kynes (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library &quot;/usr/lib64/libthread_db.so.1&quot;.
[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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f836406e810, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f83e3a9a01b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f83c0ed5820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f83e38e4c8e in QThread::exec() (this=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f8368002e90, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f83e3a9a01b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f83a97f9820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f83e38e4c8e in QThread::exec() (this=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f8370000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f83e3a9a01b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f83c16f3820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f83e38e4c8e in QThread::exec() (this=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f836c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f83e3a9a01b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7f83c2904820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f83e38e4c8e in QThread::exec() (this=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7f8378000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f83e3a9a01b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (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 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f83e4c7f0a7 in QDBusConnectionManager::run() (this=0x7f83e4d04de0 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at qdbusconnection.cpp:179
#7  0x00007f83e38e5cef in QThreadPrivate::start(void*) (arg=0x7f83e4d04de0 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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&lt;QScopedPointer&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt; &gt;(QScopedPointer&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt;&amp;) (ptr=...) at io/qsettings.cpp:3277
#7  QSettings::d_func() (this=&lt;optimized out&gt;) at io/qsettings.h:72
#8  QSettings::setValue(QString const&amp;, QVariant const&amp;) (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&amp;) (this=0x7ffc21fe7850, errorCode=&lt;optimized out&gt;, 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&lt;false&gt;(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 &lt;SessionPool::staticMetaObject&gt;, 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&amp;) (this=this@entry=0x564e8a8209e0, _t1=&lt;optimized out&gt;, _t1@entry=0, _t2=...) at resources/imap/imapresource_autogen/EWIEGA46WW/moc_sessionpool.cpp:302
#15 0x0000564e8a3bb16e in SessionPool::declareSessionReady(KIMAP::Session*) (this=0x564e8a8209e0, session=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qarraydata.h:257
#16 0x0000564e8a3bc1c4 in SessionPool::onIdDone(KJob*) (this=0x564e8a8209e0, job=&lt;optimized out&gt;) 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&lt;false&gt;(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&amp;) () at /usr/lib64/libKF5IMAP.so.5
#22 0x00007f83e57c5d6b in KIMAP::SessionPrivate::responseReceived(KIMAP::Response const&amp;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x564e8a613d00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f83e3a9a01b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (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&amp;) (r=...) at /usr/include/qt5/QtCore/qcoreapplication.h:116
#38 0x0000564e8a355351 in Akonadi::ResourceBase::init&lt;ImapResource&gt;(int, char**) (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915005</commentid>
    <comment_count>1</comment_count>
    <who name="Dennis Schridde">heri+kde</who>
    <bug_when>2020-03-07 21:09:01 +0000</bug_when>
    <thetext>&gt; because it stopped synchronising

That issue is described in bug #418593.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915006</commentid>
    <comment_count>2</comment_count>
    <who name="Dennis Schridde">heri+kde</who>
    <bug_when>2020-03-07 21:18:41 +0000</bug_when>
    <thetext>I ran `akonadictl restart`, but that was a bumpy ride:

org.kde.pim.akonadicontrol: ProcessControl: Application &quot;/usr/bin/akonadiserver&quot; stopped unexpectedly ( &quot;Process crashed&quot; )                                                           
org.kde.pim.akonadicontrol: Application &apos;/usr/bin/akonadiserver&apos; 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&apos;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: &quot;/usr/sbin/mysqld&quot;                                                                                                                             
org.kde.pim.akonadiserver: arguments: (&quot;--defaults-file=/home/dschridde/.local/share/akonadi/mysql.conf&quot;, &quot;--datadir=/home/dschridde/.local/share/akonadi/db_data/&quot;, &quot;--socket=/run/user/1000/akonadi/mysql.socket&quot;, &quot;--pid-file=/run/user/1000/akonadi/mysql.pid&quot;)                                                                                                         
org.kde.pim.akonadiserver: stdout: &quot;&quot;                                                                                                                                                 
org.kde.pim.akonadiserver: stderr: &quot;2020-03-07 21:44:20 0 [Note] /usr/sbin/mysqld (mysqld 10.4.12-MariaDB) starting as process 265399 ...\n&quot;                                          
org.kde.pim.akonadiserver: exit code: 1                                                                                                                                               
org.kde.pim.akonadiserver: process error: &quot;Process operation timed out&quot;                                                                                                               
/usr/bin/mysqladmin: connect to server at &apos;localhost&apos; failed                                                                                                                          
error: &apos;Can&apos;t connect to local MySQL server through socket &apos;/run/user/1000/akonadi/mysql.socket&apos; (2)&apos;                                                                                 
Check that mysqld is running and that the socket: &apos;/run/user/1000/akonadi/mysql.socket&apos; exists!                                                                                       
org.kde.pim.akonadiserver: Shutting down AkonadiServer...                                                                                                                             
org.kde.pim.akonadicontrol: Application &apos;/usr/bin/akonadiserver&apos; 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 &apos;added&apos; notification for an item whose collection was already removed. 580096 &quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953675</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Samir">a.samirh78</who>
    <bug_when>2020-08-28 18:43:17 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 418844 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>