Bug 453297 - KMail + Akonadi crash
Summary: KMail + Akonadi crash
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-05-02 13:28 UTC by Fabio
Modified: 2022-07-02 05:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.21 KB, text/plain)
2022-07-02 05:57 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio 2022-05-02 13:28:55 UTC
Application: kmail (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-150300.59.60-default x86_64
Windowing system: X11
Distribution: openSUSE Leap 15.3

-- Information about the crash:
KMail and Akonadi crash while retrieving mails. They crash at the same time.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x118>) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=<error reading variable: Cannot access memory at address 0x118>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=<error reading variable: Cannot access memory at address 0x118>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#7  QtPrivate::RefCount::isShared (this=<error reading variable: Cannot access memory at address 0x118>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:101
#8  QList<QWidget*>::append (this=0x118, t=@0x7ffc4b94ad90: 0x5624e0fb8680) at ../../include/QtCore/../../src/corelib/tools/qlist.h:584
#9  0x00007f7f74aff858 in QWidget::insertAction (this=0x5624e0fb8680, before=<optimized out>, action=0x5624e0ea02b0) at kernel/qwidget.cpp:3314
#10 0x00007f7f72ce4fd2 in KXMLGUI::ActionList::plug(QWidget*, int) const () from /usr/lib64/libKF5XmlGui.so.5
#11 0x00007f7f72ce8912 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&, QTypedArrayData<KXMLGUI::MergingIndex>::iterator const&) () from /usr/lib64/libKF5XmlGui.so.5
#12 0x00007f7f72ce8ad6 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) () from /usr/lib64/libKF5XmlGui.so.5
#13 0x00007f7f72ce8b13 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) () from /usr/lib64/libKF5XmlGui.so.5
#14 0x00007f7f72ce8b13 in KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) () from /usr/lib64/libKF5XmlGui.so.5
#15 0x00007f7f72ce23eb in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) () from /usr/lib64/libKF5XmlGui.so.5
#16 0x00007f7f6e5f6b5d in PimCommon::PluginInterface::initializePluginActions (this=<optimized out>, prefix=..., guiClient=0x5624e405bf10) at /usr/src/debug/pimcommon-20.04.2-bp153.2.2.1.x86_64/src/pimcommonakonadi/genericplugins/plugininterface.cpp:168
#17 0x00007f7f75c883fe in KMMainWidget::initializePluginActions (this=this@entry=0x5624e478c770) at /usr/src/debug/kmail-20.04.2-bp153.3.2.1.x86_64/src/kmmainwidget.cpp:4217
#18 0x00007f7f75c8fc83 in KMMainWidget::slotShowStartupFolder (this=0x5624e478c770) at /usr/src/debug/kmail-20.04.2-bp153.3.2.1.x86_64/src/kmmainwidget.cpp:4121
#19 0x00007f7f73c7ee44 in QtPrivate::QSlotObjectBase::call (a=0x7ffc4b94b1c0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#20 QSingleShotTimer::timerEvent (this=0x5624e33faac0) at kernel/qtimer.cpp:318
#21 0x00007f7f73c729db in QObject::event (this=0x5624e33faac0, e=<optimized out>) at kernel/qobject.cpp:1283
#22 0x00007f7f74ac7f9c in QApplicationPrivate::notify_helper (this=this@entry=0x5624e0792f30, receiver=receiver@entry=0x5624e33faac0, e=e@entry=0x7ffc4b94b500) at kernel/qapplication.cpp:3701
#23 0x00007f7f74acf5b0 in QApplication::notify (this=0x7ffc4b94bc70, receiver=0x5624e33faac0, e=0x7ffc4b94b500) at kernel/qapplication.cpp:3447
#24 0x00007f7f73c42368 in QCoreApplication::notifyInternal2 (receiver=0x5624e33faac0, event=0x7ffc4b94b500) at kernel/qcoreapplication.cpp:1088
#25 0x00007f7f73c9e859 in QTimerInfoList::activateTimers (this=0x5624e079b370) at kernel/qtimerinfo_unix.cpp:643
#26 0x00007f7f73c9f021 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#27 0x00007f7f666a8694 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f7f666a8a30 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f7f666a8abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f7f73c9f3ef in QEventDispatcherGlib::processEvents (this=0x5624e0876d10, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f7f73c405ba in QEventLoop::exec (this=this@entry=0x7ffc4b94b750, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#32 0x00007f7f73c497c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#33 0x00005624df7cea5b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-20.04.2-bp153.3.2.1.x86_64/src/main.cpp:163
[Inferior 1 (process 8505) detached]

Possible duplicates by query: bug 452717, bug 449952, bug 449891, bug 443784, bug 440840.

Reported using DrKonqi
Comment 1 Erik Quaeghebeur 2022-07-02 05:57:50 UTC
Created attachment 150333 [details]
New crash information added by DrKonqi

kmail (5.19.3 (21.12.3)) using Qt 5.15.4

- What I was doing when the application crashed:
I was restarting kmail for a second time after I had closed it down because it was stuck loading folder contents (likely because akonadi was stuck…). The first time also kmail crashed, but in a different way, but for that no crash report could be sent, for some reason.

-- Backtrace (Reduced):
#4  0x00007964fe145417 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/11.3.0/include/g++-v11/bits/atomic_base.h:481
#5  QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/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.4-r2/work/qtbase-everywhere-src-5.15.4/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.4-r2/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/tools/qrefcount.h:101
#8  QList<QWidget*>::append(QWidget* const&) (this=0x598b1af40100, t=@0x7ffce7a3af00: 0x598b1b13ae70) at /var/tmp/portage/dev-qt/qtwidgets-5.15.4-r2/work/qtbase-everywhere-src-5.15.4/include/QtCore/../../src/corelib/tools/qlist.h:622