Application: kmail (5.240.40 alpha (23.07.40)) (Compiled from sources) Qt Version: 6.5.0 Frameworks Version: 5.240.0 Operating System: Linux 6.2.15-300.fc38.x86_64 x86_64 Windowing System: Wayland Distribution: Fedora Linux 38 (KDE Plasma) DrKonqi: 5.27.80 [KCrashBackend] -- Information about the crash: Closing KMail while sync was running The reporter is unsure if this crash is reproducible. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #5 0x00007f8148201880 in QtPrivate::QMetaTypeInterfaceWrapper<QObject*>::metaType () at /lib64/libQt6Core.so.6 #6 0x00007f814a90e93b in KSelectionProxyModel::columnCount(QModelIndex const&) const (this=0x21b48b0, index=...) at /home/nico/kde6/src/kitemmodels/src/core/kselectionproxymodel.cpp:2363 #7 0x00007f8147feab18 in QSortFilterProxyModelPrivate::find_source_sort_column() const () at /lib64/libQt6Core.so.6 #8 0x00007f8147ff4fa1 in QSortFilterProxyModelPrivate::_q_clearMapping() () at /lib64/libQt6Core.so.6 #9 0x00007f8147ff9a9f in QSortFilterProxyModelPrivate::_q_sourceReset() () at /lib64/libQt6Core.so.6 #10 0x00007f8147ddde08 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #11 0x00007f8147fa7170 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) () at /lib64/libQt6Core.so.6 #12 0x00007f8147ddd894 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #13 0x00007f8147fc1754 in QItemSelectionModel::modelChanged(QAbstractItemModel*) () at /lib64/libQt6Core.so.6 #14 0x00007f8147ddde08 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt6Core.so.6 #15 0x00007f8147dd43d1 in QObject::destroyed(QObject*) () at /lib64/libQt6Core.so.6 #16 0x00007f8147ddb172 in QObject::~QObject() () at /lib64/libQt6Core.so.6 #17 0x00007f81475462f9 in MailCommon::FolderTreeWidgetProxyModel::~FolderTreeWidgetProxyModel() (this=0x1dac380, __in_chrg=<optimized out>) at /home/nico/kde6/src/mailcommon/src/folder/foldertreewidgetproxymodel.cpp:91 #18 0x00007f8147dd6c2d in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6 #19 0x00007f8149018cb8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #20 0x00007f8147544469 in MailCommon::FolderTreeWidget::~FolderTreeWidget() (this=0x1ac7c20, __in_chrg=<optimized out>) at /home/nico/kde6/src/mailcommon/src/folder/foldertreewidget.cpp:131 #21 0x00007f8147dd6c2d in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6 #22 0x00007f8149018cb8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #23 0x00007f81491d9695 in QSplitter::~QSplitter() () at /lib64/libQt6Widgets.so.6 #24 0x00007f8147dd6c2d in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6 #25 0x00007f8149018cb8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #26 0x00007f81491d9695 in QSplitter::~QSplitter() () at /lib64/libQt6Widgets.so.6 #27 0x00007f81554452e3 in KMMainWidget::deleteWidgets() (this=this@entry=0x1aed7f0) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:980 #28 0x00007f815546583b in KMMainWidget::destruct() (this=0x1aed7f0) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:387 #29 KMMainWidget::destruct() (this=0x1aed7f0) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:376 #30 0x00007f81554659c7 in KMMainWidget::~KMMainWidget() (this=0x1aed7f0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:371 #31 0x00007f8155465c49 in KMMainWidget::~KMMainWidget() (this=0x1aed7f0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:372 #32 0x00007f8147dd6c2d in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6 #33 0x00007f8149018cb8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #34 0x00007f8155405a79 in KMMainWin::~KMMainWin() (this=0x1afcda0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwin.cpp:107 #35 0x00007f8155405ac9 in KMMainWin::~KMMainWin() (this=0x1afcda0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwin.cpp:107 #36 0x00007f8147dcf159 in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6 #37 0x00007f814a1c7fc7 in KXmlGuiWindow::event(QEvent*) (this=0x1afcda0, ev=0xae663e0) at /home/nico/kde6/src/kxmlgui/src/kxmlguiwindow.cpp:220 #38 0x00007f8148fc09c8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #39 0x00007f8147d7bfc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6 #40 0x00007f8147d7f9a5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt6Core.so.6 #41 0x00007f814801f4df in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Core.so.6 #42 0x00007f814546f39c in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #43 0x00007f81454cd438 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #44 0x00007f814546ca23 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #45 0x00007f814801ed7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #46 0x00007f8147d88ac3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6 #47 0x00007f8147d8476d in QCoreApplication::exec() () at /lib64/libQt6Core.so.6 #48 0x00000000004055c5 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde6/src/kmail/src/main.cpp:173 [Inferior 1 (process 45548) detached] Reported using DrKonqi
With Qt 6.5.2 Application: KMail (kmail), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #5 0x00007fc8d8603880 in QtPrivate::QMetaTypeInterfaceWrapper<QObject*>::metaType () at /lib64/libQt6Core.so.6 #6 0x00007fc8dad4388b in KSelectionProxyModel::columnCount(QModelIndex const&) const (this=0x2bc7e40, index=...) at /home/nico/kde6/src/kitemmodels/src/core/kselectionproxymodel.cpp:2362 #7 0x00007fc8d83ec748 in QSortFilterProxyModelPrivate::find_source_sort_column() const (this=this@entry=0x288adb0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/itemmodels/qsortfilterproxymodel.cpp:659 #8 0x00007fc8d83f66d1 in QSortFilterProxyModelPrivate::_q_clearMapping() (this=0x288adb0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/itemmodels/qsortfilterproxymodel.cpp:467 #9 0x00007fc8d83fae8f in QSortFilterProxyModelPrivate::_q_sourceReset() (this=0x288adb0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1587 #10 0x00007fc8d81de908 in doActivate<false>(QObject*, int, void**) (sender=0x2bc7e40, signal_index=21, argv=0x7fffbe0516c0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:4004 #11 0x00007fc8d81d4e17 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fc8d860df20 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7fffbe0516c0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052 #12 0x00007fc8d83a8f90 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=...) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1408 #13 0x00007fc8d81de394 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffbe0517e0, r=0x2bc7e40, this=0x2bc7f10) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobjectdefs_impl.h:363 #14 doActivate<false>(QObject*, int, void**) (sender=0x2bc7560, signal_index=7, argv=0x7fffbe0517e0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:3992 #15 0x00007fc8d81d4e17 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fc8d860ec40 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffbe0517e0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052 #16 0x00007fc8d83c3384 in QItemSelectionModel::modelChanged(QAbstractItemModel*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:804 #17 0x00007fc8d81de908 in doActivate<false>(QObject*, int, void**) (sender=0x282cbb0, signal_index=0, argv=0x7fffbe051900) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:4004 #18 0x00007fc8d81d4e17 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x282cbb0, m=m@entry=0x7fc8d86042a0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbe051900) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:4052 #19 0x00007fc8d81d4ed1 in QObject::destroyed(QObject*) (this=this@entry=0x282cbb0, _t1=<optimized out>, _t1@entry=0x282cbb0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/redhat-linux-build/src/corelib/kernel/moc_qobject.cpp:266 #20 0x00007fc8d81dbc72 in QObject::~QObject() (this=0x282cbb0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:1014 #21 0x00007fc8d7920dd9 in MailCommon::FolderTreeWidgetProxyModel::~FolderTreeWidgetProxyModel() (this=0x282cbb0, __in_chrg=<optimized out>) at /home/nico/kde6/src/mailcommon/src/folder/foldertreewidgetproxymodel.cpp:91 #22 0x00007fc8d81d772d in QObjectPrivate::deleteChildren() (this=0x2719a30) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:2174 #23 0x00007fc8d9418448 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #24 0x00007fc8d791ed39 in MailCommon::FolderTreeWidget::~FolderTreeWidget() (this=0x2713490, __in_chrg=<optimized out>) at /home/nico/kde6/src/mailcommon/src/folder/foldertreewidget.cpp:131 #25 0x00007fc8d81d772d in QObjectPrivate::deleteChildren() (this=0x2c172f0) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:2174 #26 0x00007fc8d9418448 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #27 0x00007fc8d95d70a5 in QSplitter::~QSplitter() () at /lib64/libQt6Widgets.so.6 #28 0x00007fc8d81d772d in QObjectPrivate::deleteChildren() (this=0x2a71d00) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:2174 #29 0x00007fc8d9418448 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #30 0x00007fc8d95d70a5 in QSplitter::~QSplitter() () at /lib64/libQt6Widgets.so.6 #31 0x00007fc8e564f6f3 in KMMainWidget::deleteWidgets() (this=this@entry=0x25f62c0) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:981 #32 0x00007fc8e5670d2b in KMMainWidget::destruct() (this=0x25f62c0) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:388 #33 KMMainWidget::destruct() (this=0x25f62c0) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:377 #34 0x00007fc8e5670eb7 in KMMainWidget::~KMMainWidget() (this=0x25f62c0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:372 #35 0x00007fc8e5671139 in KMMainWidget::~KMMainWidget() (this=0x25f62c0, __in_chrg=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwidget.cpp:373 #36 0x00007fc8d81d772d in QObjectPrivate::deleteChildren() (this=0x26b9c20) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:2174 #37 0x00007fc8d9418448 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6 #38 0x00007fc8e5605059 in KMMainWin::~KMMainWin() (this=0x26d6f10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwin.cpp:107 #39 0x00007fc8e56050a9 in KMMainWin::~KMMainWin() (this=0x26d6f10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/nico/kde6/src/kmail/src/kmmainwin.cpp:107 #40 0x00007fc8d81cfc59 in QObject::event(QEvent*) (this=0x26d6f10, e=0x481c200) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qobject.cpp:1378 #41 0x00007fc8da01c897 in KXmlGuiWindow::event(QEvent*) (this=0x26d6f10, ev=0x481c200) at /home/nico/kde6/src/kxmlgui/src/kxmlguiwindow.cpp:220 #42 0x00007fc8d93c0af8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt6Widgets.so.6 #43 0x00007fc8d817cdb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x26d6f10, event=0x481c200) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1118 #44 0x00007fc8d817cfbd in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1536 #45 0x00007fc8d81808d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x2222850) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1898 #46 0x00007fc8d8180c0d in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qcoreapplication.cpp:1757 #47 0x00007fc8d842108f in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x24c5a70) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #48 0x00007fc8d51404fc in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #49 0x00007fc8d519e6b8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #50 0x00007fc8d513db83 in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #51 0x00007fc8d842092f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x222e510, flags=...) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #52 0x00007fc8d81899f3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffbe0522d0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/global/qflags.h:34 #53 0x00007fc8d818569d in QCoreApplication::exec() () at /usr/src/debug/qt6-qtbase-6.5.2-1.fc38.x86_64/src/corelib/global/qflags.h:74 #54 0x00000000004055c5 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/nico/kde6/src/kmail/src/main.cpp:173 [Inferior 1 (process 4092) detached]
*** Bug 475045 has been marked as a duplicate of this bug. ***
maybe related to https://bugs.kde.org/show_bug.cgi?id=474636
(In reply to Nicolas Fella from comment #3) > maybe related to https://bugs.kde.org/show_bug.cgi?id=474636 6.5.3 has the Qt fix mentioned in this BR, and the crash on close is still reproducible with a snapshot updated yesterday #0 0x00007fffecbc5c40 in typeinfo name for QAnimationDriverPrivate () at /lib64/libQt6Core.so.6 #1 0x00007fffea88ff6b in KSelectionProxyModel::columnCount(QModelIndex const&) const () at /lib64/libKF6ItemModels.so.6 #2 0x00007fffecb2a0bd in QSortFilterProxyModelPrivate::find_source_sort_column() const (this=this@entry=0x555555e88f90) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/itemmodels/qsortfilterproxymodel.cpp:659 #3 0x00007fffecb2cbe1 in QSortFilterProxyModelPrivate::_q_clearMapping() (this=0x555555e88f90) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/itemmodels/qsortfilterproxymodel.cpp:467 #4 0x00007fffecb428cb in QSortFilterProxyModelPrivate::_q_sourceReset() (this=0x555555e88f90) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1587 #5 QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/src/corelib/Core_autogen/include/moc_qsortfilterproxymodel.cpp:587 #6 0x00007fffec9ba32a in doActivate<false>(QObject*, int, void**) (sender=0x555555e8c410, signal_index=21, argv=0x7fffffffba80) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:4048 #7 0x00007fffecb0d87d in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=...) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1408 #8 0x00007fffec9ba0b3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffbba0, r=0x555555e8c410, this=0x555555e8a530) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/include/QtCore/../../../src/corelib/kernel/qobjectdefs_impl.h:374 #9 doActivate<false>(QObject*, int, void**) (sender=0x555555e8cf60, signal_index=7, argv=0x7fffffffbba0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:4036 #10 0x00007fffecb1fbc2 in QItemSelectionModel::modelChanged(QAbstractItemModel*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:686 #11 0x00007fffec9ba0b3 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffbcc0, r=0x555555e8cf60, this=0x555555e8b7a0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/include/QtCore/../../../src/corelib/kernel/qobjectdefs_impl.h:374 #12 doActivate<false>(QObject*, int, void**) (sender=0x5555561a5210, signal_index=0, argv=0x7fffffffbcc0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:4036 #13 0x00007fffec9ab1ef in QObject::destroyed(QObject*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/src/corelib/kernel/moc_qobject.cpp:266 #14 0x00007fffec9aa5dc in QObject::~QObject() (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:1062 #15 0x00007fffec3240d9 in MailCommon::FolderTreeWidgetProxyModel::~FolderTreeWidgetProxyModel() () at /lib64/libKPim6MailCommon.so.6 #16 0x00007fffec9a2b63 in QObjectPrivate::deleteChildren() (this=this@entry=0x555556175fd0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:2221 #17 0x00007fffed9f16b8 in QWidget::~QWidget() (this=0x555555ca3c70, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/kernel/qwidget.cpp:1531 #18 0x00007fffec323659 in MailCommon::FolderTreeWidget::~FolderTreeWidget() () at /lib64/libKPim6MailCommon.so.6 #19 0x00007fffec9a2b63 in QObjectPrivate::deleteChildren() (this=this@entry=0x555555ec7ef0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:2221 #20 0x00007fffed9f16b8 in QWidget::~QWidget() (this=0x555555de2300, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/kernel/qwidget.cpp:1531 #21 0x00007fffedb8dd49 in QSplitter::~QSplitter() (this=0x555555de2300, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/widgets/qsplitter.cpp:951 #22 0x00007fffec9a2b63 in QObjectPrivate::deleteChildren() (this=this@entry=0x555555d78de0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:2221 #23 0x00007fffed9f16b8 in QWidget::~QWidget() (this=0x555555dcf7d0, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/kernel/qwidget.cpp:1531 #24 0x00007fffedb8dd49 in QSplitter::~QSplitter() (this=0x555555dcf7d0, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/widgets/qsplitter.cpp:951 #25 0x00007ffff7e0d313 in KMMainWidget::deleteWidgets() (this=this@entry=0x55555640e030) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwidget.cpp:981 #26 0x00007ffff7e10656 in KMMainWidget::destruct() (this=0x55555640e030) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwidget.cpp:388 #27 KMMainWidget::destruct() (this=this@entry=0x55555640e030) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwidget.cpp:377 #28 0x00007ffff7e10957 in KMMainWidget::~KMMainWidget() (this=0x55555640e030, this=<optimized out>) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwidget.cpp:372 #29 0x00007ffff7e10bd9 in KMMainWidget::~KMMainWidget() (this=0x55555640e030, this=<optimized out>) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwidget.cpp:373 #30 0x00007fffec9a2b63 in QObjectPrivate::deleteChildren() (this=this@entry=0x5555562b26c0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:2221 #31 0x00007fffed9f16b8 in QWidget::~QWidget() (this=0x555556228d90, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/kernel/qwidget.cpp:1531 #32 0x00007ffff7dc51b7 in KMMainWin::~KMMainWin() (this=0x555556228d90, this=<optimized out>) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwin.cpp:107 #33 0x00007ffff7dc5219 in KMMainWin::~KMMainWin() (this=0x555556228d90, this=<optimized out>) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/kmmainwin.cpp:107 #34 0x00007fffec9a41a7 in QObject::event(QEvent*) (this=0x555556228d90, e=0x55555b7eada0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qobject.cpp:1425 #35 0x00007fffed77b2a9 in KXmlGuiWindow::event(QEvent*) () at /lib64/libKF6XmlGui.so.6 #36 0x00007fffed9beb7e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555556228d90, e=0x55555b7eada0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/kernel/qapplication.cpp:3290 #37 0x00007fffec965768 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555556228d90, event=0x55555b7eada0) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qcoreapplication.cpp:1118 #38 0x00007fffec9657a9 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qcoreapplication.cpp:1536 #39 0x00007fffec965aa7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5555555cff60) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qcoreapplication.cpp:1898 #40 0x00007fffecb528d3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5555556fb350) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #41 0x00007fffe9524ef0 in () at /lib64/libglib-2.0.so.0 #42 0x00007fffe9526b18 in () at /lib64/libglib-2.0.so.0 #43 0x00007fffe95271cc in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #44 0x00007fffecb4f6ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555556af870, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #45 0x00007fffec97017a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffc5f0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/include/QtCore/../../../src/corelib/global/qflags.h:34 #46 0x00007fffec969646 in QCoreApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.5.3/build/include/QtCore/../../../src/corelib/global/qflags.h:74 #47 0x00007fffecfe012c in QGuiApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/gui/kernel/qguiapplication.cpp:1925 #48 0x00007fffed9bc025 in QApplication::exec() () at /usr/src/debug/qtbase-everywhere-src-6.5.3/src/widgets/kernel/qapplication.cpp:2569 #49 0x00005555555590ed in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-23.20.0git.20231001T023302~a1560517/src/main.cpp:173
*** Bug 478512 has been marked as a duplicate of this bug. ***
*** Bug 478548 has been marked as a duplicate of this bug. ***
*** Bug 479639 has been marked as a duplicate of this bug. ***
*** Bug 480038 has been marked as a duplicate of this bug. ***
Might need an address sanitized build of Qt to see where we access something already deleted and where it was already deleted. Unless we can get valgrind to do that or have another tool for it.
Valgrind memcheck said nothing useful
(In reply to Allan Sandfeld from comment #9) > Might need an address sanitized build of Qt to see where we access something > already deleted and where it was already deleted. I wanted to try that, but got stuck on https://bugreports.qt.io/browse/QTBUG-120216
==15427==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7f20848ec398 at pc 0x7f208a53fabe bp 0x7ffe135e4180 sp 0x7ffe135e4178 READ of size 8 at 0x7f20848ec398 thread T0 #0 0x7f208a53fabd in KSelectionProxyModel::columnCount(QModelIndex const&) const /home/nico/kde-asan/src/kitemmodels/src/core/kselectionproxymodel.cpp:2362 #1 0x7f208447ffee in QSortFilterProxyModelPrivate::find_source_sort_column() const /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:660 #2 0x7f208448de6d in QSortFilterProxyModelPrivate::_q_clearMapping() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:468 #3 0x7f20844938e5 in QSortFilterProxyModelPrivate::_q_sourceReset() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1587 #4 0x7f20844c11c5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QSortFilterProxyModelPrivate::*)()>::call(void (QSortFilterProxyModelPrivate::*)(), QSortFilterProxyModelPrivate*, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:145 #5 0x7f20844c12fe in void QtPrivate::FunctionPointer<void (QSortFilterProxyModelPrivate::*)()>::call<QtPrivate::List<>, void>(void (QSortFilterProxyModelPrivate::*)(), QSortFilterProxyModelPrivate*, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobjectdefs_impl.h:182 #6 0x7f20844c12fe in QtPrivate::QPrivateSlotObject<void (QSortFilterProxyModelPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject_p.h:282 #7 0x7f2083e5eae9 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde-asan/usr/lib64/libQt6Core.so.6+0x45eae9) (BuildId: 824a9810afdfb1aa8af0d80927e7427053b3ce19) #8 0x7f2083e3dc55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4120 #9 0x7f20843c11e8 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) /home/nico/workspace/qt6/qtbase/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1113 #10 0x7f20843c7a27 in QAbstractItemModel::endResetModel() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp:3415 #11 0x7f208a54033d in operator() /home/nico/kde-asan/src/kitemmodels/src/core/kselectionproxymodel.cpp:2404 #12 0x7f208a54dd7c in call /home/nico/kde-asan/usr/include/QtCore/qobjectdefs_impl.h:137 #13 0x7f208a54c986 in call<QtPrivate::List<>, void> /home/nico/kde-asan/usr/include/QtCore/qobjectdefs_impl.h:345 #14 0x7f208a54c549 in impl /home/nico/kde-asan/usr/include/QtCore/qobjectdefs_impl.h:555 #15 0x7f2083e5eae9 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde-asan/usr/lib64/libQt6Core.so.6+0x45eae9) (BuildId: 824a9810afdfb1aa8af0d80927e7427053b3ce19) #16 0x7f2083e3dc55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4120 #17 0x7f20844150b3 in QItemSelectionModel::modelChanged(QAbstractItemModel*) /home/nico/workspace/qt6/qtbase/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:524 #18 0x7f2084434fac in QItemSelectionModelPrivate::modelChanged(QAbstractItemModel*) /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qitemselectionmodel_p.h:74 #19 0x7f2084434fac in QObjectCompatProperty<QItemSelectionModelPrivate, QAbstractItemModel*, &QItemSelectionModelPrivate::_qt_property_model_offset, &QItemSelectionModelPrivate::setModel, &QItemSelectionModelPrivate::modelChanged, decltype(nullptr)>::notify() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qproperty_p.h:678 #20 0x7f2084419b5c in QItemSelectionModelPrivate::modelDestroyed() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp:1089 #21 0x7f20844427ed in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QItemSelectionModelPrivate::*)()>::call(void (QItemSelectionModelPrivate::*)(), QItemSelectionModelPrivate*, void**) (/home/nico/kde-asan/usr/lib64/libQt6Core.so.6+0xa427ed) (BuildId: 824a9810afdfb1aa8af0d80927e7427053b3ce19) #22 0x7f2084442926 in QtPrivate::QPrivateSlotObject<void (QItemSelectionModelPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (/home/nico/kde-asan/usr/lib64/libQt6Core.so.6+0xa42926) (BuildId: 824a9810afdfb1aa8af0d80927e7427053b3ce19) #23 0x7f2083e5eae9 in void doActivate<false>(QObject*, int, void**) (/home/nico/kde-asan/usr/lib64/libQt6Core.so.6+0x45eae9) (BuildId: 824a9810afdfb1aa8af0d80927e7427053b3ce19) #24 0x7f2083e3dc55 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4120 #25 0x7f2083e3dded in QObject::destroyed(QObject*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/moc_qobject.cpp:233 #26 0x7f2083e54f0e in QObject::~QObject() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1070 #27 0x7f20843c78ea in QAbstractItemModel::~QAbstractItemModel() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp:1722 #28 0x7f2084450690 in QAbstractProxyModel::~QAbstractProxyModel() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp:165 #29 0x7f208447f972 in QSortFilterProxyModel::~QSortFilterProxyModel() /home/nico/workspace/qt6/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2022 #30 0x7f208add0056 in Akonadi::EntityRightsFilterModel::~EntityRightsFilterModel() /home/nico/kde-asan/src/akonadi/src/core/models/entityrightsfiltermodel.cpp:61 #31 0x7f20823d31e6 in MailCommon::FolderTreeWidgetProxyModel::~FolderTreeWidgetProxyModel() /home/nico/kde-asan/src/mailcommon/src/folder/foldertreewidgetproxymodel.cpp:91 #32 0x7f20823d3201 in MailCommon::FolderTreeWidgetProxyModel::~FolderTreeWidgetProxyModel() /home/nico/kde-asan/src/mailcommon/src/folder/foldertreewidgetproxymodel.cpp:91 #33 0x7f2083e4dd4f in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2216 #34 0x7f2086f96cac in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1524 #35 0x7f20823cb5fd in MailCommon::FolderTreeWidget::~FolderTreeWidget() /home/nico/kde-asan/src/mailcommon/src/folder/foldertreewidget.cpp:131 #36 0x7f20823cb621 in MailCommon::FolderTreeWidget::~FolderTreeWidget() /home/nico/kde-asan/src/mailcommon/src/folder/foldertreewidget.cpp:131 #37 0x7f2083e4dd4f in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2216 #38 0x7f2086f96cac in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1524 #39 0x7f20871935d2 in QFrame::~QFrame() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qframe.cpp:229 #40 0x7f2087570d83 in QSplitter::~QSplitter() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qsplitter.cpp:951 #41 0x7f2087570da8 in QSplitter::~QSplitter() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qsplitter.cpp:951 #42 0x7f2083e4dd4f in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2216 #43 0x7f2086f96cac in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1524 #44 0x7f20871935d2 in QFrame::~QFrame() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qframe.cpp:229 #45 0x7f2087570d83 in QSplitter::~QSplitter() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qsplitter.cpp:951 #46 0x7f2087570da8 in QSplitter::~QSplitter() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qsplitter.cpp:951 #47 0x7f20b03bf54b in KMMainWidget::deleteWidgets() /home/nico/kde-asan/src/kmail/src/kmmainwidget.cpp:985 #48 0x7f20b03b9230 in KMMainWidget::destruct() /home/nico/kde-asan/src/kmail/src/kmmainwidget.cpp:392 #49 0x7f20b03b8fa4 in KMMainWidget::~KMMainWidget() /home/nico/kde-asan/src/kmail/src/kmmainwidget.cpp:376 #50 0x7f20b03b90d1 in KMMainWidget::~KMMainWidget() /home/nico/kde-asan/src/kmail/src/kmmainwidget.cpp:377 #51 0x7f2083e4dd4f in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2216 #52 0x7f2086f96cac in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1524 #53 0x7f2086f96d18 in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1550 #54 0x7f2083e4dd4f in QObjectPrivate::deleteChildren() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:2216 #55 0x7f2086f96cac in QWidget::~QWidget() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:1524 #56 0x7f2087414052 in QMainWindow::~QMainWindow() /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qmainwindow.cpp:340 #57 0x7f208cbcd240 in KMainWindow::~KMainWindow() /home/nico/kde-asan/src/kxmlgui/src/kmainwindow.cpp:433 #58 0x7f208cd1325f in KXmlGuiWindow::~KXmlGuiWindow() /home/nico/kde-asan/src/kxmlgui/src/kxmlguiwindow.cpp:217 #59 0x7f20b029065e in KMMainWin::~KMMainWin() /home/nico/kde-asan/src/kmail/src/kmmainwin.cpp:143 #60 0x7f20b02906b1 in KMMainWin::~KMMainWin() /home/nico/kde-asan/src/kmail/src/kmmainwin.cpp:143 #61 0x7f2083e34e6d in qDeleteInEventHandler(QObject*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:4975 #62 0x7f2083e4342f in QObject::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qobject.cpp:1433 #63 0x7f2086fa8c68 in QWidget::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qwidget.cpp:9398 #64 0x7f2087419818 in QMainWindow::event(QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/widgets/qmainwindow.cpp:1321 #65 0x7f208cbd3b70 in KMainWindow::event(QEvent*) /home/nico/kde-asan/src/kxmlgui/src/kmainwindow.cpp:905 #66 0x7f208cd13581 in KXmlGuiWindow::event(QEvent*) /home/nico/kde-asan/src/kxmlgui/src/kxmlguiwindow.cpp:221 #67 0x7f2086e67853 in QApplicationPrivate::notify_helper(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3298 #68 0x7f2086e7df75 in QApplication::notify(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:3245 #69 0x7f2083d59820 in QCoreApplication::notifyInternal2(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134 #70 0x7f2083d599ae in QCoreApplication::sendEvent(QObject*, QEvent*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1575 #71 0x7f2083d5ad11 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1946 #72 0x7f2083d5b006 in QCoreApplication::sendPostedEvents(QObject*, int) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1803 #73 0x7f208450df25 in postEventSourceDispatch /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244 #74 0x7f2079f13f2f in g_main_dispatch ../glib/gmain.c:3476 #75 0x7f2079f13f2f in g_main_context_dispatch_unlocked ../glib/gmain.c:4284 #76 0x7f2079f15b57 in g_main_context_iterate_unlocked ../glib/gmain.c:4349 #77 0x7f2079f1620b in g_main_context_iteration ../glib/gmain.c:4414 #78 0x7f208450c4b5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #79 0x7f20863d9269 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:87 #80 0x7f2083d7686f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventloop.cpp:100 #81 0x7f2083d77d17 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qeventloop.cpp:182 #82 0x7f2083d61a20 in QCoreApplication::exec() /home/nico/workspace/qt6/qtbase/src/corelib/kernel/qcoreapplication.cpp:1478 #83 0x7f208560d697 in QGuiApplication::exec() /home/nico/workspace/qt6/qtbase/src/gui/kernel/qguiapplication.cpp:1926 #84 0x7f2086e66ee8 in QApplication::exec() /home/nico/workspace/qt6/qtbase/src/widgets/kernel/qapplication.cpp:2568 #85 0x40aa5d in main /home/nico/kde-asan/src/kmail/src/main.cpp:174 #86 0x7f20832281af in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #87 0x7f2083228278 in __libc_start_main_impl ../csu/libc-start.c:360 #88 0x404704 in _start ../sysdeps/x86_64/start.S:115 0x7f20848ec398 is located 40 bytes before global variable 'staticMetaObject' defined in '/home/nico/workspace/qt6/qtbase/src/corelib/Core_autogen/include/moc_qobjectcleanuphandler.cpp:69:31' (0x7f20848ec3c0) of size 56 0x7f20848ec398 is located 0 bytes after global variable 'qt_incomplete_metaTypeArray' defined in '/home/nico/workspace/qt6/qtbase/src/corelib/kernel/qmetatype.h:2659:54' (0x7f20848ec380) of size 24 SUMMARY: AddressSanitizer: global-buffer-overflow /home/nico/kde-asan/src/kitemmodels/src/core/kselectionproxymodel.cpp:2362 in KSelectionProxyModel::columnCount(QModelIndex const&) const Shadow bytes around the buggy address: 0x7f20848ec100: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7f20848ec380: 00 00 00[f9]f9 f9 f9 f9 00 00 00 00 00 00 00 f9 0x7f20848ec400: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec500: 00 00 00 f9 f9 f9 f9 f9 00 00 00 00 00 00 00 f9 0x7f20848ec580: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00 0x7f20848ec600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==15427==ABORTING
So something is listening to destroyed and then doing an update of the model during the destruction.
This crash: https://invent.kde.org/pim/kmail/-/merge_requests/121 Another crash afterwards: https://invent.kde.org/pim/libkdepim/-/merge_requests/17
*** Bug 480951 has been marked as a duplicate of this bug. ***
I can confirm, it is fixed here: Operating System: openSUSE Tumbleweed 20240205 KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 Kernel Version: 6.7.2-1-default (64-bit) Graphics Platform: Wayland Processors: 20 × 13th Gen Intel® Core™ i7-13700H Memory: 62.5 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: TUXEDO Product Name: TUXEDO InfinityBook Pro Gen8 (MK1)