Bug 459932 - KMail crashes at startup, with Akonadi unable to start
Summary: KMail crashes at startup, with Akonadi unable to start
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-10-03 01:17 UTC by clin
Modified: 2022-10-03 01:17 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 clin 2022-10-03 01:17:55 UTC
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<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f818ed15ef7 in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/12/bits/atomic_base.h:488
#7  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed() const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#9  QtPrivate::RefCount::isShared() const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:101
#10 QList<QWidget*>::append(QWidget* const&) (this=0x7f818d4342b0, t=@0x7fffb1fd2230: 0x55c339645790) at ../../include/QtCore/../../src/corelib/tools/qlist.h:622
#11 0x00007f818ed424f0 in QWidget::insertAction(QAction*, QAction*) (this=this@entry=0x55c339645790, before=<optimized out>, before@entry=0x0, action=0x55c338e62620) at kernel/qwidget.cpp:3129
#12 0x00007f818d98d98b in KXMLGUI::ActionList::plug(QWidget*, int) const (index=<optimized out>, 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<KXMLGUI::MergingIndex>::iterator const&) (mergingIdxIt=<synthetic pointer>..., 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 0x00007f818d98da43 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 0x00007f818d98da43 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 0x00007f818d9939f1 in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) (this=0x55c33963de40, client=0x55c33a0be2d0, name=<optimized out>, actionList=...) at /usr/src/debug/kxmlgui-5.99.0git.20221002T021459~74dd7d8-ku.1.1.x86_64/src/kxmlguifactory.cpp:564
#18 0x00007f818ca4be93 in PimCommon::PluginInterface::initializePluginActions(QString const&, KXMLGUIClient*) () at /lib64/libKF5PimCommonAkonadi.so.5
#19 0x00007f8197051ffe in KMMainWidget::initializePluginActions() () at /lib64/libkmailprivate.so.5
#20 0x00007f8197058893 in KMMainWidget::slotShowStartupFolder() () at /lib64/libkmailprivate.so.5
#21 0x00007f818e1859d0 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#22 0x00007f818ed0a3fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55c33a0baaa0, e=0x55c339cae730) at kernel/qapplication.cpp:3637
#23 0x00007f818e15a178 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#24 0x00007f818e15d111 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#25 0x00007f818e1b2003 in  () at /lib64/libQt5Core.so.5
#26 0x00007f8189ff6a50 in g_main_dispatch (context=0x7f817c005010) at ../glib/gmain.c:3444
#27 g_main_context_dispatch (context=0x7f817c005010) at ../glib/gmain.c:4162
#28 0x00007f8189ff6e08 in g_main_context_iterate (context=context@entry=0x7f817c005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4238
#29 0x00007f8189ff6e9c in g_main_context_iteration (context=0x7f817c005010, may_block=1) at ../glib/gmain.c:4303
#30 0x00007f818e1b1806 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#31 0x00007f818e158beb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#32 0x00007f818e160d56 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#33 0x000055c336c18701 in  ()
#34 0x00007f818da5eb30 in __libc_start_call_main () at /lib64/libc.so.6
#35 0x00007f818da5ebf9 in __libc_start_main_impl () at /lib64/libc.so.6
#36 0x000055c336c19065 in  ()
[Inferior 1 (process 25308) detached]

The reporter indicates this bug may be a duplicate of or related to bug 449891, bug 453297.

Reported using DrKonqi