Bug 447955 - Gwenview crashed after clicking Places sidebar/Recent Locations
Summary: Gwenview crashed after clicking Places sidebar/Recent Locations
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.12.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-01-05 02:21 UTC by Robert Webb
Modified: 2024-04-25 08:02 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Webb 2022-01-05 02:21:27 UTC
Application: gwenview (21.12.0)

Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.12-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Opened Gwenview.
Clicked 'Recently Used Locations'.
A moment later, after showing [an empty list?], Gwenview crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = {<std::_Tuple_impl<0, char*, std::default_delete<char []> >> = {<std::_Tuple_impl<1, std::default_delete<char []> >> = {<std::_Head_base<1, std::default_delete<char []>, true>> = {_M_head_impl = {<No data fields>}}, <No data fields>}, <std::_Head_base<0, char*, false>> = {_M_head_impl = <optimized out>}, <No data fields>}, <No data fields>}}, <No data fields>}}
[KCrash Handler]
#6  0x00007fafc15d3a2e in QVector<QPair<double, QVariant> >::count (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:241
#7  QVariantAnimationPrivate::recalculateCurrentInterval (this=0x7ffc00000004, force=false) at animation/qvariantanimation.cpp:228
#8  0x00007fafc289bf15 in QModelIndex::parent (this=0x55e667c8f9b0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#9  QListView::scrollTo (this=0x55e6674336c0, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qlistview.cpp:571
#10 0x00007fafc285d300 in QAbstractItemView::currentChanged (this=0x55e6674336c0, current=..., previous=...) at itemviews/qabstractitemview.cpp:3677
#11 0x00007fafc18053c8 in doActivate<false> (sender=0x55e66734c890, signal_index=4, argv=0x7ffc86154530) at kernel/qobject.cpp:3898
#12 0x00007fafc17fe85f in QMetaObject::activate (sender=sender@entry=0x55e66734c890, m=m@entry=0x7fafc1aa30a0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc86154530) at kernel/qobject.cpp:3946
#13 0x00007fafc17796d3 in QItemSelectionModel::currentChanged (this=this@entry=0x55e66734c890, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:482
#14 0x00007fafc177d0b9 in QItemSelectionModel::setCurrentIndex (this=0x55e66734c890, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1416
#15 0x00007fafc2856edf in QAbstractItemView::setCurrentIndex (this=<optimized out>, index=...) at itemviews/qabstractitemview.cpp:1080
#16 0x000055e666fb4d0f in Gwenview::MainWindow::slotDirListerCompleted (this=0x55e667360540) at /usr/src/debug/gwenview5-21.12.0-1.1.x86_64/app/mainwindow.cpp:1399
#17 Gwenview::MainWindow::qt_static_metacall (_o=0x55e667360540, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/gwenview5-21.12.0-1.1.x86_64/build/app/gwenview_autogen/EWIEGA46WW/moc_mainwindow.cpp:245
#18 0x00007fafc18053c8 in doActivate<false> (sender=0x55e667371b20, signal_index=4, argv=0x7ffc86154790) at kernel/qobject.cpp:3898
#19 0x00007fafc17fe85f in QMetaObject::activate (sender=sender@entry=0x55e667371b20, m=m@entry=0x7fafc3039f60 <KCoreDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#20 0x00007fafc2fc3cb3 in KCoreDirLister::completed (this=this@entry=0x55e667371b20) at /usr/src/debug/kio-5.89.0-1.2.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:479
#21 0x00007fafc2fcc03b in KCoreDirListerCache::slotResult (this=0x7fafc303d3c0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, j=<optimized out>) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/kcoredirlister.cpp:1327
#22 0x00007fafc1805393 in QtPrivate::QSlotObjectBase::call (a=0x7ffc86154980, r=0x7fafc303d3c0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, this=0x55e667c1fb30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x55e667c20690, signal_index=6, argv=0x7ffc86154980) at kernel/qobject.cpp:3886
#24 0x00007fafc17fe85f in QMetaObject::activate (sender=sender@entry=0x55e667c20690, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc86154980) at kernel/qobject.cpp:3946
#25 0x00007fafc1bf2ffc in KJob::result (this=this@entry=0x55e667c20690, _t1=<optimized out>, _t1@entry=0x55e667c20690, _t2=...) at /usr/src/debug/kcoreaddons-5.89.0-1.2.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#26 0x00007fafc1bf739b in KJob::finishJob (this=0x55e667c20690, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.89.0-1.2.x86_64/src/lib/jobs/kjob.cpp:98
#27 0x00007fafc1805393 in QtPrivate::QSlotObjectBase::call (a=0x7ffc86154a50, r=0x55e667c20690, this=0x55e667b49490) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false> (sender=0x55e667b44a60, signal_index=7, argv=0x7ffc86154a50) at kernel/qobject.cpp:3886
#29 0x00007fafc2f7539d in KIO::SlaveInterface::dispatch (this=0x55e667b44a60, _cmd=104, rawdata=...) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/slaveinterface.cpp:149
#30 0x00007fafc2f6d989 in KIO::SlaveInterface::dispatch (this=0x55e667b44a60) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/slaveinterface.cpp:78
#31 0x00007fafc2f7714a in KIO::Slave::gotInput (this=0x55e667b44a60) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/slave.cpp:336
#32 0x00007fafc1805393 in QtPrivate::QSlotObjectBase::call (a=0x7ffc86154c90, r=0x55e667b44a60, this=0x55e667bc6080) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false> (sender=0x55e667b82d80, signal_index=3, argv=0x7ffc86154c90) at kernel/qobject.cpp:3886
#34 0x00007fafc17fb33e in QObject::event (this=0x55e667b82d80, e=0x55e667c22a10) at kernel/qobject.cpp:1314
#35 0x00007fafc25e8a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e667b82d80, e=0x55e667c22a10) at kernel/qapplication.cpp:3632
#36 0x00007fafc17ced2a in QCoreApplication::notifyInternal2 (receiver=0x55e667b82d80, event=0x55e667c22a10) at kernel/qcoreapplication.cpp:1064
#37 0x00007fafc17d1d77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e6671e3480) at kernel/qcoreapplication.cpp:1821
#38 0x00007fafc1826b83 in postEventSourceDispatch (s=s@entry=0x55e66730d060) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007fafbefe8d9f in g_main_dispatch (context=0x7fafb4005000) at ../glib/gmain.c:3381
#40 g_main_context_dispatch (context=0x7fafb4005000) at ../glib/gmain.c:4099
#41 0x00007fafbefe9128 in g_main_context_iterate (context=context@entry=0x7fafb4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#42 0x00007fafbefe91df in g_main_context_iteration (context=0x7fafb4005000, may_block=1) at ../glib/gmain.c:4240
#43 0x00007fafc1826204 in QEventDispatcherGlib::processEvents (this=0x55e667308ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fafc17cd72b in QEventLoop::exec (this=this@entry=0x7ffc861550a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#45 0x00007fafc17d5a10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007fafc1e8a19c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#47 0x00007fafc25e89f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#48 0x000055e666fa875b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview5-21.12.0-1.1.x86_64/app/main.cpp:197
[Inferior 1 (process 31224) detached]

