Bug 472719

Summary: KMail/Kontact crashes when trying to send a mail
Product: [Applications] kontact Reporter: Daniel Ziltener <dziltener>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Ziltener 2023-07-27 21:31:36 UTC
Application: kontact (5.23.3 (23.04.3))

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.4-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
KMail crashes reliably (and takes Kontact with it) when I try to send a mail by using the normal "Send" button. It works, however, when I longpress the "Send" button and choose a sending account.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fa72f40c45b in  () at /lib64/libQt5WaylandClient.so.5
#5  0x00007fa72bf49962 in  () at /lib64/libffi.so.8
#6  0x00007fa72bf462df in  () at /lib64/libffi.so.8
#7  0x00007fa72bf48f26 in ffi_call () at /lib64/libffi.so.8
#8  0x00007fa72fce2a23 in  () at /lib64/libwayland-client.so.0
#9  0x00007fa72fce3203 in  () at /lib64/libwayland-client.so.0
#10 0x00007fa72fce3494 in wl_display_dispatch_queue_pending () at /lib64/libwayland-client.so.0
#11 0x00007fa72f40ca12 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /lib64/libQt5WaylandClient.so.5
#12 0x00007fa739d25743 in  () at /lib64/libQt5Core.so.5
#13 0x00007fa739d464c5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#14 0x00007fa739cebf8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#15 0x00007fa73af77475 in KJob::exec() () at /lib64/libKF5CoreAddons.so.5
#16 0x00007fa6a693aa1e in Kleo::KeyResolver::lookupContactPreferences(QString const&) const () at /lib64/libKPim5MessageComposer.so.5
#17 0x00007fa6a693273b in Kleo::KeyResolver::getEncryptionItems(QStringList const&) () at /lib64/libKPim5MessageComposer.so.5
#18 0x00007fa6a6932f3b in Kleo::KeyResolver::setPrimaryRecipients(QStringList const&) () at /lib64/libKPim5MessageComposer.so.5
#19 0x00007fa6a6922c3a in MessageComposer::ComposerViewBase::generateCryptoMessages(bool&) () at /lib64/libKPim5MessageComposer.so.5
#20 0x00007fa6a6923dc7 in MessageComposer::ComposerViewBase::slotEmailAddressResolved(KJob*) () at /lib64/libKPim5MessageComposer.so.5
#21 0x00007fa739d257a2 in  () at /lib64/libQt5Core.so.5
#22 0x00007fa73af6f845 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib64/libKF5CoreAddons.so.5
#23 0x00007fa73af73beb in  () at /lib64/libKF5CoreAddons.so.5
#24 0x00007fa6a6911900 in MessageComposer::EmailAddressResolveJob::start() () at /lib64/libKPim5MessageComposer.so.5
#25 0x00007fa6a692186c in MessageComposer::ComposerViewBase::readyForSending() () at /lib64/libKPim5MessageComposer.so.5
#26 0x00007fa6a6921c0e in MessageComposer::ComposerViewBase::send(MessageComposer::MessageSender::SendMethod, MessageComposer::MessageSender::SaveIn, bool) () at /lib64/libKPim5MessageComposer.so.5
#27 0x00007fa6a6f7064b in  () at /lib64/libkmailprivate.so.5
#28 0x00007fa739d257a2 in  () at /lib64/libQt5Core.so.5
#29 0x00007fa73af6f845 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib64/libKF5CoreAddons.so.5
#30 0x00007fa73af73beb in  () at /lib64/libKF5CoreAddons.so.5
#31 0x00007fa6a6f82fcb in  () at /lib64/libkmailprivate.so.5
#32 0x00007fa739d257a2 in  () at /lib64/libQt5Core.so.5
#33 0x00007fa73af6f845 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib64/libKF5CoreAddons.so.5
#34 0x00007fa73af73beb in  () at /lib64/libKF5CoreAddons.so.5
#35 0x00007fa6a6f73235 in  () at /lib64/libkmailprivate.so.5
#36 0x00007fa739d257a2 in  () at /lib64/libQt5Core.so.5
#37 0x00007fa6a6f74ecb in  () at /lib64/libkmailprivate.so.5
#38 0x00007fa739d257a2 in  () at /lib64/libQt5Core.so.5
#39 0x00007fa73a99e8b2 in QAction::triggered(bool) () at /lib64/libQt5Widgets.so.5
#40 0x00007fa73a9a142f in QAction::activate(QAction::ActionEvent) () at /lib64/libQt5Widgets.so.5
#41 0x00007fa73aa9862a in  () at /lib64/libQt5Widgets.so.5
#42 0x00007fa73aa98777 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007fa73ab9102a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#44 0x00007fa73a9e6d68 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#45 0x00007fa73a9a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#46 0x00007fa73a9ad5cf in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#47 0x00007fa739ced4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#48 0x00007fa73a9ab92e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib64/libQt5Widgets.so.5
#49 0x00007fa73a9ff7fd in  () at /lib64/libQt5Widgets.so.5
#50 0x00007fa73aa02d1f in  () at /lib64/libQt5Widgets.so.5
#51 0x00007fa73a9a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#52 0x00007fa739ced4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#53 0x00007fa73a17d12b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#54 0x00007fa73a1503ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#55 0x00007fa72f447480 in  () at /lib64/libQt5WaylandClient.so.5
#56 0x00007fa730716988 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#57 0x00007fa730716d98 in  () at /lib64/libglib-2.0.so.0
#58 0x00007fa730716e2c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#59 0x00007fa739d46496 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#60 0x00007fa739cebf8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#61 0x00007fa739cf4420 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#62 0x0000559a4eacffe3 in  ()
#63 0x00007fa73942abf0 in __libc_start_call_main () at /lib64/libc.so.6
#64 0x00007fa73942acb9 in __libc_start_main_impl () at /lib64/libc.so.6
#65 0x0000559a4ead0625 in  ()
[Inferior 1 (process 12856) detached]

Reported using DrKonqi