https://bugs.kde.org/show_bug.cgi?id=473813
Bug ID: 473813 Summary: KMail crash after kwallet passwd entry to fetch new mail while thousands of messages are in the process of being marked read Classification: Applications Product: kmail2 Version: unspecified Platform: Compiled Sources OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: ast...@gentoo.org Target Milestone: --- Application: kmail (5.24.0 (23.08.0)) (Compiled from sources) Qt Version: 5.15.10 Frameworks Version: 5.109.0 Operating System: Linux 6.1.45-gentoo x86_64 Windowing System: Wayland Distribution: "Gentoo Linux" DrKonqi: 5.27.7 [KCrashBackend] -- Information about the crash: This happened while KMail was busy marking many, many thousands of messages as read for a whole (gmail) IMAP label, which had been causing 100% load for dozens of minutes, which would seem to be a bug in itself. But after kwallet popup came up before fetch for new mail, it ultimately crashed. The crash can be reproduced sometimes. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #6 std::__atomic_base<unsigned long long>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x6e006100760069) at /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/atomic_base.h:503 #7 QAtomicOps<unsigned long long>::loadRelaxed<unsigned long long>(std::atomic<unsigned long long> const&) (_q_value=<error reading variable: Cannot access memory at address 0x6e006100760069>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239 #8 QBasicAtomicInteger<unsigned long long>::loadRelaxed() const (this=0x6e006100760069) at /usr/include/qt5/QtCore/qbasicatomic.h:107 #9 QQmlData::signalHasEndpoint(int) const (index=7, this=0x55f5234d0e50) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.10-r2/work/qtdeclarative-everywhere-src-5.15.10/include/QtQml/5.15.10/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:390 #10 QQmlData::isSignalConnected(QAbstractDeclarativeData*, QObject const*, int) (d=0x55f5234d0e50, index=7) at /var/tmp/portage/dev-qt/qtdeclarative-5.15.10-r2/work/qtdeclarative-everywhere-src-5.15.10/src/qml/qml/qqmlengine.cpp:851 #11 0x00007f89a90c5a5c in QObjectPrivate::isDeclarativeSignalConnected(unsigned int) const (signal_index=7, this=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject_p.h:110 #12 doActivate<false>(QObject*, int, void**) (sender=0x55f514701ab0, signal_index=7, argv=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3814 #13 0x00007f89a90bfa57 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f89a7d5a4e0 <KStatusNotifierItemDBus::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985 #14 0x00007f89a7d32853 in KStatusNotifierItemDBus::NewToolTip() (this=<optimized out>) at /var/tmp/portage/kde-frameworks/knotifications-5.109.0/work/knotifications-5.109.0_build/src/KF5Notifications_autogen/include/moc_kstatusnotifieritemdbus_p.cpp:345 #15 0x00007f89a7d2a256 in KStatusNotifierItem::setToolTipSubTitle(QString const&) (subTitle=..., this=0x55f514233c40) at /var/tmp/portage/kde-frameworks/knotifications-5.109.0/work/knotifications-5.109.0/src/kstatusnotifieritem.cpp:426 #16 0x00007f89b23f24a1 in KMail::KMSystemTray::updateToolTip(int) (this=0x55f514233c40, count=<optimized out>) at /var/tmp/portage/kde-apps/kmail-23.08.0/work/kmail-23.08.0/src/kmsystemtray.cpp:263 #17 0x00007f89b23f3f83 in KMail::UnityServiceManager::unreadMail(QAbstractItemModel const*, QModelIndex const&) (this=this@entry=0x55f513f8f0e0, model=model@entry=0x55f513c5acb0, parentIndex=...) at /var/tmp/portage/kde-apps/kmail-23.08.0/work/kmail-23.08.0/src/unityservicemanager.cpp:89 #18 0x00007f89b23f3f83 in KMail::UnityServiceManager::unreadMail(QAbstractItemModel const*, QModelIndex const&) (this=this@entry=0x55f513f8f0e0, model=model@entry=0x55f513c5acb0, parentIndex=...) at /var/tmp/portage/kde-apps/kmail-23.08.0/work/kmail-23.08.0/src/unityservicemanager.cpp:89 #19 0x00007f89b23f416f in KMail::UnityServiceManager::initListOfCollection() (this=0x55f513f8f0e0) at /var/tmp/portage/kde-apps/kmail-23.08.0/work/kmail-23.08.0/src/unityservicemanager.cpp:111 #20 0x00007f89a90c5d24 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd5ea2470, r=0x55f513f8f0e0, this=0x55f513f92b10) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #21 doActivate<false>(QObject*, int, void**) (sender=0x55f513c0ddc0, signal_index=23, argv=0x7ffdd5ea2470) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3925 #22 0x00007f89a90bfa57 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55f513c0ddc0, m=m@entry=0x7f89a6e331a0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=20, argv=argv@entry=0x7ffdd5ea2470) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985 #23 0x00007f89a6ce3ab7 in Akonadi::Monitor::collectionStatisticsChanged(long long, Akonadi::CollectionStatistics const&) (this=this@entry=0x55f513c0ddc0, _t1=<optimized out>, _t2=...) at /var/tmp/portage/kde-apps/akonadi-23.08.0/work/akonadi-23.08.0_build/src/core/KPim5AkonadiCore_autogen/include/moc_monitor.cpp:1004 #24 0x00007f89a6ceba7a in Akonadi::MonitorPrivate::slotStatisticsChangedFinished(KJob*) (this=<optimized out>, job=0x55f528b5ab10) at /var/tmp/portage/kde-apps/akonadi-23.08.0/work/akonadi-23.08.0/src/core/monitor_p.cpp:655 #25 0x00007f89a90c5d24 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdd5ea25f0, r=0x55f513c0ddc0, this=0x55f57b5a8c90) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #26 doActivate<false>(QObject*, int, void**) (sender=0x55f528b5ab10, signal_index=6, argv=0x7ffdd5ea25f0) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3925 #27 0x00007f89a90bfa57 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55f528b5ab10, m=m@entry=0x7f89aa1fd3e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdd5ea25f0) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985 #28 0x00007f89aa1a0e63 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x55f528b5ab10, _t1=<optimized out>, _t1@entry=0x55f528b5ab10, _t2=...) at /var/tmp/portage/kde-frameworks/kcoreaddons-5.109.0/work/kcoreaddons-5.109.0_build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633 #29 0x00007f89aa1a231b in KJob::finishJob(bool) (this=0x55f528b5ab10, emitResult=<optimized out>) at /var/tmp/portage/kde-frameworks/kcoreaddons-5.109.0/work/kcoreaddons-5.109.0/src/lib/jobs/kjob.cpp:98 #30 0x00007f89a90bdc94 in QObject::event(QEvent*) (this=0x55f528b5ab10, e=0x55f62b439250) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:1347 #31 0x00007f89a9b631de in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55f528b5ab10, e=0x55f62b439250) at /var/tmp/portage/dev-qt/qtwidgets-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qapplication.cpp:3640 #32 0x00007f89a9092bc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f528b5ab10, event=0x55f62b439250) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1064 #33 0x00007f89a9092dbe in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1462 #34 0x00007f89a9096133 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55f5137e3d90) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1821 #35 0x00007f89a90963e8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1680 #36 0x00007f89a90e4cf3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55f51380a030) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #37 0x00007f89a4b14d93 in g_main_dispatch (context=0x7f8998000ee0) at ../glib-2.76.4/glib/gmain.c:3460 #38 g_main_context_dispatch (context=context@entry=0x7f8998000ee0) at ../glib-2.76.4/glib/gmain.c:4200 #39 0x00007f89a4b150a8 in g_main_context_iterate (context=context@entry=0x7f8998000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.76.4/glib/gmain.c:4276 #40 0x00007f89a4b1513c in g_main_context_iteration (context=0x7f8998000ee0, may_block=1) at ../glib-2.76.4/glib/gmain.c:4343 #41 0x00007f89a90e47f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f513810c20, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #42 0x00007f89a90915eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdd5ea29e0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/global/qflags.h:69 #43 0x00007f89a90998ed in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/global/qflags.h:121 #44 0x00007f89a951bbac in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/gui/kernel/qguiapplication.cpp:1870 #45 0x00007f89a9b63155 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qapplication.cpp:2832 #46 0x000055f511845cb3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kmail-23.08.0/work/kmail-23.08.0/src/main.cpp:188 [Inferior 1 (process 17177) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.