The reporter indicates this bug may be a duplicate of or related to bug 435838.

Possible duplicates by query: bug 435838, bug 434298, bug 424274, bug 417218, bug 349155.

Reported using DrKonqi
Comment 1 Robert Webb 2022-01-05 02:38:23 UTC
Correction:
I clicked on Recent Locations in the Places sidebar.

Additional info:
The main "sub-window" was showing the Recent Folders tab
upon opening Gwenview.
Comment 2 Robert Webb 2022-01-05 02:50:15 UTC
Tried it again.  Same result.

Gwenview opened, by DrKonqi after the last crash.
Showing the Recent Folders tab.
I clicked on Recent Locations in the Places sidebar.
Crash.  (DrKonqi did not open this time.)
Comment 3 Robert Webb 2022-01-05 03:24:36 UTC
Tried it a third time, slightly differently.

Opened Gwenview.
This time, instead of clicking in the Places sidebar, I clicked
'recentlyused:/locations/' under the Recent Folders tab.
Gwenview crashed immediately.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = {<std::_Tuple_impl<0, char*, std::default_delete<char []> >> = {<std::_Tuple_impl<1, std::default_delete<char []> >> = {<std::_Head_base<1, std::default_delete<char []>, true>> = {_M_head_impl = {<No data fields>}}, <No data fields>}, <std::_Head_base<0, char*, false>> = {_M_head_impl = <optimized out>}, <No data fields>}, <No data fields>}}, <No data fields>}}
[KCrash Handler]
#6  0x00007f3ab0fc9a2e in QVector<QPair<double, QVariant> >::count (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:241
#7  QVariantAnimationPrivate::recalculateCurrentInterval (this=0x7ffe00000004, force=false) at animation/qvariantanimation.cpp:228
#8  0x00007f3ab2291f15 in QModelIndex::parent (this=0x5610f643c300) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#9  QListView::scrollTo (this=0x5610f650a4c0, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qlistview.cpp:571
#10 0x00007f3ab2253300 in QAbstractItemView::currentChanged (this=0x5610f650a4c0, current=..., previous=...) at itemviews/qabstractitemview.cpp:3677
#11 0x00007f3ab11fb3c8 in doActivate<false> (sender=0x5610f6424680, signal_index=4, argv=0x7ffe11319c30) at kernel/qobject.cpp:3898
#12 0x00007f3ab11f485f in QMetaObject::activate (sender=sender@entry=0x5610f6424680, m=m@entry=0x7f3ab14990a0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe11319c30) at kernel/qobject.cpp:3946
#13 0x00007f3ab116f6d3 in QItemSelectionModel::currentChanged (this=this@entry=0x5610f6424680, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:482
#14 0x00007f3ab11730b9 in QItemSelectionModel::setCurrentIndex (this=0x5610f6424680, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1416
#15 0x00007f3ab224cedf in QAbstractItemView::setCurrentIndex (this=<optimized out>, index=...) at itemviews/qabstractitemview.cpp:1080
#16 0x00005610f42e6d0f in Gwenview::MainWindow::slotDirListerCompleted (this=0x5610f64418c0) at /usr/src/debug/gwenview5-21.12.0-1.1.x86_64/app/mainwindow.cpp:1399
#17 Gwenview::MainWindow::qt_static_metacall (_o=0x5610f64418c0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/gwenview5-21.12.0-1.1.x86_64/build/app/gwenview_autogen/EWIEGA46WW/moc_mainwindow.cpp:245
#18 0x00007f3ab11fb3c8 in doActivate<false> (sender=0x5610f643c070, signal_index=4, argv=0x7ffe11319e90) at kernel/qobject.cpp:3898
#19 0x00007f3ab11f485f in QMetaObject::activate (sender=sender@entry=0x5610f643c070, m=m@entry=0x7f3ab2a2ff60 <KCoreDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#20 0x00007f3ab29b9cb3 in KCoreDirLister::completed (this=this@entry=0x5610f643c070) at /usr/src/debug/kio-5.89.0-1.2.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:479
#21 0x00007f3ab29c203b in KCoreDirListerCache::slotResult (this=0x7f3ab2a333c0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, j=<optimized out>) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/kcoredirlister.cpp:1327
#22 0x00007f3ab11fb393 in QtPrivate::QSlotObjectBase::call (a=0x7ffe1131a080, r=0x7f3ab2a333c0 <_ZZN12_GLOBAL__N_121Q_QGS_kDirListerCache13innerFunctionEvE6holder.lto_priv.0>, this=0x5610f6da72d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x5610f6da59a0, signal_index=6, argv=0x7ffe1131a080) at kernel/qobject.cpp:3886
#24 0x00007f3ab11f485f in QMetaObject::activate (sender=sender@entry=0x5610f6da59a0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe1131a080) at kernel/qobject.cpp:3946
#25 0x00007f3ab15e8ffc in KJob::result (this=this@entry=0x5610f6da59a0, _t1=<optimized out>, _t1@entry=0x5610f6da59a0, _t2=...) at /usr/src/debug/kcoreaddons-5.89.0-1.2.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#26 0x00007f3ab15ed39b in KJob::finishJob (this=0x5610f6da59a0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.89.0-1.2.x86_64/src/lib/jobs/kjob.cpp:98
#27 0x00007f3ab11fb393 in QtPrivate::QSlotObjectBase::call (a=0x7ffe1131a150, r=0x5610f6da59a0, this=0x5610f6c65ec0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false> (sender=0x5610f6c6db90, signal_index=7, argv=0x7ffe1131a150) at kernel/qobject.cpp:3886
#29 0x00007f3ab296b39d in KIO::SlaveInterface::dispatch (this=0x5610f6c6db90, _cmd=104, rawdata=...) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/slaveinterface.cpp:149
#30 0x00007f3ab2963989 in KIO::SlaveInterface::dispatch (this=0x5610f6c6db90) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/slaveinterface.cpp:78
#31 0x00007f3ab296d14a in KIO::Slave::gotInput (this=0x5610f6c6db90) at /usr/src/debug/kio-5.89.0-1.2.x86_64/src/core/slave.cpp:336
#32 0x00007f3ab11fb393 in QtPrivate::QSlotObjectBase::call (a=0x7ffe1131a390, r=0x5610f6c6db90, this=0x5610f6dbbf70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false> (sender=0x5610f6c04000, signal_index=3, argv=0x7ffe1131a390) at kernel/qobject.cpp:3886
#34 0x00007f3ab11f133e in QObject::event (this=0x5610f6c04000, e=0x5610f6da9340) at kernel/qobject.cpp:1314
#35 0x00007f3ab1fdea7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5610f6c04000, e=0x5610f6da9340) at kernel/qapplication.cpp:3632
#36 0x00007f3ab11c4d2a in QCoreApplication::notifyInternal2 (receiver=0x5610f6c04000, event=0x5610f6da9340) at kernel/qcoreapplication.cpp:1064
#37 0x00007f3ab11c7d77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5610f62ba480) at kernel/qcoreapplication.cpp:1821
#38 0x00007f3ab121cb83 in postEventSourceDispatch (s=s@entry=0x5610f63e4020) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f3aae9ded9f in g_main_dispatch (context=0x7f3aa4005000) at ../glib/gmain.c:3381
#40 g_main_context_dispatch (context=0x7f3aa4005000) at ../glib/gmain.c:4099
#41 0x00007f3aae9df128 in g_main_context_iterate (context=context@entry=0x7f3aa4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#42 0x00007f3aae9df1df in g_main_context_iteration (context=0x7f3aa4005000, may_block=1) at ../glib/gmain.c:4240
#43 0x00007f3ab121c204 in QEventDispatcherGlib::processEvents (this=0x5610f63dfa80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007f3ab11c372b in QEventLoop::exec (this=this@entry=0x7ffe1131a7a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#45 0x00007f3ab11cba10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007f3ab188019c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#47 0x00007f3ab1fde9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#48 0x00005610f42da75b in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview5-21.12.0-1.1.x86_64/app/main.cpp:197
[Inferior 1 (process 31972) detached]
Comment 4 Nicolas Fella 2022-01-07 19:39:28 UTC
Can reproduce on current master

