Bug 508715

Summary: plantage de l'envoi des mails
Product: [Frameworks and Libraries] Akonadi Reporter: Frédéric CUIF <fc>
Component: Mail Dispatcher AgentAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: asturm, carl, stefano.crocco, winter
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: akonadi_maildispatcher_agent-20250905-144704.kcrash

Description Frédéric CUIF 2025-08-25 13:06:28 UTC
Application: akonadi_maildispatcher_agent (6.5.0 (25.08.0))

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.17.0
Operating System: Linux 6.15.10-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.4 [CoredumpBackend]

-- Information about the crash:
plantage de mail dispatcher agent après MAJ du système ce jour.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: akonadi_maildispatcher_agent (akonadi_maildispatcher_agent), signal: Aborted

[New LWP 3339]
[New LWP 3343]
[New LWP 3345]
[New LWP 3346]
[New LWP 3342]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, 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 0x7f0638b71dc0 (LWP 3339))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7f0638b71dc0 (LWP 3339))]

Thread 5 (Thread 0x7f062abff6c0 (LWP 3342)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f063fa7c95a in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f063fa7c9a4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f063faf6136 in __GI_ppoll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f063d6f4890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f063d6f4953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f064040f9ad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f0640107b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f064022808d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f06402c5b9f in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#10 0x00007f063fa80154 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f063fb02cac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f0628e716c0 (LWP 3346)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f063fa7c95a in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=0, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f063fa7cfcc in __futex_abstimed_wait_common64 (private=0, futex_word=0x7f0620335328, expected=0, op=<optimized out>, abstime=0x7f0628e706d0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f0620335328, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f0628e706d0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f063fa7d02f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f0620335328, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f0628e706d0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f063fa7f8a8 in __pthread_cond_wait_common (cond=0x7f0620335308, mutex=0x7f06203352e0, clockid=<optimized out>, abstime=0x7f0628e706d0) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x7f0620335308, mutex=0x7f06203352e0, abstime=0x7f0628e706d0) at pthread_cond_wait.c:483
#7  0x00007f06402d3a26 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
#8  0x00007f06402d05f7 in QThreadPoolThread::run() () from /lib64/libQt6Core.so.6
#9  0x00007f06402c5b9f in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#10 0x00007f063fa80154 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f063fb02cac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f06296726c0 (LWP 3345)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f063fa7c95a in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f063fa7c9a4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f063faf6136 in __GI_ppoll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f063d6f4890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f063d6f4953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f064040f9d1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f0640107b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f064022808d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f0638a9ed72 in KSmtp::SessionThread::run() () from /lib64/libKPim6SMTP.so.6
#10 0x00007f06402c5b9f in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#11 0x00007f063fa80154 in start_thread (arg=<optimized out>) at pthread_create.c:448
#12 0x00007f063fb02cac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f062a3fe6c0 (LWP 3343)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f063fa7c95a in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f063fa7c9a4 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f063faf6136 in __GI_ppoll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f063d6f4890 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f063d6f4953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f064040f9ad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#7  0x00007f0640107b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#8  0x00007f064022808d in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f0640723821 in ?? () from /lib64/libQt6DBus.so.6
#10 0x00007f062a3fd7c0 in ?? ()
#11 0x00007f0640225f63 in QThread::started(QThread::QPrivateSignal) () from /lib64/libQt6Core.so.6
#12 0x00007f06402c5b9f in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
#13 0x00007f063fa80154 in start_thread (arg=<optimized out>) at pthread_create.c:448
#14 0x00007f063fb02cac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f0638b71dc0 (LWP 3339)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f063fa82163 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f063fa28a7e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f063fa106d0 in __GI_abort () at abort.c:77
#9  0x00007f064001ad1c in qAbort() () from /lib64/libQt6Core.so.6
#10 0x00007f064006e3f8 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () from /lib64/libQt6Core.so.6
#11 0x00007f064001c42e in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt6Core.so.6
#12 0x00007f063dc33b57 in QWidgetPrivate::init(QWidget*, QFlags<Qt::WindowType>) [clone .cold] () from /lib64/libQt6Widgets.so.6
#13 0x00007f063deea9d0 in QDialog::QDialog(QWidget*, QFlags<Qt::WindowType>) () from /lib64/libQt6Widgets.so.6
#14 0x00007f063f48a6f2 in KMessageBox::warningTwoActionsCancelList(QWidget*, QString const&, QList<QString> const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /lib64/libKF6WidgetsAddons.so.6
#15 0x00007f063f48a77e in KMessageBox::warningTwoActionsCancel(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /lib64/libKF6WidgetsAddons.so.6
#16 0x00007f0629b7dde1 in KIO::SslUi::askIgnoreSslErrors(KSslErrorUiData const&, KIO::SslUi::RulesStorage) () from /lib64/libKF6KIOWidgets.so.6
#17 0x00007f0638a96bc5 in KSmtp::SessionPrivate::handleSslError(KSslErrorUiData const&) () from /lib64/libKPim6SMTP.so.6
#18 0x00007f064015662c in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#19 0x00007f06400f9ed8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#20 0x00007f06400fdd26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6
#21 0x00007f064041016f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#22 0x00007f063d6eb863 in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#23 0x00007f063d6f47a8 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#24 0x00007f063d6f4953 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007f064040f9ad in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#26 0x00007f0640107b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#27 0x00007f0640103419 in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#28 0x00005595c40f46a9 in Akonadi::AgentBase::initCore<MailDispatcherAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KPim6/AkonadiAgentBase/akonadi/agentbase.h:449
#29 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-runtime-25.08.0-1.fc42.x86_64/agents/maildispatcher/maildispatcheragent.cpp:287

Reported using DrKonqi
Comment 1 Andreas Sturmlechner 2025-09-05 12:57:42 UTC
Created attachment 184738 [details]
akonadi_maildispatcher_agent-20250905-144704.kcrash
Comment 2 Allen Winter 2025-09-06 13:00:06 UTC
this should be fixed in the next patch point release coming next month.
the patch was added for 25.08 a few days after the tagging, so it will be included with 25.08.01

for the record, the fix is commit  a32a5fea481930f3af6a58492396ef3680190883 in project kdepim-runtime
Comment 3 Allen Winter 2025-09-06 13:02:05 UTC
you may want to contact your distros to apply this patch now, rather than having to wait for 25.08.01
Comment 4 Allen Winter 2025-09-07 18:58:51 UTC
*** Bug 509182 has been marked as a duplicate of this bug. ***
Comment 5 Allen Winter 2025-09-07 18:59:47 UTC
FYI:  I emailed the distributions today and asked them to apply the patch to fix this one.
rather than having everyone wait until 25.08.1 is released next month
Comment 6 Andreas Sturmlechner 2025-09-07 19:20:17 UTC
(In reply to Allen Winter from comment #5)
> rather than having everyone wait until 25.08.1 is released next month
Thanks! 25.08.1 is due Sep 11th, fwiw.