Bug 418593 - Akonadi IMAP crashed while moving mails after: Error while handling command FetchCollections on connection akonadi_imap_resource_0
Summary: Akonadi IMAP crashed while moving mails after: Error while handling command F...
Status: REPORTED
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 20:37 UTC by Dennis Schridde
Modified: 2020-08-20 06:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.04 KB, text/plain)
2020-03-22 16:40 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2020-03-07 20:37:25 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:

1. I moved a bunch of emails from "one" IMAP server to "another" using KMail
2. (I tried to move two folders "a" and "b" with the new emails from "another" into a "third" \NoSelect folder (as a new child) on the "one" server, which KMail does not allow me to do, I cannot even drop the folder there)
3. (That is IIRC an issue in KMail related to \NoSelect, so I ran `create "third"`, which succeeded.)
4. (After clicking "Check Mail" in KMail or "Synchronise All" in Akonadi Console, KMail still displays the "third" folder as greyed-out and does not allow me to move folders into it.)
5. I moved both folders "a" and "b" to the top level of the "one" IMAP server
6. Using another IMAP client (`gnutls-cli`) I ran `rename "a" "third/a"` on the "one" IMAP server
7. Also using that other IMAP client, I tried to rename "b" to "third/b", but the "one" IMAP server replied "NO [NONEXISTENT]"
8. Also using that other IMAP client, I ran `create "third/b"`, which succeeded
9. Coming back to KMail, it still displays "a" and "b" at the root level of the "one" IMAP server, "third/a" also exists, but "third/b" does not
10. "Check Mail" in KMail or "Synchronise All" in Akonadi Console do not fix this
11. KMail displayed "a" on "another" IMAP server as empty, so I deleted it
12. KMail displayed "b" on "another" IMAP server as non-empty, so I kept it
13. Using KMail I moved the emails from "b" in the top level of the "one" IMAP server back to the folder on "another" IMAP server
14. Also using KMail I moved the folder "a" from the "one" IMAP server back to "another" IMAP server
15. I also used KMail to move the emails from "third/a" on "one" IMAP server back into folder "a" on "another" IMAP server


- Unusual behavior I noticed:

When running `akonadictl restart` or restarting the Akonadi IMAP Account, I see the following in the output:

> Error while handling command FetchCollections on connection akonadi_imap_resource_0


- Status afterwards / the problem:

The Akonadi IMAP account for the "one" IMAP server does not synchronise at all anymore. When clicking "Check Mail > one IMAP server" in KMail nothing happens. The agent status as displayed by Akonadi Console does not change either.

Additionally I can "sometimes" make the Akonadi IMAP resource crash. I am not yet sure what exactly I need to do to make it crash.

I am a bit afraid of the state of my emails and what would happen if I was to delete the "one" IMAP server account in Akonadi and would recreate it.


- Wild guess:

Akonadi IMAP does not handle it very well when other IMAP clients are fiddling with the mailboxes (create, delete, rename) while it itself is moving mailboxes around.

The crash can be reproduced sometimes.

-- 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 0x7f62b4cf7d80 (LWP 250421))]