[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f2fb996f5a5 in QModelIndex::parent (this=0x5589a5430b20) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#7  QListView::scrollTo (this=0x5589a473e7a0, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qlistview.cpp:571
#8  0x00007f2fb9930c10 in QAbstractItemView::currentChanged (this=0x5589a473e7a0, current=..., previous=...) at itemviews/qabstractitemview.cpp:3677
#9  0x00007f2fb8700498 in doActivate<false> (sender=0x5589a464ac80, signal_index=4, argv=0x7ffd909847e0) at kernel/qobject.cpp:3898
#10 0x00007f2fb86f992f in QMetaObject::activate (sender=sender@entry=0x5589a464ac80, m=m@entry=0x7f2fb899a6e0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd909847e0) at kernel/qobject.cpp:3946
#11 0x00007f2fb86746c3 in QItemSelectionModel::currentChanged (this=this@entry=0x5589a464ac80, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:482
#12 0x00007f2fb86780a9 in QItemSelectionModel::setCurrentIndex (this=0x5589a464ac80, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1416
#13 0x00007f2fb9929eaf in QAbstractItemView::setCurrentIndex (this=<optimized out>, index=...) at itemviews/qabstractitemview.cpp:1080
#14 0x00005589a2d61957 in Gwenview::MainWindow::slotDirListerCompleted (this=0x5589a4663960) at /home/nico/kde/src/gwenview/app/mainwindow.cpp:1388
#15 0x00005589a2d1dd6f in Gwenview::MainWindow::qt_static_metacall (_o=0x5589a4663960, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7ffd90984a00) at /home/nico/kde/build/gwenview/app/gwenview_autogen/EWIEGA46WW/moc_mainwindow.cpp:248
#16 0x00007f2fb8700498 in doActivate<false> (sender=0x5589a4665a80, signal_index=4, argv=0x7ffd90984a00) at kernel/qobject.cpp:3898
#17 0x00007f2fbb26448d in KCoreDirLister::completed (this=0x5589a4665a80) at /home/nico/kde/build/kio/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister.cpp:479
#18 0x00007f2fbb258d18 in KCoreDirListerCache::slotResult (this=0x7f2fbb34b640 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=0x5589a533ff90) at /home/nico/kde/src/kio/src/core/kcoredirlister.cpp:1333
#19 0x00007f2fbb27c3cd in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, void (KCoreDirListerCache::*)(KJob*)>::call (f=(void (KCoreDirListerCache::*)(KCoreDirListerCache * const, KJob *)) 0x7f2fbb25847c <KCoreDirListerCache::slotResult(KJob*)>, o=0x7f2fbb34b640 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, arg=0x7ffd90984cf0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:152
#20 0x00007f2fbb27a161 in QtPrivate::FunctionPointer<void (KCoreDirListerCache::*)(KJob*)>::call<QtPrivate::List<KJob*>, void> (f=(void (KCoreDirListerCache::*)(KCoreDirListerCache * const, KJob *)) 0x7f2fbb25847c <KCoreDirListerCache::slotResult(KJob*)>, o=0x7f2fbb34b640 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, arg=0x7ffd90984cf0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:185
#21 0x00007f2fbb276683 in QtPrivate::QSlotObject<void (KCoreDirListerCache::*)(KJob*), QtPrivate::List<KJob*>, void>::impl (which=1, this_=0x5589a533e160, r=0x7f2fbb34b640 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, a=0x7ffd90984cf0, ret=0x0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:418
#22 0x00007f2fb8700463 in QtPrivate::QSlotObjectBase::call (a=0x7ffd90984cf0, r=0x7f2fbb34b640 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, this=0x5589a533e160) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x5589a533ff90, signal_index=6, argv=0x7ffd90984cf0) at kernel/qobject.cpp:3886
#24 0x00007f2fb8d27da0 in KJob::result (this=0x5589a533ff90, _t1=0x5589a533ff90, _t2=...) at src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#25 0x00007f2fb8d27d0c in KJob::finishJob (this=0x5589a533ff90, emitResult=true) at /home/nico/kde/src/kcoreaddons/src/lib/jobs/kjob.cpp:98
#26 0x00007f2fb8d29324 in KJob::emitResult (this=0x5589a533ff90) at /home/nico/kde/src/kcoreaddons/src/lib/jobs/kjob.cpp:337
#27 0x00007f2fbb2020c5 in KIO::SimpleJob::slotFinished (this=0x5589a533ff90) at /home/nico/kde/src/kio/src/core/simplejob.cpp:233
#28 0x00007f2fbb1f77a8 in KIO::ListJob::slotFinished (this=0x5589a533ff90) at /home/nico/kde/src/kio/src/core/listjob.cpp:234
#29 0x00007f2fbb204f9b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KIO::SimpleJob::*)()>::call(void (KIO::SimpleJob::*)(), KIO::SimpleJob*, void**) (f=&virtual KIO::SimpleJob::slotFinished(), o=0x5589a533ff90, arg=0x7ffd90985010) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:152
#30 0x00007f2fbb204cf5 in QtPrivate::FunctionPointer<void (KIO::SimpleJob::*)()>::call<QtPrivate::List<>, void>(void (KIO::SimpleJob::*)(), KIO::SimpleJob*, void**) (f=&virtual KIO::SimpleJob::slotFinished(), o=0x5589a533ff90, arg=0x7ffd90985010) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:185
#31 0x00007f2fbb204b91 in QtPrivate::QSlotObject<void (KIO::SimpleJob::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x5589a53244f0, r=0x5589a533ff90, a=0x7ffd90985010, ret=0x0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:418
#32 0x00007f2fb8700463 in QtPrivate::QSlotObjectBase::call (a=0x7ffd90985010, r=0x5589a533ff90, this=0x5589a53244f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false> (sender=0x5589a531d220, signal_index=7, argv=0x7ffd90985010) at kernel/qobject.cpp:3886
#34 0x00007f2fbb1e21bb in KIO::SlaveInterface::finished (this=0x5589a531d220) at /home/nico/kde/build/kio/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:464
#35 0x00007f2fbb1dfa9e in KIO::SlaveInterface::dispatch (this=0x5589a531d220, _cmd=104, rawdata=...) at /home/nico/kde/src/kio/src/core/slaveinterface.cpp:149
#36 0x00007f2fbb1df6a1 in KIO::SlaveInterface::dispatch (this=0x5589a531d220) at /home/nico/kde/src/kio/src/core/slaveinterface.cpp:78
#37 0x00007f2fbb1e4436 in KIO::Slave::gotInput (this=0x5589a531d220) at /home/nico/kde/src/kio/src/core/slave.cpp:337
#38 0x00007f2fbb1e5aef in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KIO::Slave::*)()>::call(void (KIO::Slave::*)(), KIO::Slave*, void**) (f=(void (KIO::Slave::*)(KIO::Slave * const)) 0x7f2fbb1e43d4 <KIO::Slave::gotInput()>, o=0x5589a531d220, arg=0x7ffd90985380) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:152
#39 0x00007f2fbb1e5a72 in QtPrivate::FunctionPointer<void (KIO::Slave::*)()>::call<QtPrivate::List<>, void>(void (KIO::Slave::*)(), KIO::Slave*, void**) (f=(void (KIO::Slave::*)(KIO::Slave * const)) 0x7f2fbb1e43d4 <KIO::Slave::gotInput()>, o=0x5589a531d220, arg=0x7ffd90985380) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:185
#40 0x00007f2fbb1e59dd in QtPrivate::QSlotObject<void (KIO::Slave::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x5589a533cd40, r=0x5589a531d220, a=0x7ffd90985380, ret=0x0) at /home/nico/kde/usr/include/QtCore/qobjectdefs_impl.h:418
#41 0x00007f2fb8700463 in QtPrivate::QSlotObjectBase::call (a=0x7ffd90985380, r=0x5589a531d220, this=0x5589a533cd40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#42 doActivate<false> (sender=0x5589a5293830, signal_index=3, argv=0x7ffd90985380) at kernel/qobject.cpp:3886
#43 0x00007f2fbb1737bf in KIO::Connection::readyRead (this=0x5589a5293830) at /home/nico/kde/build/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:148
#44 0x00007f2fbb1722e8 in KIO::ConnectionPrivate::dequeue (this=0x5589a5338140) at /home/nico/kde/src/kio/src/core/connection.cpp:31
#45 0x00007f2fbb1735ba in KIO::Connection::qt_static_metacall (_o=0x5589a5293830, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x5589a4691848) at /home/nico/kde/build/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:88
#46 0x00007f2fb86f640e in QObject::event (this=0x5589a5293830, e=0x5589a4691800) at kernel/qobject.cpp:1314
#47 0x00007f2fb96be69f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5589a5293830, e=0x5589a4691800) at kernel/qapplication.cpp:3632
#48 0x00007f2fb86c9d2a in QCoreApplication::notifyInternal2 (receiver=0x5589a5293830, event=0x5589a4691800) at kernel/qcoreapplication.cpp:1064
#49 0x00007f2fb86ccd77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5589a4583780) at kernel/qcoreapplication.cpp:1821
#50 0x00007f2fb8721c93 in postEventSourceDispatch (s=0x5589a45ecdc0) at kernel/qeventdispatcher_glib.cpp:277
#51 0x00007f2fb4dea52c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0x00007f2fb4e3e7b9 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x00007f2fb4de7c11 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0x00007f2fb8721314 in QEventDispatcherGlib::processEvents (this=0x5589a45efe80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#55 0x00007f2fb86c872b in QEventLoop::exec (this=this@entry=0x7ffd90985840, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#56 0x00007f2fb86d0a10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#57 0x00005589a2d5de3c in main (argc=1, argv=0x7ffd90985a48) at /home/nico/kde/src/gwenview/app/main.cpp:197
Comment 5 Jiri Palecek 2024-04-22 15:22:29 UTC
I experienced this crash in gwenview as well, but it seems very peculiar. It seems some invalid index is accessed and I can't see where is it going from. Moreover, I can't reproduce the issue - does the recent folders list have to be empty or something? Or can somebody reproduce the issue under valgrind?
Comment 6 Robert Webb 2024-04-25 08:02:00 UTC
(In reply to Jiri Palecek from comment #5)
> I experienced this crash in gwenview as well, but it seems very peculiar. It
> seems some invalid index is accessed and I can't see where is it going from.
> Moreover, I can't reproduce the issue - does the recent folders list have to
> be empty or something? Or can somebody reproduce the issue under valgrind?

With current software, I cannot reproduce the issue from two years ago.

I tried several variations of this procedure:
  - Open Gwenview, or click 'Home' icon if already open.
  - Click 'Recent Locations' in the 'Places' tab.
    - The 'Recent Locations' window is displayed.
  - Click the 'Home' icon.
    - The 'Recent Folders' sub-window/tab and the
      'Places' sub-window/tab are displayed.
  - {Click | Double click | Click, <Enter>} 'recentlyused:/locations/'
    in the 'Recent Folders' tab.
    - The 'Recent Locations' window is displayed.
  
I also created a new user to repeat the tests with initially empty
'Recent Folders' and 'Recent Locations'.  There were no problems at all.

System info:
  
  $ rpm -qi gwenview  |grep -Ei 'name|version|release'
  Name        : gwenview
  Version     : 24.02.2
  Release     : 1.1

  Info Center > About this System
  -------------------------------
  Operating System: openSUSE Tumbleweed 20240423
  KDE Plasma Version: 6.0.4
  KDE Frameworks Version: 6.1.0
  Qt Version: 6.7.0
  Kernel Version: 6.8.7-1-default (64-bit)
  Graphics Platform: X11