Bug 501819 - Crash when accessing a directory listed in Recent Locations
Summary: Crash when accessing a directory listed in Recent Locations
Status: RESOLVED DUPLICATE of bug 501817
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.12.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-03-21 06:13 UTC by Pedro
Modified: 2025-03-24 17:02 UTC (History)
1 user (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 Pedro 2025-03-21 06:13:45 UTC
Application: gwenview (24.12.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.11.0-109019-tuxedo x86_64
Windowing System: Wayland
Distribution: TUXEDO OS
DrKonqi: 6.3.2 [KCrashBackend]

-- Information about the crash:
I was investigating the crash report https://bugs.kde.org/show_bug.cgi?id=453260.
I'm reporting this crash because I think the underlying reason is different. The original report was in Qt 5 and the backtrace looks different.

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.

The crash can be reproduced every time.

-- 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  0x000075dffaa4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x000075dffaa288ff in __GI_abort () at ./stdlib/abort.c:79
#9  0x000075dffb70c1ac 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=0x75dffb442b68 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffe18790598) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:382
#12 0x000075dffb70d089 in QMessageLogger::fatal (this=this@entry=0x7ffe187907d8, msg=msg@entry=0x75dffb442b68 "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 0x000075dffb70d100 in qt_assert (assertion=assertion@entry=0x75dffd742ec0 "!listersCurrentlyHolding.contains(kdl)", file=file@entry=0x75dffd746199 "./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 0x000075dffd631d80 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 0x000075dffd6e05b2 in KCoreDirListerCache::slotUpdateResult (this=0x75dfe0002860, j=<optimized out>) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/kcoredirlister.cpp:1675
#16 0x000075dffb6763e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffe18790c80, r=<optimized out>, this=0x6425ccfa0350, 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=0x6425ccf8e660, signal_index=6, argv=0x7ffe18790c80) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#18 0x000075dffc37e146 in KJob::result (this=this@entry=0x6425ccf8e660, _t1=<optimized out>, _t1@entry=0x6425ccf8e660, _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 0x000075dffc3817fb in KJob::finishJob (this=0x6425ccf8e660, emitResult=<optimized out>) at /usr/src/kf6-kcoreaddons-6.11.0-0zneon+24.04+noble+release+build14/src/lib/jobs/kjob.cpp:115
#20 0x000075dffb6763e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffe18790d48, r=<optimized out>, this=0x6425ccf96d50, 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=0x6425ccd04430, signal_index=7, argv=0x7ffe18790d48) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#22 0x000075dffd6fcfb9 in KIO::WorkerInterface::finished (this=0x6425ccd04430) 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=0x6425ccd04430, _cmd=104, rawdata=...) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/workerinterface.cpp:127
#24 0x000075dffd6fb727 in KIO::WorkerInterface::dispatch (this=0x6425ccd04430) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/workerinterface.cpp:58
#25 0x000075dffd6f83ae in KIO::Worker::gotInput (this=0x6425ccd04430) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/worker.cpp:260
#26 0x000075dffb6763e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffe187910e8, r=<optimized out>, this=0x6425cced6110, 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=0x6425cceb5830, signal_index=3, argv=0x7ffe187910e8) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#28 0x000075dffb60385d in QObject::event (this=0x6425cceb5830, e=0x75dfe00016d0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:1418
#29 0x000075dffca01158 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x6425cceb5830, e=0x75dfe00016d0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/widgets/kernel/qapplication.cpp:3296
#30 0x000075dffb6aefa0 in QCoreApplication::notifyInternal2 (receiver=0x6425cceb5830, event=0x75dfe00016d0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1172
#31 0x000075dffb6aefed 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 0x000075dffb6af9fd in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6425cc3b87a0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1946
#33 0x000075dffb467a2f in postEventSourceDispatch (s=0x6425cc471310) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#34 0x000075dff81145b5 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x000075dff8173717 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x000075dff8113a53 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x000075dffb46e6ef in QEventDispatcherGlib::processEvents (this=0x6425cc3767b0, flags=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#38 0x000075dffb6b14d3 in QEventLoop::exec (this=this@entry=0x7ffe18791530, flags=..., flags@entry=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qflags.h:34
#39 0x000075dffb6b2ffd in QCoreApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qflags.h:74
#40 0x000075dffbcd775d in QGuiApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/gui/kernel/qguiapplication.cpp:1975
#41 0x000075dffc9fa219 in QApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/widgets/kernel/qapplication.cpp:2564
#42 0x00006425c10d9ab5 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 429405) detached]

Reported using DrKonqi
Comment 1 TraceyC 2025-03-24 17:02:10 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of the other crash you filed recently in bug 501817. Please follow that report if you would like updates on the progress of this issue.

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