Bug 453260 - App crashed after clicking on Recent Locations
Summary: App crashed after clicking on Recent Locations
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-01 13:04 UTC by gizliadam
Modified: 2025-04-20 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/151323/events/8c23186ff2fc4207bd3296d42ec29db1/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gizliadam 2022-05-01 13:04:08 UTC
Application: gwenview (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.17.4-200.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (Workstation Edition)
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed: I was looking for the photo so I was clicking on the folders on the right searching for the photos location. I clicked on Recent Locations and the app crashed. I clicked on two or three folders before clicking on Recent Locations.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f7f956f2d09 in QListView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) () from /lib64/libQt5Widgets.so.5
#6  0x00007f7f956b3708 in QAbstractItemView::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#7  0x00007f7f9471d430 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f7f946a93ee in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQt5Core.so.5
#9  0x00007f7f946aa9fe in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib64/libQt5Core.so.5
#10 0x00007f7f956ad1ef in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#11 0x0000558313d43cff in Gwenview::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#12 0x00007f7f9471d430 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007f7f95e0d3ab in KCoreDirListerCache::slotResult(KJob*) () from /lib64/libKF5KIOCore.so.5
#14 0x00007f7f9471d3e9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007f7f94b1ae10 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#16 0x00007f7f94b1f19b in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#17 0x00007f7f9471d3e9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#18 0x00007f7f95dc505d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#19 0x00007f7f95dbe1ed in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#20 0x00007f7f95dc1c92 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#21 0x00007f7f9471d3e9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007f7f94713f49 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007f7f95436443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f7f946e97d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#25 0x00007f7f946ecd46 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#26 0x00007f7f9473b117 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#27 0x00007f7f9287d0af in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007f7f928d2308 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#29 0x00007f7f9287a8a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007f7f9473abb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#31 0x00007f7f946e81e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f7f946f0724 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#33 0x0000558313d3724b in main ()
[Inferior 1 (process 7735) detached]

Possible duplicates by query: bug 453165, bug 452323, bug 451868, bug 450518, bug 450060.

Reported using DrKonqi
Comment 1 Pedro 2025-03-13 16:32:43 UTC
Not sure if it's the same bug but I can make Gwenview crash when entering `Recent Locations` and trying to open my home directory.


Software
  Gwenview: 24.12.2
  Operating System: TUXEDO OS 
  KDE Plasma Version: 6.3.2
  KDE Frameworks Version: 6.11.0
  Qt Version: 6.8.2
  Kernel Version: 6.11.0-109019-tuxedo (64-bit)
  Graphics Platform: Wayland


Steps to reproduce
  1. Open Gwenview. It should open the start page. The one with the tabs `Recent Folders` and `Recent Files` and a right-side bar with the tabs `Places` and `Tags`
  2. On the right-side bar click on `Recent Locations`
  3. On the browser page (the one with big icons) hit `Enter` on your `Home` folder or any folder displayed there.
  4. The app crashes.


