SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. exit kmail 2. observe crash OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Thread 1 "kmail" received signal SIGSEGV, Segmentation fault. 0x00007fffeb696b80 in QObject::staticMetaObject () from /opt/qt6/lib/libQt6Core.so.6 (gdb) bt #0 0x00007fffeb696b80 in QObject::staticMetaObject () at /opt/qt6/lib/libQt6Core.so.6 #1 0x00007fffe8a2e643 in KSelectionProxyModel::columnCount(QModelIndex const&) const (this=0x555555eb51c0, index=...) at /src/kdesrc/kitemmodels/src/core/kselectionproxymodel.cpp:2362 #2 0x00007fffeb446371 in QSortFilterProxyModelPrivate::find_source_sort_column() const (this=this@entry=0x555555e956d0) at /src/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:660 #3 0x00007fffeb44fd51 in QSortFilterProxyModelPrivate::_q_clearMapping() (this=0x555555e956d0) at /src/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:468 #4 0x00007fffeb45403e in QSortFilterProxyModelPrivate::_q_sourceReset() (this=0x555555e956d0) at /src/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1587 #5 0x00007fffeb1dc4dd in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffbb10, r=0x555555f4e570, this=<optimized out>) at /src/qt5/build2/qtbase/include/QtCore/../../../../qtbase/src/corelib/kernel/qobjectdefs_impl.h:469 #6 doActivate<false>(QObject*, int, void**) (sender=0x555555eb51c0, signal_index=21, argv=0x7fffffffbb10) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:4043 #7 0x00007fffeb1d3f07 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fffeb6a0c80 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7fffffffbb10) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:4103 #8 0x00007fffeb3febd1 in QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal) (this=<optimized out>, _t1=...) at /src/qt5/build2/qtbase/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1110 #9 0x00007fffeb1dc4dd in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffbc20, r=0x555555eb51c0, this=<optimized out>) at /src/qt5/build2/qtbase/include/QtCore/../../../../qtbase/src/corelib/kernel/qobjectdefs_impl.h:469 #10 doActivate<false>(QObject*, int, void**) (sender=0x555555f64970, signal_index=7, argv=0x7fffffffbc20) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:4043 #11 0x00007fffeb1d3f07 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fffeb6a18c0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffffffbc20) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:4103 #12 0x00007fffeb41aa66 in QItemSelectionModel::modelChanged(QAbstractItemModel*) (this=<optimized out>, _t1=<optimized out>) at /src/qt5/build2/qtbase/src/corelib/Core_autogen/include/moc_qitemselectionmodel.cpp:518 #13 0x00007fffeb1dc4dd in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffffffbd30, r=0x555555f64970, this=<optimized out>) at /src/qt5/build2/qtbase/include/QtCore/../../../../qtbase/src/corelib/kernel/qobjectdefs_impl.h:469 #14 doActivate<false>(QObject*, int, void**) (sender=0x555555b523d0, signal_index=0, argv=0x7fffffffbd30) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:4043 #15 0x00007fffeb1d3f07 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) --Type <RET> for more, q to quit, c to continue without paging-- (sender=sender@entry=0x555555b523d0, m=m@entry=0x7fffeb696b80 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffbd30) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:4103 #16 0x00007fffeb1d3fc3 in QObject::destroyed(QObject*) (this=this@entry=0x555555b523d0, _t1=<optimized out>, _t1@entry=0x555555b523d0) at /src/qt5/build2/qtbase/src/corelib/kernel/moc_qobject.cpp:227 #17 0x00007fffeb1d9c62 in QObject::~QObject() (this=0x555555b523d0, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:1070 #18 0x00007fffea52e06d in MailCommon::FolderTreeWidgetProxyModel::~FolderTreeWidgetProxyModel() (this=0x555555b523d0, __in_chrg=<optimized out>) at /src/kdesrc/mailcommon/src/folder/foldertreewidgetproxymodel.cpp:91 #19 0x00007fffeb1d4ba9 in QObjectPrivate::deleteChildren() (this=this@entry=0x555555b17180) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:2215 #20 0x00007fffec3e4f08 in QWidget::~QWidget() (this=0x555555b1a5f0, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1524 #21 0x00007fffea52bd0d in MailCommon::FolderTreeWidget::~FolderTreeWidget() (this=0x555555b1a5f0, __in_chrg=<optimized out>) at /src/kdesrc/mailcommon/src/folder/foldertreewidget.cpp:131 #22 0x00007fffeb1d4ba9 in QObjectPrivate::deleteChildren() (this=this@entry=0x555555e32950) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:2215 #23 0x00007fffec3e4f08 in QWidget::~QWidget() (this=0x55555634be60, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1524 #24 0x00007fffec5945bd in QSplitter::~QSplitter() (this=0x55555634be60, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/widgets/qsplitter.cpp:951 #25 0x00007fffeb1d4ba9 in QObjectPrivate::deleteChildren() (this=this@entry=0x555555cdfba0) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:2215 #26 0x00007fffec3e4f08 in QWidget::~QWidget() (this=0x555555e56560, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1524 #27 0x00007fffec5945bd in QSplitter::~QSplitter() (this=0x555555e56560, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/widgets/qsplitter.cpp:951 #28 0x00007ffff7e6ed87 in KMMainWidget::deleteWidgets() (this=this@entry=0x555555984cb0) at /src/kdesrc/kmail/src/kmmainwidget.cpp:985 #29 0x00007ffff7e94156 in KMMainWidget::destruct() (this=0x555555984cb0) at /src/kdesrc/kmail/src/kmmainwidget.cpp:392 #30 KMMainWidget::destruct() (this=0x555555984cb0) at /src/kdesrc/kmail/src/kmmainwidget.cpp:381 #31 0x00007ffff7e942e7 in KMMainWidget::~KMMainWidget() (this=0x555555984cb0, __in_chrg=<optimized out>) at /src/kdesrc/kmail/src/kmmainwidget.cpp:376 #32 0x00007ffff7e9453d in KMMainWidget::~KMMainWidget() (this=0x555555984cb0, __in_chrg=<optimized out>) --Type <RET> for more, q to quit, c to continue without paging-- at /src/kdesrc/kmail/src/kmmainwidget.cpp:377 #33 0x00007fffeb1d4ba9 in QObjectPrivate::deleteChildren() (this=this@entry=0x55555588d470) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:2215 #34 0x00007fffec3e4f08 in QWidget::~QWidget() (this=0x555555ac2970, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1524 #35 0x00007fffec3e505d in QWidget::~QWidget() (this=0x555555ac2970, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1550 #36 0x00007fffeb1d4ba9 in QObjectPrivate::deleteChildren() (this=this@entry=0x55555597f500) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:2215 #37 0x00007fffec3e4f08 in QWidget::~QWidget() (this=this@entry=0x555555abe890, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1524 #38 0x00007fffec5291a1 in QMainWindow::~QMainWindow() (this=this@entry=0x555555abe890, __in_chrg=<optimized out>) at /src/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp:340 #39 0x00007fffeca3c5f1 in KMainWindow::~KMainWindow() (this=this@entry=0x555555abe890, __in_chrg=<optimized out>) at /src/kdesrc/kxmlgui/src/kmainwindow.cpp:433 #40 0x00007fffeca8302f in KXmlGuiWindow::~KXmlGuiWindow() (this=this@entry=0x555555abe890, __vtt_parm=__vtt_parm@entry=0x7ffff7f84ef8 <VTT for KMMainWin+8>, __in_chrg=<optimized out>) at /src/kdesrc/kxmlgui/src/kxmlguiwindow.cpp:217 #41 0x00007ffff7e1c70b in KMMainWin::~KMMainWin() (this=0x555555abe890, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /src/kdesrc/kmail/src/kmmainwin.cpp:143 #42 0x00007ffff7e1c76d in KMMainWin::~KMMainWin() (this=0x555555abe890, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /src/kdesrc/kmail/src/kmmainwin.cpp:143 #43 0x00007fffeb1ceb75 in QObject::event(QEvent*) (this=this@entry=0x555555abe890, e=e@entry=0x55555c1bd690) at /src/qt5/qtbase/src/corelib/kernel/qobject.cpp:1433 #44 0x00007fffec3e9516 in QWidget::event(QEvent*) (this=this@entry=0x555555abe890, event=event@entry=0x55555c1bd690) at /src/qt5/qtbase/src/widgets/kernel/qwidget.cpp:9422 #45 0x00007fffec52b627 in QMainWindow::event(QEvent*) (this=this@entry=0x555555abe890, event=event@entry=0x55555c1bd690) at /src/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp:1328 #46 0x00007fffeca3d145 in KMainWindow::event(QEvent*) (this=this@entry=0x555555abe890, ev=ev@entry=0x55555c1bd690) at /src/kdesrc/kxmlgui/src/kmainwindow.cpp:905 #47 0x00007fffeca86330 in KXmlGuiWindow::event(QEvent*) (this=0x555555abe890, ev=0x55555c1bd690) at /src/kdesrc/kxmlgui/src/kxmlguiwindow.cpp:221 --Type <RET> for more, q to quit, c to continue without paging-- #48 0x00007fffec38ee05 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x555555abe890, e=0x55555c1bd690) at /src/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3298 #49 0x00007fffeb1732c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555555abe890, event=0x55555c1bd690) at /src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1134 #50 0x00007fffeb1734dd in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1575 #51 0x00007fffeb1771cf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5555555a5d20) at /src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1946 #52 0x00007fffeb17746c in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at /src/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1803 #53 0x00007fffeb47caf7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5555558919b0) at /src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244 #54 0x00007fffe642b50d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #55 0x00007fffe64862f8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #56 0x00007fffe642a220 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #57 0x00007fffeb47c380 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555890440, flags=...) at /src/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #58 0x00007fffeb18019b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffc710, flags=..., flags@entry=...) at /src/qt5/build2/qtbase/include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:34 #59 0x00007fffeb17c73a in QCoreApplication::exec() () at /src/qt5/build2/qtbase/include/QtCore/../../../../qtbase/src/corelib/global/qflags.h:74 #60 0x00007fffeb9ce4c0 in QGuiApplication::exec() () at /src/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1926 #61 0x00007fffec38ed79 in QApplication::exec() () at /src/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2568 #62 0x0000555555559bab in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /src/kdesrc/kmail/src/main.cpp:174
Note this with Qt 6.7.0 Beta2
*** This bug has been marked as a duplicate of bug 470097 ***