Bug 443435 - Kmail crash and repeated offline accessing gmail imap
Summary: Kmail crash and repeated offline accessing gmail imap
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-10-07 14:00 UTC by Mike Burke
Modified: 2021-10-07 14:00 UTC (History)
0 users

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 Mike Burke 2021-10-07 14:00:51 UTC
Application: akonadi_imap_resource (5.18.1 (21.08.1))

Qt Version: 5.15.3
Frameworks Version: 5.86.0
Operating System: Linux 5.11.0-37-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: KDE neon User Edition 5.22

-- Information about the crash:
- What I was doing when the application crashed:
The akondi imap resource keeps going offline and reporting segmentation faults when trying to read mail or click around in Imap folders. Server is Google Apps/Gmail.

The crash can be reproduced every time.

-- Backtrace:
Application: Work (akonadi_imap_resource), signal: Segmentation fault

[New LWP 3848]
[New LWP 3849]
[New LWP 3850]
[New LWP 3852]
[New LWP 5078]
[New LWP 5632]
[New LWP 6844]
[New LWP 7621]
[New LWP 9306]
[New LWP 10070]
[New LWP 10891]
[New LWP 11840]
[New LWP 12639]
[New LWP 13752]
[New LWP 14679]
[New LWP 15124]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6c05c28aff in __GI___poll (fds=0x7ffd8f4c0278, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f6c016089c0 (LWP 3847))]

