Application: gwenview (20.08.1) Qt Version: 5.15.2 Frameworks Version: 5.79.0 Operating System: Linux 5.11.12-200.fc33.x86_64 x86_64 Windowing system: X11 Distribution: "Fedora release 33 (Thirty Three)" -- Information about the crash: I browsed a picture folder on a USB flash drive in Gwenview, opened an image, cropped it, saved the JPG in ~/Pictures subfolder, then wanted to return to that folder. So I clicked Folders tab, then clicked "Recent Locations". Gwenview immediately crashed. -- Backtrace: Application: Gwenview (gwenview), signal: Segmentation fault [KCrash Handler] #4 0x00007fd1cfed5f5b in QListView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) () from /lib64/libQt5Widgets.so.5 #5 0x00007fd1cfe99788 in QAbstractItemView::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Widgets.so.5 #6 0x00007fd1ceff73c0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #7 0x00007fd1cef8c35e in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Core.so.5 #8 0x00007fd1cef8d9ce in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib64/libQt5Core.so.5 #9 0x00007fd1cfe92a3f in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /lib64/libQt5Widgets.so.5 #10 0x0000558246cd1e9c in Gwenview::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () #11 0x00007fd1ceff73c0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #12 0x00007fd1d05b6623 in KCoreDirListerCache::slotResult(KJob*) () from /lib64/libKF5KIOCore.so.5 #13 0x00007fd1ceff7386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #14 0x00007fd1cf33b1c0 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5 #15 0x00007fd1cf33fe8b in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5 #16 0x00007fd1ceff7386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #17 0x00007fd1d055f5ed in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5 #18 0x00007fd1d055805d in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5 #19 0x00007fd1d05617a2 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5 #20 0x00007fd1ceff7386 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #21 0x00007fd1cefefd1e in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5 #22 0x00007fd1cfc34ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #23 0x00007fd1cefc7bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #24 0x00007fd1cefca8c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5 #25 0x00007fd1cf014c27 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5 #26 0x00007fd1cd228a9f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #27 0x00007fd1cd27aa98 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0 #28 0x00007fd1cd225e73 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #29 0x00007fd1cf0146f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #30 0x00007fd1cefc657b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #31 0x00007fd1cefce1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5 #32 0x0000558246cc810f in main () [Inferior 1 (process 47383) detached] Possible duplicates by query: bug 435427, bug 434298, bug 433524, bug 432740, bug 432501. Reported using DrKonqi
I just repeated with `gwenview /tmp`, clicked Recent Locations in the sidebar, and another immediate crash. This time [02::16:44.179] unknown: Found no root index for QUrl("recentlyused:/locations") appeared in the console window. I tried clicking Recent Locations in kwrite's File > Open dialog, and that worked fine.
Can confirm.
Created attachment 140063 [details] New crash information added by DrKonqi gwenview (21.04.1) using Qt 5.15.2 - What I was doing when the application crashed: I started gwenview with gwenview ~/Pictures/2000s, then in the Brose Folders sidebar clicked "> Recent Locations"... nothing happened, so I double-clicked it -> immediate crash. The workaround is to click the '>' arrow to expand it in the sidebar, then double-click a sub-folder. -- Backtrace (Reduced): #4 0x00007f34698ab416 in QListView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) () from /lib64/libQt5Widgets.so.5 #5 0x00007f346986c058 in QAbstractItemView::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Widgets.so.5 #6 0x00007f346897cce0 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #7 0x00007f3468908e8e in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Core.so.5 #8 0x00007f346890a49e in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib64/libQt5Core.so.5
Thank you for the report. I couldn't reproduce this crash on Gwenview built from git-master (version 25.07.70). May we ask you to test again in either the current version Gwenview 24.12.3 or in a future version Gwenview 25.04 when KDE Gear 25.04 is released (Thursday, April 17, 2025)?
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
(In reply to Pedro from comment #4) > I couldn't reproduce this crash on Gwenview built > from git-master (version 25.07.70). May we ask you to test again in either > the current version Gwenview 24.12.3 or in a future version Gwenview 25.04 Sorry, works for me too with Gwenview 25.04 in Fedora 41. I again edited files on a USB drive in Gwenview and when I unmounted it and reopened Gwenview, Recent Folders and Recent Files just didn't show those files until I remounted it. I even entered the locations recentlyused:/files/ and recentlyused:/locations/ in Gwenview's location field and no crash. All good!