Bug 466233 - KMail crashes after restart after akonadi-restart when mail was not being sent
Summary: KMail crashes after restart after akonadi-restart when mail was not being sent
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-02-22 09:17 UTC by Erik Quaeghebeur
Modified: 2023-02-22 09:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2023-02-22 09:17:02 UTC
Application: kmail (5.21.3 (22.08.3))
 (Compiled from sources)
Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.12-gentoo-c x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
I tried to send a mail using KMail, but it did not do that. So I restarted akonadi (the go-to solution for most issues…). Then KMail's folder list became empty. So I quit it and restarted. Then KMail crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KMail (kmail), signal: Aborted

[KCrash Handler]
#4  0x0000770ecf6b0f9c in  () at /usr/lib64/libc.so.6
#5  0x0000770ecf663b62 in raise () at /usr/lib64/libc.so.6
#6  0x0000770ecf64e471 in abort () at /usr/lib64/libc.so.6
#7  0x0000770ecf49e99f in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6
#8  0x0000770ecf4aa5d6 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6
#9  0x0000770ecf4aa641 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6
#10 0x0000770ecf4aa8a2 in  () at /usr/lib/gcc/x86_64-pc-linux-gnu/12/libstdc++.so.6
#11 0x0000770ecf890f96 in qBadAlloc() () at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/global/qglobal.cpp:3371
#12 0x0000770ecf89397e in QListData::detach_grow(int*, int) (this=this@entry=0x5d4cd94a8110, idx=idx@entry=0x7ffd8a8d799c, num=num@entry=1) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/tools/qlist.cpp:97
#13 0x0000770ed056f1ac in QList<QWidget*>::detach_helper_grow(int, int) (this=0x5d4cd94a8110, i=<optimized out>, i@entry=2147483647, c=c@entry=1) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/tools/qlist.h:803
#14 0x0000770ed056f2ad in QList<QWidget*>::append(QWidget* const&) (this=<optimized out>, t=@0x7ffd8a8d79f0: 0x5d4ce23f5e40) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/tools/qlist.h:623
#15 0x0000770ed059d4b0 in QWidget::insertAction(QAction*, QAction*) (this=this@entry=0x5d4ce23f5e40, before=<optimized out>, before@entry=0x0, action=0x5d4cd94bdbd0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:3138
#16 0x0000770ecf3ba982 in KXMLGUI::ActionList::plug(QWidget*, int) const (this=this@entry=0x5d4ce547c9e0, container=0x5d4ce23f5e40, index=<optimized out>) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguifactory_p.cpp:33
#17 0x0000770ecf3bf0c3 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&, QTypedArrayData<KXMLGUI::MergingIndex>::iterator const&) (this=this@entry=0x5d4cdd7b2050, state=..., mergingIdxIt=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguifactory_p.cpp:209
#18 0x0000770ecf3bf302 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=0x5d4cdd7b2050, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguifactory_p.cpp:181
#19 0x0000770ecf3bf335 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=<optimized out>, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguifactory_p.cpp:185
#20 0x0000770ecf3bf335 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=<optimized out>, state=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguifactory_p.cpp:185
#21 0x0000770ecf3b8027 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) (this=0x5d4ce91e9a90, client=client@entry=0x5d4ce4e1d100, name=..., actionList=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguifactory.cpp:564
#22 0x0000770ecf3aec0d in KXMLGUIClient::plugActionList(QString const&, QList<QAction*> const&) (this=this@entry=0x5d4ce4e1d100, name=..., actionList=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kxmlguiclient.cpp:697
#23 0x0000770ece49d28b in PimCommon::PluginInterface::initializePluginActions(QString const&, KXMLGUIClient*) (this=<optimized out>, prefix=..., guiClient=0x5d4ce4e1d100) at /var/tmp/portage/kde-apps/pimcommon-22.08.3/work/pimcommon-22.08.3/src/pimcommonakonadi/genericplugins/plugininterface.cpp:152
#24 0x0000770ed8a0beae in KMMainWidget::initializePluginActions() (this=<optimized out>) at /var/tmp/portage/kde-apps/kmail-22.08.3-r2/work/kmail-22.08.3/src/kmmainwidget.cpp:4182
#25 0x0000770ed8a16eb3 in KMMainWidget::slotShowStartupFolder() (this=0x770e692f85e0) at /var/tmp/portage/kde-apps/kmail-22.08.3-r2/work/kmail-22.08.3/src/kmmainwidget.cpp:4088
#26 0x0000770ecfaaf874 in QObject::event(QEvent*) (this=0x770e692f85e0, e=0x5d4ce33eae70) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qobject.cpp:1347
#27 0x0000770ed056344e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x770e692f85e0, e=0x5d4ce33eae70) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:3640
#28 0x0000770ecfa83ef8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x770e692f85e0, event=0x5d4ce33eae70) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qcoreapplication.cpp:1064
#29 0x0000770ecfa87433 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5d4cd8db35d0) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qcoreapplication.cpp:1821
#30 0x0000770ecfad6693 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5d4cd8ebdb30) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#31 0x0000770eca919dc8 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#32 0x0000770eca91a068 in  () at /usr/lib64/libglib-2.0.so.0
#33 0x0000770eca91a0fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#34 0x0000770ecfad6196 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5d4cd8ec3a70, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#35 0x0000770ecfa8291b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd8a8d8150, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x0000770ecfa8abf6 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x0000770ecff0ec4c in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/gui/kernel/qguiapplication.cpp:1870
#38 0x0000770ed05633c5 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:2832
#39 0x00005d4cd7de0ad4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kmail-22.08.3-r2/work/kmail-22.08.3/src/main.cpp:184
[Inferior 1 (process 3376) detached]

Reported using DrKonqi