Bug 514166

Summary: Kontact starts with error report: Failed to load the component for email... , and crashes later.
Product: [Applications] kontact Reporter: Andreas Hencke <andreas.hencke>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: arojas, montel
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/336105/events/d9df5f4a67c44ca8bc75212c8d6008b8/
Attachments: New crash information added by DrKonqi
Output aconadictl status
kontact started via konsole.
Partially output from pacman.log

Description Andreas Hencke 2026-01-05 00:58:35 UTC
Application: kontact (6.6.0 (25.12.0))

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.1
Frameworks Version: 6.21.0
Operating System: Linux 6.12.63-1-lts x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 6.5.4 [CoredumpBackend]

-- Information about the crash:
Today I did my daily #pacman -Syu. After a reboot when I tried to start kontact, it started with the error report:

Das Laden der Komponente für E-Mail ist fehlgeschlagen.
Modul kann nicht von /usr/lib/qt6/plugins/kmailpart.so geladen werden: Die Bibliothek /usr/lib/qt6/plugins/kmailpart.so kann nicht geladen werden: /usr/lib/libKPim6MessageComposer.so.6: undefined symbol: _ZN17TextAddonsWidgets23RichTextQuickTextFormat14setFormatTypesERK6QFlagsINS0_19QuickTextFormatTypeEE

After repeatedly dismissing this message, Kontact finally starts. Akregator starts normally, but "Journals" and "kmail" indicateing error messages, and Kontacts attempts to start Akonadi.
Output of akonaditl status:

andreas@rex-PC:~/ > akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (Remote Search)
Available Agent Types: akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_etesync_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mailmerge_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
andreas@rex-PC:~/ > 

I was trying to find some more information within kontact

This happened an two of my PC, so I won't update another atm.

I will attach the output of pacman.log (partial) and of kontact startet via konsole.

Thank you for looking into that problem.

Andreas Hencke

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QObject::property (this=this@entry=0x60a93b790ab0, name=name@entry=0x7bf9e8098ec6 "_k_DefaultShortcut") at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4463
#7  0x00007bf9e8089c36 in KXMLGUIFactory::plugActionList (this=0x60a93a4d5140, client=0x60a93a907a58, name=<optimized out>, actionList=...) at /usr/src/debug/kxmlgui/kxmlgui-6.21.0/src/kxmlguifactory.cpp:541
#8  0x00007bf9742d0376 in PimCommon::PluginInterface::initializePluginActions (this=<optimized out>, prefix=..., guiClient=0x60a93a907a58) at /usr/src/debug/pimcommon/pimcommon-25.12.0/src/pimcommonakonadi/genericplugins/plugininterface.cpp:154
#9  0x00007bf97439613d in MainWidget::initializePluginActions (this=0x60a939e42ba0) at /usr/include/qt6/QtCore/qarraydatapointer.h:452
#10 0x00007bf9e65c4925 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1443
#11 0x00007bf9e77021c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x60a93a907a30, e=0x7fffab2bdbd0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#12 0x00007bf9e656a958 in QCoreApplication::notifyInternal2 (receiver=0x60a93a907a30, event=0x7fffab2bdbd0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#13 0x00007bf9e656a99d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#14 0x00007bf9e6b65fa2 in KParts::MainWindow::createGUI (this=this@entry=0x60a939be8910, part=0x60a93a907a30) at /usr/src/debug/kparts/kparts-6.21.0/src/mainwindow.cpp:77
#15 0x00007bf9e810e6fc in Kontact::MainWindow::selectPlugin (this=0x60a939be8910, plugin=<optimized out>) at /usr/src/debug/kontact/kontact-25.12.0/src/mainwindow.cpp:748
#16 0x00007bf9e65d771a in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4269
[...]
#18 Kontact::SidePaneBase::pluginSelected (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kontact/build/src/kontactprivate_autogen/include/moc_sidepanebase.cpp:123
#19 0x00007bf9e65d734f in QtPrivate::QSlotObjectBase::call (this=0x60a939e48ad0, r=0x60a939e1a170, a=0x7fffab2be070, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#20 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4257
[...]
#22 Kontact::Navigator::pluginActivated (this=0x60a939e1c330, _t1=<optimized out>) at /usr/src/debug/kontact/build/src/kontactprivate_autogen/include/moc_iconsidepane.cpp:120
#23 Kontact::Navigator::slotCurrentChanged (this=0x60a939e1c330, current=...) at /usr/src/debug/kontact/kontact-25.12.0/src/iconsidepane.cpp:476


Reported using DrKonqi
Comment 1 Andreas Hencke 2026-01-05 00:58:36 UTC
Created attachment 188219 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Andreas Hencke 2026-01-05 01:01:52 UTC
Created attachment 188220 [details]
Output  aconadictl status
Comment 3 Andreas Hencke 2026-01-05 01:06:24 UTC
Comment on attachment 188220 [details]
Output  aconadictl status

Sorry I wanted to attach another output.
Comment 4 Andreas Hencke 2026-01-05 01:07:27 UTC
Created attachment 188222 [details]
kontact started via konsole.
Comment 5 Andreas Hencke 2026-01-05 01:12:18 UTC
Created attachment 188223 [details]
Partially output from pacman.log

Since the error occurred after a # pacman -Syu, I attach an excerpt from /var/log/pacman.log.
Comment 6 Laurent Montel 2026-01-05 06:12:47 UTC
Your package are not uptodate.
Please update all your package.
It's not a kde bugs.
Regards
Comment 7 Antonio Rojas 2026-01-05 07:53:29 UTC
(In reply to Laurent Montel from comment #6)
> Your package are not uptodate.
> Please update all your package.
> It's not a kde bugs.
> Regards

It is an kdepim bug technically speaking because you broke the ktextaddons ABI and didn't bump the soversion.