Application: kmail (5.22.3 (22.12.3)) (Compiled from sources) Qt Version: 5.15.9 Frameworks Version: 5.104.0 Operating System: Linux 6.1.27-gentoo-r1-a x86_64 Windowing System: X11 Distribution: "Gentoo Linux" DrKonqi: 5.27.4 [KCrashBackend] -- Information about the crash: As often happens, an akonadi resource was stuck synchronizing, blocking the whole of akonadi. My solution for this is to restart akonadiserver in akonadiconsole. This crash occurred when I restarted akonadiserver in such a way. The crash can be reproduced sometimes. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault [KCrash Handler] #4 std::__atomic_base<int>::operator--() (this=0x63000000000031) at /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/atomic_base.h:392 #5 QAtomicOps<int>::deref<int>(std::atomic<int>&) (_q_value=<error reading variable: Cannot access memory at address 0x63000000000031>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:289 #6 QBasicAtomicInteger<int>::deref() (this=0x63000000000031) at /usr/include/qt5/QtCore/qbasicatomic.h:119 #7 QSharedDataPointer<Akonadi::ItemPrivate>::~QSharedDataPointer() (this=0x5984d1702d50, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qshareddata.h:93 #8 Akonadi::Item::~Item() (this=0x5984d1702d50, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-22.12.3/work/akonadi-22.12.3/src/core/item.cpp:56 #9 0x00007e4023707e1c in QHashData::free_helper(void (*)(QHashData::Node*)) (this=0x7e401409d9a0, node_delete=0x7e4021797cc0 <QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >::deleteNode2(QHashData::Node*)>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/tools/qhash.cpp:572 #10 0x00007e402178f38f in QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >::freeData(QHashData*) (x=<optimized out>, this=<synthetic pointer>) at /usr/include/qt5/QtCore/qhash.h:617 #11 QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >::~QHash() (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:250 #12 QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >::~QHash() (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:250 #13 QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >::operator=(QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >&&) (other=<optimized out>, this=0x5984d1bac5b8) at /usr/include/qt5/QtCore/qhash.h:255 #14 QHash<long long, RefCountedHash<long long, Akonadi::Item>::RefCountedValue<Akonadi::Item> >::clear() (this=0x5984d1bac5b8) at /usr/include/qt5/QtCore/qhash.h:625 #15 RefCountedHash<long long, Akonadi::Item>::clear() (this=0x5984d1bac5b0) at /var/tmp/portage/kde-apps/akonadi-22.12.3/work/akonadi-22.12.3/src/core/models/entitytreemodel_p.h:109 #16 Akonadi::EntityTreeModelPrivate::endResetModel() (this=0x5984d1bac5a0) at /var/tmp/portage/kde-apps/akonadi-22.12.3/work/akonadi-22.12.3/src/core/models/entitytreemodel_p.cpp:1722 #17 0x00007e40238b7b4c in doActivate<false>(QObject*, int, void**) (sender=0x5984d0418c60, signal_index=3, argv=0x7ffdd7c568c0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:3935 #18 0x00007e40238b1767 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7e402182a500 <Akonadi::ServerManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:3983 #19 0x00007e4021711e80 in Akonadi::ServerManager::started() (this=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-22.12.3/work/akonadi-22.12.3_build/src/core/KF5AkonadiCore_autogen/include/moc_servermanager.cpp:167 #20 0x00007e4021715659 in Akonadi::ServerManagerPrivate::setState(Akonadi::ServerManager::State) (this=0x7e4021832560 <(anonymous namespace)::Q_QGS_sInstance::innerFunction()::holder>, state=Akonadi::ServerManager::Running) at /var/tmp/portage/kde-apps/akonadi-22.12.3/work/akonadi-22.12.3/src/core/servermanager.cpp:75 #21 0x00007e40238af8d4 in QObject::event(QEvent*) (this=0x5984d0418c60, e=0x5984d84960e0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:1347 #22 0x00007e402436344e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5984d0418c60, e=0x5984d84960e0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:3640 #23 0x00007e4023883f58 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5984d0418c60, event=0x5984d84960e0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1064 #24 0x00007e402388414e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1462 #25 0x00007e4023887493 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5984cffd0dd0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1821 #26 0x00007e4023887738 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1680 #27 0x00007e40238d66f3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5984d00adbc0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #28 0x00007e401f52b51c in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #29 0x00007e401f52b7c8 in () at /usr/lib64/libglib-2.0.so.0 #30 0x00007e401f52b85c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #31 0x00007e40238d61f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5984d00b5a50, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #32 0x00007e402388297b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdd7c56cd0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:69 #33 0x00007e4024579ed6 in QDialog::exec() (this=0x5984d7334180) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:121 #34 0x00007e40210a3e27 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib64/libKF5WidgetsAddons.so.5 #35 0x00007e40210a4877 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () at /usr/lib64/libKF5WidgetsAddons.so.5 #36 0x00007e40210a87b6 in () at /usr/lib64/libKF5WidgetsAddons.so.5 #37 0x00007e40210a89a4 in KMessageBox::error(QWidget*, QString const&, QString const&, QFlags<KMessageBox::Option>) () at /usr/lib64/libKF5WidgetsAddons.so.5 #38 0x00007e3fedb8e1f8 in Akonadi::IncidenceChangerPrivate::handleDeleteJobResult(KJob*) (this=0x5984d1bbd6d0, job=<optimized out>) at /var/tmp/portage/kde-apps/akonadi-calendar-22.12.3/work/akonadi-calendar-22.12.3/src/incidencechanger.cpp:331 #39 0x00007e40238af8d4 in QObject::event(QEvent*) (this=0x5984d1bbd6d0, e=0x5984d82021d0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:1347 #40 0x00007e402436344e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5984d1bbd6d0, e=0x5984d82021d0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:3640 #41 0x00007e4023883f58 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5984d1bbd6d0, event=0x5984d82021d0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1064 #42 0x00007e402388414e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1462 #43 0x00007e4023887493 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5984cffd0dd0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1821 #44 0x00007e4023887738 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1680 #45 0x00007e40238d66f3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5984d00adbc0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #46 0x00007e401f52b51c in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #47 0x00007e401f52b7c8 in () at /usr/lib64/libglib-2.0.so.0 #48 0x00007e401f52b85c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #49 0x00007e40238d61f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5984d00b5a50, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #50 0x00007e402388297b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdd7c57550, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:69 #51 0x00007e402388ac56 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:121 #52 0x00007e4023d0ecac in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.9/work/qtbase-everywhere-src-5.15.9/src/gui/kernel/qguiapplication.cpp:1870 #53 0x00007e40243633c5 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:2832 #54 0x00005984ce536ad4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kmail-22.12.3/work/kmail-22.12.3/src/main.cpp:185 [Inferior 1 (process 2516) detached] Reported using DrKonqi