Thread 17 (Thread 0x7f6bc4ff9700 (LWP 15124)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6bac010fe0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04fb136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bac025580, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bc4ff8be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561082b54690) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f6bc7fff700 (LWP 14679)):
#0  0x00007f6c04fb0b33 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04fb12e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bc0005980, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bc7ffebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x56108239f7f0) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f6bc67fc700 (LWP 13752)):
#0  __GI___libc_read (nbytes=16, buf=0x7f6bc67fb9d0, fd=26) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=26, buf=0x7f6bc67fb9d0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f6c04ff9b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb0ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c04fb1312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bb0177030, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bc67fbbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561082798e80) at thread/qthread_unix.cpp:329
#10 0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f6be97fa700 (LWP 12639)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6bc8024d10, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04fb136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bc8013ff0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6be97f9be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081cad400) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f6be9ffb700 (LWP 11840)):
#0  0x00007f6c04ffe508 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04fb14ae in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bd400e6a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6be9ffabe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#4  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#5  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x7f6bf403c760) at thread/qthread_unix.cpp:329
#6  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f6bc77fe700 (LWP 10891)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6bb800fa50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04fb136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bb8010f70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bc77fdbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081c59fc0) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f6be8ff9700 (LWP 10070)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6bcc016190, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04fb136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bcc0164c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6be8ff8be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081c145a0) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f6bea7fc700 (LWP 9306)):
#0  0x00007f6c04ffe4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04fb0dac in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb1312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bd002ff50, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bea7fbbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081c99280) at thread/qthread_unix.cpp:329
#8  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f6bebfff700 (LWP 7621)):
#0  0x00007f6c04fad8ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04faf345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb0cbf in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb1312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6be00063c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bebffebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561082b84b10) at thread/qthread_unix.cpp:329
#9  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f6beaffd700 (LWP 6844)):
#0  0x00007f6c04ffe508 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04fb08e1 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb129b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bdc4d8af0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6beaffcbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081df7fc0) at thread/qthread_unix.cpp:329
#8  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f6bf8b38700 (LWP 5632)):
#0  0x00007f6c04ffe4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04fb08fa in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb129b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6be40358b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bf8b37be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081c6ab90) at thread/qthread_unix.cpp:329
#8  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f6beb7fe700 (LWP 5078)):
#0  0x00007f6c04ffe4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6c04fb0dac in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb1312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bd8006e20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6beb7fdbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081c6a4e0) at thread/qthread_unix.cpp:329
#8  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f6bf9756700 (LWP 3852)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6bf0004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04fb136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bf0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bf9755be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081b7df80) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f6bfa967700 (LWP 3850)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6bec004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04fb136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bfa966be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x561081b50c90) at thread/qthread_unix.cpp:329
#7  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6bfb168700 (LWP 3849)):
#0  __GI___libc_read (nbytes=16, buf=0x7f6bfb1679a0, fd=6) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=6, buf=0x7f6bfb1679a0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f6c04ff9b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c04fb0ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c04fb1312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6c062115eb in QEventDispatcherGlib::processEvents (this=0x7f6bf4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7f6bfb167bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f6c05fcf292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f6c06472f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f6c05fd042c in QThreadPrivate::start (arg=0x7f6c064f6d80) at thread/qthread_unix.cpp:329
#11 0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6c00a99700 (LWP 3848)):
#0  0x00007f6c05c28aff in __GI___poll (fds=0x7f6c00a98ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6c04cc9c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f6c04ccb90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f6c011e2e88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f6c05fd042c in QThreadPrivate::start (arg=0x56108199be90) at thread/qthread_unix.cpp:329
#5  0x00007f6c04e9f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6c05c35293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6c016089c0 (LWP 3847)):
[KCrash Handler]
#4  0x00007f6c0613825d in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at io/qsettings.cpp:3270
#5  QSettings::d_func (this=<optimized out>) at io/qsettings.h:72
#6  QSettings::setValue (this=this@entry=0x0, key=..., value=...) at io/qsettings.cpp:3271
#7  0x00007f6c07d7a42d in Akonadi::AgentBase::setOnline (this=0x7ffd8f4c1b80, state=state@entry=true) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:967
#8  0x000056107fb264c4 in ImapResourceBase::onConnectDone (this=0x7ffd8f4c1b80, errorCode=<optimized out>, errorString=...) at ./resources/imap/imapresourcebase.cpp:273
#9  0x00007f6c061edd9e in QtPrivate::QSlotObjectBase::call (a=0x7ffd8f4c1190, r=0x7ffd8f4c1b80, this=0x561081b6a460) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x561081b6a6f0, signal_index=7, argv=0x7ffd8f4c1190) at kernel/qobject.cpp:3886
#11 0x00007f6c061e7167 in QMetaObject::activate (sender=sender@entry=0x561081b6a6f0, m=m@entry=0x56107fb9c7c0 <SessionPool::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd8f4c1190) at kernel/qobject.cpp:3946
#12 0x000056107fb0521a in SessionPool::connectDone (this=this@entry=0x561081b6a6f0, _t1=<optimized out>, _t1@entry=0, _t2=...) at ./obj-x86_64-linux-gnu/resources/imap/imapresource_autogen/EWIEGA46WW/moc_sessionpool.cpp:302
#13 0x000056107fb5857e in SessionPool::declareSessionReady (this=0x561081b6a6f0, session=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#14 0x000056107fb595c4 in SessionPool::onIdDone (this=0x561081b6a6f0, job=<optimized out>) at ./resources/imap/sessionpool.cpp:534
#15 0x00007f6c061edd9e in QtPrivate::QSlotObjectBase::call (a=0x7ffd8f4c1370, r=0x561081b6a6f0, this=0x561082c71f90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x7f6bac02b190, signal_index=6, argv=0x7ffd8f4c1370) at kernel/qobject.cpp:3886
#17 0x00007f6c061e7167 in QMetaObject::activate (sender=sender@entry=0x7f6bac02b190, m=m@entry=0x7f6c07816720 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd8f4c1370) at kernel/qobject.cpp:3946
#18 0x00007f6c077c2b90 in KJob::result (this=this@entry=0x7f6bac02b190, _t1=<optimized out>, _t1@entry=0x7f6bac02b190, _t2=...) at ./obj-x86_64-linux-gnu/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:631
#19 0x00007f6c077c394b in KJob::finishJob (this=0x7f6bac02b190, emitResult=<optimized out>) at ./src/lib/jobs/kjob.cpp:97
#20 0x00007f6c07f0f1c4 in KIMAP::Job::handleErrorReplies (this=0x7f6bac02b190, response=...) at ./src/job.cpp:72
#21 0x00007f6c07f2f7db in KIMAP::SessionPrivate::responseReceived (this=0x5610820bdc70, response=...) at ./src/session.cpp:288
#22 0x00007f6c061e4919 in QObject::event (this=0x5610820bdc70, e=0x7f6bac029ba0) at kernel/qobject.cpp:1314
#23 0x00007f6c06da5dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x561081999470, receiver=receiver@entry=0x5610820bdc70, e=e@entry=0x7f6bac029ba0) at kernel/qapplication.cpp:3632
#24 0x00007f6c06daebb8 in QApplication::notify (this=0x7ffd8f4c1b70, receiver=0x5610820bdc70, e=0x7f6bac029ba0) at kernel/qapplication.cpp:3156
#25 0x00007f6c061b6d7a in QCoreApplication::notifyInternal2 (receiver=0x5610820bdc70, event=0x7f6bac029ba0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#26 0x00007f6c061b9681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x561081994580) at kernel/qcoreapplication.cpp:1821
#27 0x00007f6c06211f77 in postEventSourceDispatch (s=0x561081b33d20) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f6c04fb117d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f6c04fb1400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f6c04fb14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6c062115d2 in QEventDispatcherGlib::processEvents (this=0x561081b31fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f6c061b587b in QEventLoop::exec (this=this@entry=0x7ffd8f4c1ac0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#33 0x00007f6c061bda34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007f6c07d8b592 in Akonadi::ResourceBase::init (r=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:116
#35 0x000056107faf1075 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:165
#36 0x00007f6c05b3a0b3 in __libc_start_main (main=0x56107faeee50 <main(int, char**)>, argc=3, argv=0x7ffd8f4c1d08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd8f4c1cf8) at ../csu/libc-start.c:308
#37 0x000056107faeee8e in _start () at ./resources/imap/main.cpp:9
[Inferior 1 (process 3847) detached]

Possible duplicates by query: bug 440917, bug 440777, bug 440137, bug 439645, bug 439597.

Reported using DrKonqi