Bug 471834

Summary: KMail crashes after being stuck sending an email
Product: [Applications] kmail2 Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Erik Quaeghebeur 2023-07-01 15:24:30 UTC
Application: kmail (5.22.3 (22.12.3))
 (Compiled from sources)
Qt Version: 5.15.9
Frameworks Version: 5.106.0
Operating System: Linux 6.1.31-gentoo-b x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
I was trying to send an email. Because it didn't go (grayed out) and nothing happened, I closed and restarting KMail, which then crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault

[KCrash Handler]
#4  0x000072d99e56f297 in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/atomic_base.h:488
#5  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed() const (this=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#7  QtPrivate::RefCount::isShared() const (this=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/tools/qrefcount.h:101
#8  QList<QWidget*>::append(QWidget* const&) (this=0x586361e94e60, t=@0x7ffddce91470: 0x5863616e8cb0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/tools/qlist.h:622
#9  0x000072d99e59d4b0 in QWidget::insertAction(QAction*, QAction*) (this=this@entry=0x5863616e8cb0, before=<optimized out>, before@entry=0x0, action=0x5863618acb60) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qwidget.cpp:3138
#10 0x000072d99d3bad92 in KXMLGUI::ActionList::plug(QWidget*, int) const (this=this@entry=0x586361ac2030, container=0x5863616e8cb0, index=<optimized out>) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguifactory_p.cpp:33
#11 0x000072d99d3bf4d3 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&, QTypedArrayData<KXMLGUI::MergingIndex>::iterator const&) (this=this@entry=0x5863619f18d0, state=..., mergingIdxIt=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguifactory_p.cpp:209
#12 0x000072d99d3bf712 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=0x5863619f18d0, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguifactory_p.cpp:181
#13 0x000072d99d3bf745 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=<optimized out>, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguifactory_p.cpp:185
#14 0x000072d99d3bf745 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=<optimized out>, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguifactory_p.cpp:185
#15 0x000072d99d3b8437 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) (this=0x586361a21200, client=client@entry=0x586368a0d4f0, name=..., actionList=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguifactory.cpp:564
#16 0x000072d99d3af01d in KXMLGUIClient::plugActionList(QString const&, QList<QAction*> const&) (this=this@entry=0x586368a0d4f0, name=..., actionList=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.106.0/work/kxmlgui-5.106.0/src/kxmlguiclient.cpp:697
#17 0x000072d99c58051b in PimCommon::PluginInterface::initializePluginActions(QString const&, KXMLGUIClient*) (this=<optimized out>, prefix=..., guiClient=0x586368a0d4f0) at /var/tmp/portage/kde-apps/pimcommon-22.12.3/work/pimcommon-22.12.3/src/pimcommonakonadi/genericplugins/plugininterface.cpp:154
#18 0x000072d9a6e0dc8e in KMMainWidget::initializePluginActions() (this=this@entry=0x5863718fc130) at /var/tmp/portage/kde-apps/kmail-22.12.3/work/kmail-22.12.3/src/kmmainwidget.cpp:4190
#19 0x000072d9a6e18a73 in KMMainWidget::slotShowStartupFolder() (this=0x5863718fc130) at /var/tmp/portage/kde-apps/kmail-22.12.3/work/kmail-22.12.3/src/kmmainwidget.cpp:4096
#20 0x000072d99daaf8c4 in QObject::event(QEvent*) (this=0x5863718fc130, e=0x58636492d000) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:1347
#21 0x000072d99e56344e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5863718fc130, e=0x58636492d000) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:3640
#22 0x000072d99da83f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5863718fc130, event=0x58636492d000) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1064
#23 0x000072d99da8413e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1462
#24 0x000072d99da87483 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5863611bbdd0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1821
#25 0x000072d99da87728 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1680
#26 0x000072d99dad66e3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x586361296e30) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#27 0x000072d99972b51c in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#28 0x000072d99972b7c8 in  () at /usr/lib64/libglib-2.0.so.0
#29 0x000072d99972b85c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#30 0x000072d99dad61e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x58636129ebb0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#31 0x000072d99da8296b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffddce91bd0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x000072d99da8ac46 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x000072d99df1bbcc in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.9/work/qtbase-everywhere-src-5.15.9/src/gui/kernel/qguiapplication.cpp:1870
#34 0x000072d99e5633c5 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:2832
#35 0x000058635fd83ad4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kmail-22.12.3/work/kmail-22.12.3/src/main.cpp:185
[Inferior 1 (process 2038) detached]

The reporter indicates this bug may be a duplicate of or related to bug 464440.

Reported using DrKonqi