Bug 456295 - Dolphin crash in KFileItemModel::expandedParentsCount() after changing files at the CLI/other app
Summary: Dolphin crash in KFileItemModel::expandedParentsCount() after changing files ...
Status: RESOLVED DUPLICATE of bug 417929
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 21.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-03 23:27 UTC by Alex Atkinson
Modified: 2022-07-06 22:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Atkinson 2022-07-03 23:27:30 UTC
Application: dolphin (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.18.7-100.fc35.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

Moving files at the CLI while Dolphin had that tree view open.
Nine of ten times there's no issue, but sometimes it falls over. Here's one log that managed to populate messages. Usually it just reports 'KCrash: Application 'dolphin' crashing...' with nothing really helpful.
`dolphin[171949]: org.kde.dolphin: Invalid item range (index: 17 , count: 0 )`

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fc8db32c683 in KFileItemModel::expandedParentsCount(KFileItemModel::ItemData const*) () from /lib64/libdolphinprivate.so.5
#5  0x00007fc8db356b29 in KItemListView::hasSiblingSuccessor(int) const () from /lib64/libdolphinprivate.so.5
#6  0x00007fc8db357918 in KItemListView::updateSiblingsInformation(int, int) () from /lib64/libdolphinprivate.so.5
#7  0x00007fc8db35b732 in KItemListView::slotItemsRemoved(KItemRangeList const&) () from /lib64/libdolphinprivate.so.5
#8  0x00007fc8d945f7d9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007fc8db316b49 in KItemModelBase::itemsRemoved(KItemRangeList const&) () from /lib64/libdolphinprivate.so.5
#10 0x00007fc8db32aeae in KFileItemModel::setExpanded(int, bool) () from /lib64/libdolphinprivate.so.5
#11 0x00007fc8db34b30b in KItemListController::onRelease(QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, bool) () from /lib64/libdolphinprivate.so.5
#12 0x00007fc8db34b4bb in KItemListController::mouseReleaseEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /lib64/libdolphinprivate.so.5
#13 0x00007fc8db34f389 in KItemListController::processEvent(QEvent*, QTransform const&) () from /lib64/libdolphinprivate.so.5
#14 0x00007fc8db354b61 in KItemListView::event(QEvent*) () from /lib64/libdolphinprivate.so.5
#15 0x00007fc8d9fcc443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007fc8d942bbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007fc8da30b615 in QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007fc8da30b9d1 in QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007fc8da311610 in QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007fc8da31e271 in QGraphicsScene::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007fc8d9fcc443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007fc8d942bbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007fc8da33c208 in QGraphicsView::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007fc8da00effe in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007fc8da0bca22 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007fc8d942b99d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#27 0x00007fc8d9fcc432 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007fc8d9fd4074 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007fc8d942bbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007fc8d9fd2b57 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#31 0x00007fc8da0285e0 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007fc8da02b875 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#33 0x00007fc8d9fcc443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007fc8d942bbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#35 0x00007fc8d9948c28 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#36 0x00007fc8d9928d7c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#37 0x00007fc8d6c2a6c4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#38 0x00007fc8d719c0af in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#39 0x00007fc8d71f1308 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#40 0x00007fc8d71998a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#41 0x00007fc8d947cf88 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007fc8d942a5f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#43 0x00007fc8d9432b34 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#44 0x000055cbdc8367c9 in main ()
[Inferior 1 (process 173484) detached]

Possible duplicates by query: bug 417929, bug 403691, bug 403665, bug 400686, bug 385257.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-07-06 22:41:29 UTC

*** This bug has been marked as a duplicate of bug 417929 ***