https://bugs.kde.org/show_bug.cgi?id=501103

Christoph Cullmann <christ...@cullmann.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/kate/-/commit/ed38fd2
                   |                            |02d437d8b2490d5d2302dfc78b5
                   |                            |4273a6

--- Comment #1 from Christoph Cullmann <christ...@cullmann.io> ---
Git commit ed38fd202d437d8b2490d5d2302dfc78b54273a6 by Christoph Cullmann.
Committed on 06/03/2025 at 17:37.
Pushed by cullmann into branch 'master'.

ensure we no longer can look up this projects in stuff triggered by
pluginViewProjectClosing

that can lead to crashes

#4  0x00007b6884454066 in KateProjectPluginView::slotDocumentUrlChanged
(this=0x648dc31b9fd0, document=0x648dc4eab1b0) at
/usr/src/debug/kate/kate-24.12.2/addons/project/kateprojectpluginview.cpp:555
#5  0x00007b688fdb1a49 in ?? () from /usr/lib/libQt6Core.so.6
#6  0x00007b688f637b95 in
KTextEditor::MainWindow::viewChanged(KTextEditor::View*) () from
/usr/lib/libKF6TextEditor.so.6
#7  0x00007b688fdb1a49 in ?? () from /usr/lib/libQt6Core.so.6
#8  0x00007b6891886002 in KateViewManager::viewChanged (this=<optimized out>,
_t1=<optimized out>) at
/usr/src/debug/kate/build/apps/lib/kateprivate_autogen/include/moc_kateviewmanager.cpp:200
#9  0x00007b6891880014 in KateViewManager::activateView (this=0x648dc31b2590,
view=0x648dc4bbea70) at
/usr/src/debug/kate/kate-24.12.2/apps/lib/kateviewmanager.cpp:917
#10 0x00007b6891880ac4 in KateViewManager::createView
(this=this@entry=0x648dc31b2590, doc=0x648dc4eab1b0, vs=vs@entry=0x0) at
/usr/src/debug/kate/kate-24.12.2/apps/lib/kateviewmanager.cpp:727
#11 0x00007b6891880e88 in KateViewManager::activateView (this=0x648dc31b2590,
docOrWidget=..., vs=0x0) at
/usr/src/debug/kate/kate-24.12.2/apps/lib/kateviewmanager.cpp:939
#12 0x00007b689185de87 in KateMainWindow::openUrl (this=0x648dc3549fe0,
url=..., encoding=...) at
/usr/src/debug/kate/kate-24.12.2/apps/lib/katemainwindow.h:80
#13 KateMainWindow::qt_static_metacall (_o=0x648dc3549fe0, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffd9b3789c0) at
/usr/src/debug/kate/build/apps/lib/kateprivate_autogen/include/moc_katemainwindow.cpp:348
#14 0x00007b688fd6c365 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*,
Qt::ConnectionType, long long, void const* const*, char const* const*,
QtPrivate::QMetaTypeInterface const* const*) () from /usr/lib/libQt6Core.so.6
#15 0x00007b688fd611be in QMetaObject::invokeMethodImpl(QObject*, char const*,
Qt::ConnectionType, long long, void const* const*, char const* const*,
QtPrivate::QMetaTypeInterface const* const*) () from /usr/lib/libQt6Core.so.6
#16 0x00007b688f6469a1 in KTextEditor::MainWindow::openUrl(QUrl const&, QString
const&) () from /usr/lib/libKF6TextEditor.so.6
#17 0x00007b6884465b0f in KateProjectViewTree::openSelectedDocument
(this=<optimized out>) at
/usr/src/debug/kate/kate-24.12.2/addons/project/kateprojectviewtree.cpp:190
#18 KateProjectView::openSelectedDocument (this=<optimized out>) at
/usr/src/debug/kate/kate-24.12.2/addons/project/kateprojectview.cpp:91
#19 KateProjectPluginView::slotCurrentChanged (this=0x648dc31b9fd0,
index=<optimized out>) at
/usr/src/debug/kate/kate-24.12.2/addons/project/kateprojectpluginview.cpp:509
#20 0x00007b688fdb1a49 in ?? () from /usr/lib/libQt6Core.so.6
#21 0x00007b689103e736 in ?? () from /usr/lib/libQt6Widgets.so.6
#22 0x00007b689104c847 in ?? () from /usr/lib/libQt6Widgets.so.6
#23 0x00007b689104c921 in QComboBox::setCurrentIndex(int) () from
/usr/lib/libQt6Widgets.so.6
#24 0x00007b688fdb1a49 in ?? () from /usr/lib/libQt6Core.so.6
#25 0x00007b688ff68660 in QAbstractItemModel::endRemoveRows() () from
/usr/lib/libQt6Core.so.6
#26 0x00007b68908fa824 in QStandardItemModel::removeRows(int, int, QModelIndex
const&) () from /usr/lib/libQt6Gui.so.6
#27 0x00007b689104a4d8 in QComboBox::removeItem(int) () from
/usr/lib/libQt6Widgets.so.6
#28 0x00007b68844651f5 in KateProjectPluginView::slotHandleProjectClosing
(this=<optimized out>, project=<optimized out>) at
/usr/src/debug/kate/kate-24.12.2/addons/project/kateprojectpluginview.cpp:703
#29 0x00007b688fdb1a49 in ?? () from /usr/lib/libQt6Core.so.6
#30 0x00007b688445aa02 in KateProjectPlugin::pluginViewProjectClosing
(this=0x648dc3347b20, _t1=0x648dc3d9f0d0) at
/usr/src/debug/kate/build/addons/project/kateprojectplugin_autogen/include/moc_kateprojectplugin.cpp:332
#31 KateProjectPlugin::closeProject (this=0x648dc3347b20,
project=0x648dc3d9f0d0) at
/usr/src/debug/kate/kate-24.12.2/addons/project/kateprojectplugin.cpp:228

M  +6    -1    addons/project/kateprojectplugin.cpp
M  +0    -1    addons/project/kateprojectplugin.h
M  +10   -8    addons/project/kateprojectpluginview.cpp

https://invent.kde.org/utilities/kate/-/commit/ed38fd202d437d8b2490d5d2302dfc78b54273a6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to