Thread 23 (Thread 0x7f6260a09700 (LWP 250488)):
#0  0x00007f62c76636f8 in read () at /usr/lib64/libc.so.6
#1  0x00007f62c5dba51f in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f62c5d70657 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f62c5d70ad3 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f62c5d70c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f62c7cc089b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6240000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f62c7c6901b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6260a08820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007f62c7ab3c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007f62c7ab4cef in QThreadPrivate::start(void*) (arg=0x5646bf81cda0) at thread/qthread_unix.cpp:342
#9  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#10 0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 22 (Thread 0x7f62615eb700 (LWP 250444)):
#0  0x00007f62c6c1bd7d in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62c7aba205 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (this=0x7f62480109a0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f62480109a0) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x7f6248010b88, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f62c7aba307 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x7f6248011a80, mutex=mutex@entry=0x7f6248010b88, time=<optimized out>) at thread/qwaitcondition_unix.cpp:209
#5  0x00007f62c7ab815b in QThreadPoolThread::run() (this=0x7f6248011a70) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#6  0x00007f62c7ab4cef in QThreadPrivate::start(void*) (arg=0x7f6248011a70) at thread/qthread_unix.cpp:342
#7  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#8  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 21 (Thread 0x7f62625ed700 (LWP 250442)):
#0  0x00007f62c76680db in poll () at /usr/lib64/libc.so.6
#1  0x00007f62c5d70b2e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f62c5d70c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f62c7cc089b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6254000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f62c7c6901b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f62625ec820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f62c7ab3c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f62c7ab4cef in QThreadPrivate::start(void*) (arg=0x5646bf5dbc00) at thread/qthread_unix.cpp:342
#7  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#8  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 20 (Thread 0x7f62637fe700 (LWP 250440)):
#0  0x00007f62c76680db in poll () at /usr/lib64/libc.so.6
#1  0x00007f62c5d70b2e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f62c5d70c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f62c7cc089b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6250000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f62c7c6901b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f62637fd820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f62c7ab3c8e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f62c7ab4cef in QThreadPrivate::start(void*) (arg=0x5646bf54fcc0) at thread/qthread_unix.cpp:342
#7  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#8  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 19 (Thread 0x7f6263fff700 (LWP 250439)):
#0  0x00007f62c76680db in poll () at /usr/lib64/libc.so.6
#1  0x00007f62c5d70b2e in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f62c5d70c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f62c7cc089b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6258000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f62c7c6901b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6263ffe7f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f62c7ab3c8e in QThread::exec() (this=this@entry=0x7f62c8ed3de0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f62c8e4e0a7 in QDBusConnectionManager::run() (this=0x7f62c8ed3de0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f62c7ab4cef in QThreadPrivate::start(void*) (arg=0x7f62c8ed3de0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#9  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 18 (Thread 0x7f6284ff9700 (LWP 250438)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf4ebb18, cond=0x5646bf4ebb40) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf472290) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 17 (Thread 0x7f62857fa700 (LWP 250437)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415758, cond=0x5646bf415780) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf4212e0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 16 (Thread 0x7f6285ffb700 (LWP 250436)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415758, cond=0x5646bf415780) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf420ff0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 15 (Thread 0x7f62867fc700 (LWP 250435)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415758, cond=0x5646bf415780) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf420d00) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 14 (Thread 0x7f6286ffd700 (LWP 250434)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415758, cond=0x5646bf415780) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf420a10) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 13 (Thread 0x7f62877fe700 (LWP 250433)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415050, cond=0x5646bf415078) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf41fce0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 12 (Thread 0x7f6287fff700 (LWP 250432)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415050, cond=0x5646bf415078) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf416010) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 11 (Thread 0x7f62a0ff9700 (LWP 250431)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415050, cond=0x5646bf415078) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf415fd0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 10 (Thread 0x7f62a17fa700 (LWP 250430)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415050, cond=0x5646bf415078) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf415f90) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 9 (Thread 0x7f62a1ffb700 (LWP 250429)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415050, cond=0x5646bf415078) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf415f50) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 8 (Thread 0x7f62a27fc700 (LWP 250428)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf415050, cond=0x5646bf415078) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf415c60) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 7 (Thread 0x7f62a2ffd700 (LWP 250427)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf3596c8, cond=0x5646bf3596f0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf41e520) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 6 (Thread 0x7f62a37fe700 (LWP 250426)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf3596c8, cond=0x5646bf3596f0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf41e230) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 5 (Thread 0x7f62a3fff700 (LWP 250425)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf3596c8, cond=0x5646bf3596f0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf4170d0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 4 (Thread 0x7f62a8d61700 (LWP 250424)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf3596c8, cond=0x5646bf3596f0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf416de0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 3 (Thread 0x7f62a96b8700 (LWP 250423)):
#0  0x00007f62c6c1ba47 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib64/libpthread.so.0
#1  0x00007f62b2abd50b in cnd_wait (mtx=0x5646bf413c88, cond=0x5646bf413cb0) at ../mesa-20.0.1/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x5646bf412ae0) at ../mesa-20.0.1/src/util/u_queue.c:275
#3  0x00007f62b2abd117 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.1/include/c11/threads_posix.h:87
#4  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#5  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 2 (Thread 0x7f62b44f5700 (LWP 250422)):
#0  0x00007f62c76680db in poll () at /usr/lib64/libc.so.6
#1  0x00007f62c6a531c2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f62c6a54efa in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f62b45e63c8 in QXcbEventQueue::run() (this=0x5646bf2ee190) at qxcbeventqueue.cpp:228
#4  0x00007f62c7ab4cef in QThreadPrivate::start(void*) (arg=0x5646bf2ee190) at thread/qthread_unix.cpp:342
#5  0x00007f62c6c1442a in start_thread () at /usr/lib64/libpthread.so.0
#6  0x00007f62c767442f in clone () at /usr/lib64/libc.so.6

