Bug 495799

Summary: Kontact IMAP crashes on every Kontact startup
Product: [Frameworks and Libraries] Akonadi Reporter: maestro-oar-0x
Component: IMAP resourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: billyhoya, carl
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description maestro-oar-0x 2024-11-04 19:18:04 UTC
Application: akonadi_imap_resource (6.2.2 (24.08.2))

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.7.0
Operating System: Linux 6.11.6-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.2.2 [CoredumpBackend]

-- Information about the crash:
When starting Kontact I get a crash report notification that says that Imap (imap.mail.me.com) has crashed. Mail is still fetched and seems to work normally.

The crash can be reproduced every time.

-- Backtrace:
Application: Imap (imap.mail.me.com) (akonadi_imap_resource), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
Downloading separate debug info for /usr/bin/akonadi_imap_resource...

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
[New LWP 2116]
[New LWP 2259]
[New LWP 2173]
[New LWP 11139]
[New LWP 10935]
[New LWP 2138]
[New LWP 2249]
[New LWP 2248]
[New LWP 6282]
[New LWP 10831]
[New LWP 2172]
Downloading 830.93 K separate debug info for /usr/lib/libmpg123.so.0...
Downloading 102.84 K separate debug info for /usr/lib/libgbm.so.1...
Downloading 37.92 M separate debug info for /usr/lib/libgallium-24.2.6-arch1.1.so...
Downloading 97.47 K separate debug info for /usr/lib/libglapi.so.0...
Downloading 903.25 K separate debug info for /usr/lib/libEGL_mesa.so.0...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_0'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7cf63d61a1c0 (LWP 2116))]

Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
Downloading 8.44 K source file /usr/src/debug/mesa/build/../mesa-24.2.6/src/c11/impl/threads_posix.c...
Downloading 20.88 K source file /usr/src/debug/mesa/build/../mesa-24.2.6/src/util/u_queue.c...
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:533: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x7cf63d61a1c0 (LWP 2116))]