Backtrace
Application: Gwenview (gwenview), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f487104527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f48710288ff in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007f4871d0c1ac in qAbort () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qassert.cpp:49
#10 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:2130
#11 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7f4871a42b68 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffc2a29b088) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:382
#12 0x00007f4871d0d089 in QMessageLogger::fatal (this=this@entry=0x7ffc2a29b2c8, msg=msg@entry=0x7f4871a42b68 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:884
#13 0x00007f4871d0d100 in qt_assert (assertion=assertion@entry=0x7f4873cb5ec0 "!listersCurrentlyHolding.contains(kdl)", file=file@entry=0x7f4873cb9199 "./src/core/kcoredirlister.cpp", line=line@entry=2739) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qassert.cpp:105
#14 0x00007f4873ba4d80 in KCoreDirListerCacheDirectoryData::moveListersWithoutCachedItemsJob (this=<optimized out>, url=<optimized out>) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/kcoredirlister.cpp:2739
#15 0x00007f4873c535b2 in KCoreDirListerCache::slotUpdateResult (this=0x7f485c002720, j=<optimized out>) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/kcoredirlister.cpp:1675
#16 0x00007f4871c763e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc2a29b770, r=<optimized out>, this=0x60004d69a5d0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobjectdefs_impl.h:486
#17 doActivate<false> (sender=0x60004d673e30, signal_index=6, argv=0x7ffc2a29b770) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#18 0x00007f487297e146 in KJob::result (this=this@entry=0x60004d673e30, _t1=<optimized out>, _t1@entry=0x60004d673e30, _t2=...) at /usr/src/kf6-kcoreaddons-6.11.0-0zneon+24.04+noble+release+build14/obj-x86_64-linux-gnu/src/lib/KF6CoreAddons_autogen/include/moc_kjob.cpp:622
#19 0x00007f48729817fb in KJob::finishJob (this=0x60004d673e30, emitResult=<optimized out>) at /usr/src/kf6-kcoreaddons-6.11.0-0zneon+24.04+noble+release+build14/src/lib/jobs/kjob.cpp:115
#20 0x00007f4871c763e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc2a29b838, r=<optimized out>, this=0x60004d5c0440, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobjectdefs_impl.h:486
#21 doActivate<false> (sender=0x60004d423f00, signal_index=7, argv=0x7ffc2a29b838) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#22 0x00007f4873c6ffb9 in KIO::WorkerInterface::finished (this=0x60004d423f00) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/obj-x86_64-linux-gnu/src/core/KF6KIOCore_autogen/include/moc_workerinterface_p.cpp:515
#23 KIO::WorkerInterface::dispatch (this=0x60004d423f00, _cmd=104, rawdata=...) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/workerinterface.cpp:127
#24 0x00007f4873c6e727 in KIO::WorkerInterface::dispatch (this=0x60004d423f00) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/workerinterface.cpp:58
#25 0x00007f4873c6b3ae in KIO::Worker::gotInput (this=0x60004d423f00) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/worker.cpp:260
#26 0x00007f4871c763e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc2a29bbd8, r=<optimized out>, this=0x60004d379970, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobjectdefs_impl.h:486
#27 doActivate<false> (sender=0x60004d540b10, signal_index=3, argv=0x7ffc2a29bbd8) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#28 0x00007f4871c0385d in QObject::event (this=0x60004d540b10, e=0x7f4864032590) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:1418
#29 0x00007f4873001158 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x60004d540b10, e=0x7f4864032590) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/widgets/kernel/qapplication.cpp:3296
#30 0x00007f4871caefa0 in QCoreApplication::notifyInternal2 (receiver=0x60004d540b10, event=0x7f4864032590) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1172
#31 0x00007f4871caefed in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1612
#32 0x00007f4871caf9fd in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60004cabc7a0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1946
#33 0x00007f4871a67a2f in postEventSourceDispatch (s=0x60004cb337b0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#34 0x00007f486e7145b5 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f486e773717 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f486e713a53 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4871a6e6ef in QEventDispatcherGlib::processEvents (this=0x60004ca7a7b0, flags=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#38 0x00007f4871cb14d3 in QEventLoop::exec (this=this@entry=0x7ffc2a29c020, flags=..., flags@entry=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qflags.h:34
#39 0x00007f4871cb2ffd in QCoreApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qflags.h:74
#40 0x00007f48722d775d in QGuiApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/gui/kernel/qguiapplication.cpp:1975
#41 0x00007f4872ffa219 in QApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/widgets/kernel/qapplication.cpp:2564
#42 0x0000600033427ab5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:24.12.2-0zneon+24.04+noble+release+build16/app/main.cpp:221
[Inferior 1 (process 3752086) detached]
Comment 2 Pedro 2025-03-21 06:22:59 UTC
Thanks for the crash report. May we ask you to test in more recent software? If possible, a version using Qt 6 like Gwenview 24.12.2.
Comment 3 Bug Janitor Service 2025-04-05 03:46:39 UTC
๐Ÿ›๐Ÿงน โš ๏ธ 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!
Comment 4 Bug Janitor Service 2025-04-20 03:47:19 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.