Bug 464440 - KMail crashes on startup after being stuck
Summary: KMail crashes on startup after being stuck
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-18 08:30 UTC by Erik Quaeghebeur
Modified: 2023-01-18 08:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2023-01-18 08:30:05 UTC
Application: kmail (5.21.3 (22.08.3))
 (Compiled from sources)
Qt Version: 5.15.8
Frameworks Version: 5.99.0
Operating System: Linux 5.15.88-gentoo-a x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
KMail was stuck loading folder contents. This can often be resolved by restarting it and/or Akonadi. Like now, this often results in a crash when restarting.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x65006d0061016e
#5  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x65006d0061016e
#6  QBasicAtomicInteger<int>::loadRelaxed() const (this=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x65006d0061016e
#7  QtPrivate::RefCount::isShared() const (this=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x65006d0061016e
#8  QList<QWidget*>::append(QWidget* const&) (this=0x65006d0061016e, t=@0x7ffec9e6b1b0: 0x5bf37c295430) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/tools/qlist.h:622
#9  0x0000762a0c12f5d9 in QWidget::insertAction(QAction*, QAction*) (this=this@entry=0x5bf37c295430, before=<optimized out>, before@entry=0x0, action=0x5bf37c482260) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:3138
#10 0x0000762a0afea8c2 in KXMLGUI::ActionList::plug(QWidget*, int) const (this=this@entry=0x5bf37c235bf0, container=0x5bf37c295430, index=<optimized out>) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguifactory_p.cpp:33
#11 0x0000762a0afeefe4 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&, QTypedArrayData<KXMLGUI::MergingIndex>::iterator const&) (this=this@entry=0x5bf37c43add0, state=..., mergingIdxIt=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguifactory_p.cpp:209
#12 0x0000762a0afef21e in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=0x5bf37c43add0, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguifactory_p.cpp:181
#13 0x0000762a0afef259 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=<optimized out>, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguifactory_p.cpp:185
#14 0x0000762a0afef259 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=<optimized out>, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguifactory_p.cpp:185
#15 0x0000762a0afe7ed7 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) (this=0x5bf37c213560, client=client@entry=0x5bf37d0bb3a0, name=..., actionList=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguifactory.cpp:564
#16 0x0000762a0afdeaa9 in KXMLGUIClient::plugActionList(QString const&, QList<QAction*> const&) (this=this@entry=0x5bf37d0bb3a0, name=..., actionList=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.99.0/work/kxmlgui-5.99.0/src/kxmlguiclient.cpp:697
#17 0x0000762a0a00828b in PimCommon::PluginInterface::initializePluginActions(QString const&, KXMLGUIClient*) (this=<optimized out>, prefix=..., guiClient=0x5bf37d0bb3a0) at /var/tmp/portage/kde-apps/pimcommon-22.08.3/work/pimcommon-22.08.3/src/pimcommonakonadi/genericplugins/plugininterface.cpp:152
#18 0x0000762a14664550 in KMMainWidget::initializePluginActions() (this=0x762948117c70) at /var/tmp/portage/kde-apps/kmail-22.08.3-r1/work/kmail-22.08.3/src/kmmainwidget.cpp:4182
#19 0x0000762a1466f734 in KMMainWidget::slotShowStartupFolder() (this=0x762948117c70) at /var/tmp/portage/kde-apps/kmail-22.08.3-r1/work/kmail-22.08.3/src/kmmainwidget.cpp:4088
#20 0x0000762a0b748f46 in QObject::event(QEvent*) (this=0x762948117c70, e=0x5bf37c480580) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qobject.cpp:1347
#21 0x0000762a0c0f5a6f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x762948117c70, e=0x5bf37c480580) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:3640
#22 0x0000762a0b71d318 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x762948117c70, event=0x5bf37c480580) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qcoreapplication.cpp:1064
#23 0x0000762a0b7209a5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5bf37bc4f5d0) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qcoreapplication.cpp:1821
#24 0x0000762a0b770013 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5bf37bd59dd0) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#25 0x0000762a05d7415b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#26 0x0000762a05d74418 in  () at /usr/lib64/libglib-2.0.so.0
#27 0x0000762a05d744cf in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#28 0x0000762a0b76faa4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5bf37bd5fd10, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#29 0x0000762a0b71bcfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffec9e6b900, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x0000762a0b72435d in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x0000762a0bb0919c in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.8-r1/work/qtbase-everywhere-src-5.15.8/src/gui/kernel/qguiapplication.cpp:1870
#32 0x0000762a0c0f59e5 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.8/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:2832
#33 0x00005bf37a097b45 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kmail-22.08.3-r1/work/kmail-22.08.3/src/main.cpp:184
[Inferior 1 (process 7106) detached]

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

Reported using DrKonqi