Thread 11 (Thread 0x7cf63ac006c0 (LWP 2172)):
#0  0x00007cf643b1a63d in __GI___poll (fds=fds@entry=0x7cf63abffb20, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007cf64056e417 in poll (__fds=0x7cf63abffb20, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44
#2  QtWaylandClient::EventThread::run (this=0x645876491490) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#3  0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#5  QThreadPrivate::start (arg=0x645876491490) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#6  0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x7cf613e006c0 (LWP 10831)):
#0  0x00007cf643a9fa19 in __futex_abstimed_wait_common64 (private=0, futex_word=0x7cf6002e52d0, expected=0, op=137, abstime=0x7cf613dffa80, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7cf6002e52d0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7cf613dffa80, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007cf643a9fa9f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7cf6002e52d0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7cf613dffa80, private=private@entry=0) at futex-internal.c:139
#3  0x00007cf643aa27e2 in __pthread_cond_wait_common (cond=0x7cf6002e52a8, mutex=<optimized out>, clockid=1, abstime=0x7cf613dffa80) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x7cf6002e52a8, mutex=<optimized out>, abstime=0x7cf613dffa80) at pthread_cond_wait.c:643
#5  0x00007cf6442dcfc8 in QWaitConditionPrivate::wait_relative (this=0x7cf6002e5280, deadline=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:92
#6  QWaitConditionPrivate::wait (this=0x7cf6002e5280, deadline=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:100
#7  QWaitCondition::wait (this=this@entry=0x7cf6002e5a80, mutex=mutex@entry=0x7cf60022cc58, deadline=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:180
#8  0x00007cf6442de9d5 in QThreadPoolThread::run (this=0x7cf6002e5a70) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadpool.cpp:116
#9  0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#11 QThreadPrivate::start (arg=0x7cf6002e5a70) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#12 0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7cf6198006c0 (LWP 6282)):
#0  0x00007cf643b1abb0 in __GI_ppoll (fds=fds@entry=0x645876686490, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007cf643285227 in ppoll (__fds=0x645876686490, __nfds=1, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7cf5fc005d10, timeout_usec=<optimized out>, fds=0x645876686490, n_fds=1) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7cf5fc005d10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x00007cf643221a55 in g_main_context_iteration (context=0x7cf5fc005d10, may_block=1) at ../glib/glib/gmain.c:4338
#5  0x00007cf6443bf71d in QEventDispatcherGlib::processEvents (this=0x7cf5fc002080, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x00007cf644164566 in QEventLoop::processEvents (this=0x7cf6197ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x7cf6197ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x00007cf6442571d2 in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:621
#9  QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:742
#10 0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x7cf60031a690) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#14 0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7cf62de006c0 (LWP 2248)):
#0  0x00007cf643a9fa19 in __futex_abstimed_wait_common64 (private=0, futex_word=0x6458765f1198, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x6458765f1198, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007cf643a9fa9f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x6458765f1198, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007cf643aa2479 in __pthread_cond_wait_common (cond=0x6458765f1170, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x6458765f1170, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007cf6226cf2ae in cnd_wait () at ../mesa-24.2.6/src/c11/impl/threads_posix.c:135
#6  0x00007cf6226ab7fc in util_queue_thread_func () at ../mesa-24.2.6/src/util/u_queue.c:290
#7  0x00007cf6226cf1dd in impl_thrd_routine () at ../mesa-24.2.6/src/c11/impl/threads_posix.c:67
#8  0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7cf62d4006c0 (LWP 2249)):
#0  0x00007cf643a9fa19 in __futex_abstimed_wait_common64 (private=0, futex_word=0x6458765ddd38, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x6458765ddd38, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007cf643a9fa9f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x6458765ddd38, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007cf643aa2479 in __pthread_cond_wait_common (cond=0x6458765ddd10, mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x6458765ddd10, mutex=<optimized out>) at pthread_cond_wait.c:618
#5  0x00007cf6226cf2ae in cnd_wait () at ../mesa-24.2.6/src/c11/impl/threads_posix.c:135
#6  0x00007cf6226ab7fc in util_queue_thread_func () at ../mesa-24.2.6/src/util/u_queue.c:290
#7  0x00007cf6226cf1dd in impl_thrd_routine () at ../mesa-24.2.6/src/c11/impl/threads_posix.c:67
#8  0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7cf63c8006c0 (LWP 2138)):
#0  0x00007cf643b1abb0 in __GI_ppoll (fds=fds@entry=0x6458763d1930, nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007cf643285227 in ppoll (__fds=0x6458763d1930, __nfds=3, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7cf634000cb0, timeout_usec=<optimized out>, fds=0x6458763d1930, n_fds=3) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7cf634000cb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x00007cf643221a55 in g_main_context_iteration (context=0x7cf634000cb0, may_block=1) at ../glib/glib/gmain.c:4338
#5  0x00007cf6443bf71d in QEventDispatcherGlib::processEvents (this=0x7cf634000ba0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x00007cf644164566 in QEventLoop::processEvents (this=0x7cf63c7ffae0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x7cf63c7ffae0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x00007cf644257072 in QThread::exec (this=this@entry=0x7cf6457feb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#9  0x00007cf64577379e in QDBusConnectionManager::run (this=0x7cf6457feb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#10 0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x7cf6457feb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#14 0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7cf618e006c0 (LWP 10935)):
#0  0x00007cf643b1abb0 in __GI_ppoll (fds=fds@entry=0x6458764a7090, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007cf643285227 in ppoll (__fds=0x6458764a7090, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7cf5f408aef0, timeout_usec=<optimized out>, fds=0x6458764a7090, n_fds=2) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7cf5f408aef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x00007cf643221a55 in g_main_context_iteration (context=0x7cf5f408aef0, may_block=1) at ../glib/glib/gmain.c:4338
#5  0x00007cf6443bf71d in QEventDispatcherGlib::processEvents (this=0x7cf5f408aff0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x00007cf644164566 in QEventLoop::processEvents (this=0x7cf618dffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x7cf618dffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x00007cf6442571d2 in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:621
#9  QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:742
#10 0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x6458764a1810) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#14 0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7cf61a2006c0 (LWP 11139)):
#0  0x00007cf643b1abb0 in __GI_ppoll (fds=fds@entry=0x7cf6002cf750, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007cf643285227 in ppoll (__fds=0x7cf6002cf750, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7cf60002bd10, timeout_usec=<optimized out>, fds=0x7cf6002cf750, n_fds=2) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7cf60002bd10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x00007cf643221a55 in g_main_context_iteration (context=0x7cf60002bd10, may_block=1) at ../glib/glib/gmain.c:4338
#5  0x00007cf6443bf71d in QEventDispatcherGlib::processEvents (this=0x7cf6002cf110, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x00007cf644164566 in QEventLoop::processEvents (this=0x7cf61a1ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x7cf61a1ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x00007cf6442571d2 in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:621
#9  QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:742
#10 0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x645876653620) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#14 0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7cf63a2006c0 (LWP 2173)):
#0  0x00007cf643b1a63d in __GI___poll (fds=fds@entry=0x7cf63a1ffb20, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007cf64056e417 in poll (__fds=0x7cf63a1ffb20, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44
#2  QtWaylandClient::EventThread::run (this=0x645876490190) at /usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#3  0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#5  QThreadPrivate::start (arg=0x645876490190) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#6  0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7cf62ca006c0 (LWP 2259)):
#0  0x00007cf643b1abb0 in __GI_ppoll (fds=fds@entry=0x6458766e6dd0, nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007cf643285227 in ppoll (__fds=0x6458766e6dd0, __nfds=3, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7cf608000c90, timeout_usec=<optimized out>, fds=0x6458766e6dd0, n_fds=3) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7cf608000c90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x00007cf643221a55 in g_main_context_iteration (context=0x7cf608000c90, may_block=1) at ../glib/glib/gmain.c:4338
#5  0x00007cf6443bf71d in QEventDispatcherGlib::processEvents (this=0x7cf608000ba0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x00007cf644164566 in QEventLoop::processEvents (this=0x7cf62c9ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x7cf62c9ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x00007cf6442571d2 in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:621
#9  QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread.cpp:742
#10 0x00007cf6442d840f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x6458766d7330) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x00007cf643aa339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#14 0x00007cf643b2849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7cf63d61a1c0 (LWP 2116)):
[KCrash Handler]
#5  0x00007cf645eb6367 in QExplicitlySharedDataPointer<Akonadi::AttributeStoragePrivate>::operator-> (this=<optimized out>) at /usr/include/qt6/QtCore/qshareddata.h:137
#6  Akonadi::AttributeStorage::hasAttribute (this=0x80, type=...) at /usr/src/debug/akonadi/akonadi-24.08.2/src/core/attributestorage.cpp:102
#7  Akonadi::Collection::hasAttribute (this=this@entry=0x7cf5f00333f8, type=...) at /usr/src/debug/akonadi/akonadi-24.08.2/src/core/collection.cpp:163
#8  0x00007cf646334fc7 in Akonadi::Collection::hasAttribute<Akonadi::SpecialCollectionAttribute> (this=0x7cf5f00333f8) at /usr/src/debug/akonadi/akonadi-24.08.2/src/core/collection.h:595
#9  (anonymous namespace)::sortCollectionsForSync (l=..., r=...) at /usr/src/debug/akonadi/akonadi-24.08.2/src/agentbase/resourcebase.cpp:850
#10 0x00007cf646348e62 in __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)>::operator()<QList<Akonadi::Collection>::iterator, QList<Akonadi::Collection>::iterator> (this=<synthetic pointer>, __it1=..., __it2=...) at /usr/include/c++/14.2.1/bits/predefined_ops.h:158
#11 std::__unguarded_partition<QList<Akonadi::Collection>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> > (__first=..., __last=..., __pivot=..., __comp=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:1838
#12 std::__unguarded_partition_pivot<QList<Akonadi::Collection>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> > (__first=..., __last=..., __comp=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:1857
#13 std::__introsort_loop<QList<Akonadi::Collection>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> >(QList<Akonadi::Collection>::iterator, QList<Akonadi::Collection>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)>) [clone .constprop.0] (__first=__first@entry=..., __last=..., __last@entry=..., __depth_limit=<optimized out>, __comp=..., __comp@entry=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:1889
#14 0x00007cf64633848d in std::__sort<QList<Akonadi::Collection>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> > (__first=..., __last=..., __comp=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:1905
#15 std::sort<QList<Akonadi::Collection>::iterator, bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> (__first=..., __last=..., __comp=0x7cf646334e30 <(anonymous namespace)::sortCollectionsForSync(Akonadi::Collection const&, Akonadi::Collection const&)>) at /usr/include/c++/14.2.1/bits/stl_algo.h:4804
#16 Akonadi::ResourceBasePrivate::slotLocalListDone (this=0x645876632630, job=<optimized out>) at /usr/src/debug/akonadi/akonadi-24.08.2/src/agentbase/resourcebase.cpp:888
#17 0x00007cf6441b2229 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:486
#18 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4120
#19 0x00007cf6460d6c27 in KJob::result (this=this@entry=0x64587668deb0, _t1=<optimized out>, _t1@entry=0x64587668deb0, _t2=...) at /usr/src/debug/kcoreaddons/build/src/lib/KF6CoreAddons_autogen/include/moc_kjob.cpp:622
#20 0x00007cf6460dcdec in KJob::finishJob (this=0x64587668deb0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons/kcoreaddons-6.7.0/src/lib/jobs/kjob.cpp:98
#21 0x00007cf6441a348a in QObject::event (this=0x64587668deb0, e=0x7cf6002f9ff0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1419
#22 0x00007cf6450fe31a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x64587668deb0, e=0x7cf6002f9ff0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3294
#23 0x00007cf6441585a8 in QCoreApplication::notifyInternal2 (receiver=0x64587668deb0, event=event@entry=0x7cf6002f9ff0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1165
#24 0x00007cf644159035 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1609
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6458763bbb40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1965
#26 0x00007cf6443c23fc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#27 postEventSourceDispatch (s=0x6458764a1520) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#28 0x00007cf643222559 in g_main_dispatch (context=0x7cf634000f30) at ../glib/glib/gmain.c:3357
#29 0x00007cf643285157 in g_main_context_dispatch_unlocked (context=0x7cf634000f30) at ../glib/glib/gmain.c:4208
#30 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7cf634000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#31 0x00007cf643221a55 in g_main_context_iteration (context=0x7cf634000f30, may_block=1) at ../glib/glib/gmain.c:4338
#32 0x00007cf6443bf71d in QEventDispatcherGlib::processEvents (this=0x6458763c3560, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#33 0x00007cf644164566 in QEventLoop::processEvents (this=0x7ffe4a739420, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#34 QEventLoop::exec (this=0x7ffe4a739420, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#35 0x00007cf644159a2f in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#36 0x00007cf6450fa74a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2562
#37 0x00007cf646331fae in Akonadi::ResourceBase::init (r=...) at /usr/src/debug/akonadi/akonadi-24.08.2/src/agentbase/resourcebase.cpp:554
#38 0x00006458647cd378 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KPim6/AkonadiAgentBase/akonadi/resourcebase.h:184
#39 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-runtime/kdepim-runtime-24.08.2/resources/imap/main.cpp:9

Reported using DrKonqi
Comment 1 Carl Schwan 2024-12-17 12:51:10 UTC
*** Bug 476448 has been marked as a duplicate of this bug. ***
Comment 2 Carl Schwan 2024-12-17 12:51:40 UTC
*** Bug 476421 has been marked as a duplicate of this bug. ***