Thread 1 (Thread 0x7f62b4cf7d80 (LWP 250421)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007f62c7c7368a in QMetaObject::cast(QObject const*) const (this=this@entry=0x7f62c9826e40 <Akonadi::RecursiveMover::staticMetaObject>, obj=0x5646bf67c5c0) at kernel/qmetaobject.cpp:381
#8  0x00007f62c7c736c5 in QMetaObject::cast(QObject*) const (this=this@entry=0x7f62c9826e40 <Akonadi::RecursiveMover::staticMetaObject>, obj=<optimized out>) at kernel/qmetaobject.cpp:370
#9  0x00007f62c9804f51 in qobject_cast<Akonadi::RecursiveMover*>(QObject*) (object=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:519
#10 QtPrivate::QVariantValueHelper<Akonadi::RecursiveMover*>::object(QVariant const&) (v=...) at /usr/include/qt5/QtCore/qvariant.h:751
#11 QtPrivate::ObjectInvoker<QtPrivate::QVariantValueHelper<Akonadi::RecursiveMover*>, QVariant const&, Akonadi::RecursiveMover*>::invoke(QVariant const&) (a=...) at /usr/include/qt5/QtCore/qvariant.h:107
#12 qvariant_cast<Akonadi::RecursiveMover*>(QVariant const&) (v=...) at /usr/include/qt5/QtCore/qvariant.h:878
#13 QVariant::value<Akonadi::RecursiveMover*>() const (this=0x5646bf5dc228) at /usr/include/qt5/QtCore/qvariant.h:367
#14 Akonadi::ResourceScheduler::executeNext() (this=<optimized out>) at /tmp/portage/kde-apps/akonadi-19.12.3/work/akonadi-19.12.3/src/agentbase/resourcescheduler.cpp:436
#15 0x00007f62c7c96a0c in QObject::event(QEvent*) (this=0x5646bf5dc1b0, e=0x5646bf6c9c70) at kernel/qobject.cpp:1339
#16 0x00007f62c8891eb3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5646bf2e3ba0, receiver=receiver@entry=0x5646bf5dc1b0, e=e@entry=0x5646bf6c9c70) at kernel/qapplication.cpp:3684
#17 0x00007f62c889b3c0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe6c731460, receiver=0x5646bf5dc1b0, e=0x5646bf6c9c70) at kernel/qapplication.cpp:3430
#18 0x00007f62c7c6a1ce in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5646bf5dc1b0, event=0x5646bf6c9c70) at kernel/qcoreapplication.cpp:1092
#19 0x00007f62c7c6cdc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5646bf2c1490) at kernel/qcoreapplication.cpp:1832
#20 0x00007f62c7cc0ad3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5646bf34b280) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007f62c5d7080f in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f62c5d70bb8 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f62c5d70c4f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f62c7cc0880 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5646bf359ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f62c7c6901b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe6c7313b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#26 0x00007f62c7c7112f in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#27 0x00007f62c82328ec in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1866
#28 0x00007f62c8891e25 in QApplication::exec() () at kernel/qapplication.cpp:2824
#29 0x00007f62c97ef34e in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) (r=...) at /usr/include/qt5/QtCore/qcoreapplication.h:116
#30 0x00005646bd2cb351 in Akonadi::ResourceBase::init<ImapResource>(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:181
#31 0x00007f62c758be9b in __libc_start_main () at /usr/lib64/libc.so.6
#32 0x00005646bd2c8fda 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 250421) detached]

Reported using DrKonqi
Comment 1 Dennis Schridde 2020-03-22 16:40:08 UTC
Created attachment 126948 [details]
New crash information added by DrKonqi

akonadi_imap_resource (5.13.2 (19.12.2)) using Qt 5.13.2

- What I was doing when the application crashed:

The issue persists in Fedora 32. [......]

-- Backtrace (Reduced):
#6  0x00007f212c0232e0 in  ()
[...]
#8  0x00007f21678ed8a6 in Akonadi::ResourceScheduler::executeNext() () at /lib64/libKF5AkonadiAgentBase.so.5
#9  0x00007f216605d456 in QSingleShotTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#10 0x00007f21660522cf in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#11 0x00007f2166ab9e66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5