https://bugs.kde.org/show_bug.cgi?id=459932
Bug ID: 459932
Summary: KMail crashes at startup, with Akonadi unable to start
Classification: Applications
Product: kmail2
Version: unspecified
Platform: OpenSUSE
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kdepim-bugs@kde.org
Reporter: c...@rollins.edu
Target Milestone: ---
Application: kmail (5.21.40 alpha (22.11.40))
Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.0-rc6-1.g2132e28-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.80 [KCrashBackend]
-- Information about the crash:
When trying to start KMail, the window, after loading for around 10 seconds,
shows that Akonadi is unable to be started, before prompty crashing.
The crash can be reproduced every time.
-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr = {get() = 0x0}
[KCrash Handler]
#6 0x7f818ed15ef7 in std::__atomic_base::load(std::memory_order)
const (__m=std::memory_order_relaxed, this=) at
/usr/include/c++/12/bits/atomic_base.h:488
#7 QAtomicOps::loadRelaxed(std::atomic const&)
(_q_value=) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8 QBasicAtomicInteger::loadRelaxed() const (this=) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#9 QtPrivate::RefCount::isShared() const (this=) at
../../include/QtCore/../../src/corelib/tools/qrefcount.h:101
#10 QList::append(QWidget* const&) (this=0x7f818d4342b0,
t=@0x7fffb1fd2230: 0x55c339645790) at
../../include/QtCore/../../src/corelib/tools/qlist.h:622
#11 0x7f818ed424f0 in QWidget::insertAction(QAction*, QAction*)
(this=this@entry=0x55c339645790, before=, before@entry=0x0,
action=0x55c338e62620) at kernel/qwidget.cpp:3129
#12 0x7f818d98d98b in KXMLGUI::ActionList::plug(QWidget*, int) const
(index=, container=0x55c339645790, this=0x55c33963d870) at
/usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory_p.cpp:33
#13 KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&,
QTypedArrayData::iterator const&)
(mergingIdxIt=..., state=..., this=0x55c339d90af0) at
/usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory_p.cpp:209
#14 KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&)
(this=0x55c339d90af0, state=...) at
/usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory_p.cpp:181
#15 0x7f818d98da43 in
KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&)
(this=0x55c3398d8b10, state=...) at
/usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory_p.cpp:185
#16 0x7f818d98da43 in
KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&)
(this=0x55c33963d600, state=...) at
/usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory_p.cpp:185
#17 0x7f818d9939f1 in KXMLGUIFactory::plugActionList(KXMLGUIClient*,
QString const&, QList const&) (this=0x55c33963de40,
client=0x55c33a0be2d0, name=, actionList=...) at
/usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory.cpp:564
#18 0x7f818ca4be93 in
PimCommon::PluginInterface::initializePluginActions(QString const&,
KXMLGUIClient*) () at /lib64/libKF5PimCommonAkonadi.so.5
#19 0x7f8197051ffe in KMMainWidget::initializePluginActions() () at
/lib64/libkmailprivate.so.5
#20 0x7f8197058893 in KMMainWidget::slotShowStartupFolder() () at
/lib64/libkmailprivate.so.5
#21 0x7f818e1859d0 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#22 0x7f818ed0a3fe in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x55c33a0baaa0, e=0x55c339cae730) at
kernel/qapplication.cpp:3637
#23 0x7f818e15a178 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib64/libQt5Core.so.5
#24 0x7f818e15d111 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /lib64/libQt5Core.so.5
#25 0x7f818e1b2003 in () at /lib64/libQt5Core.so.5
#26 0x7f8189ff6a50 in g_main_dispatch (context=0x7f817c005010) at
../glib/gmain.c:3444
#27 g_main_context_dispatch (context=0x7f817c005010) at ../glib/gmain.c:4162
#28 0x7f8189ff6e08 in g_main_context_iterate
(context=context@entry=0x7f817c005010, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at ../glib/gmain.c:4238
#29 0x7f8189ff6e9c in g_main_context_iteration (context=0x7f817c005010,
may_block=1) at ../glib/gmain.c:4303
#30 0x7f818e1b1806 in
QEventDispatcherGlib::processEvents(QFlags) ()
at /lib64/libQt5Core.so.5
#31 0x7f818e158beb in
QEventLoop::exec(QFlags) () at
/lib64/libQt5Core.so.5
#32 0x7f818e160d56 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#3