Bug 501817 - Dolphin crashes when expanding/collapsing/expanding directory in Recent Locations
Summary: Dolphin crashes when expanding/collapsing/expanding directory in Recent Locat...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 501819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-03-21 04:08 UTC by Pedro
Modified: 2025-03-25 14:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/151305/events/170bc5b61420485c8e269cedab32f822/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro 2025-03-21 04:08:28 UTC
Application: dolphin (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:
Steps
  - Go to Recent Locations
  - Set the Details view mode (Ctrl + 3)
  - Most likely you'll have your user's home directory, select it (don't open it)
  - Press the right arrow key to expand the directory
  - Press the left arrow key to collapse the directory
  - Press the right arrow key again
  - The app crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), 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  0x000074af8904527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x000074af890288ff in __GI_abort () at ./stdlib/abort.c:79
#9  0x000074af89d0c1ac 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=0x74af89a42b68 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff8004a4e8) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:382
#12 0x000074af89d0d089 in QMessageLogger::fatal (this=this@entry=0x7fff8004a728, msg=msg@entry=0x74af89a42b68 "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 0x000074af89d0d100 in qt_assert (assertion=assertion@entry=0x74af8bc77ec0 "!listersCurrentlyHolding.contains(kdl)", file=file@entry=0x74af8bc7b199 "./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 0x000074af8bb66d80 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 0x000074af8bc155b2 in KCoreDirListerCache::slotUpdateResult (this=0x74af6c002860, j=<optimized out>) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/kcoredirlister.cpp:1675
#16 0x000074af89c763e9 in QtPrivate::QSlotObjectBase::call (a=0x7fff8004abd0, r=<optimized out>, this=0x5b970af74a90, 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=0x5b970ba05540, signal_index=6, argv=0x7fff8004abd0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#18 0x000074af8b539146 in KJob::result (this=this@entry=0x5b970ba05540, _t1=<optimized out>, _t1@entry=0x5b970ba05540, _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 0x000074af8b53c7fb in KJob::finishJob (this=0x5b970ba05540, emitResult=<optimized out>) at /usr/src/kf6-kcoreaddons-6.11.0-0zneon+24.04+noble+release+build14/src/lib/jobs/kjob.cpp:115
#20 0x000074af89c763e9 in QtPrivate::QSlotObjectBase::call (a=0x7fff8004ac98, r=<optimized out>, this=0x5b970b9e5d70, 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=0x5b970b73e690, signal_index=7, argv=0x7fff8004ac98) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#22 0x000074af8bc31fb9 in KIO::WorkerInterface::finished (this=0x5b970b73e690) 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=0x5b970b73e690, _cmd=104, rawdata=...) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/workerinterface.cpp:127
#24 0x000074af8bc30727 in KIO::WorkerInterface::dispatch (this=0x5b970b73e690) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/workerinterface.cpp:58
#25 0x000074af8bc2d3ae in KIO::Worker::gotInput (this=0x5b970b73e690) at /usr/src/kf6-kio-6.11.0-0zneon+24.04+noble+release+build28/src/core/worker.cpp:260
#26 0x000074af89c763e9 in QtPrivate::QSlotObjectBase::call (a=0x7fff8004b038, r=<optimized out>, this=0x5b970b173ce0, 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=0x5b970b1736c0, signal_index=3, argv=0x7fff8004b038) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:4115
#28 0x000074af89c0385d in QObject::event (this=0x5b970b1736c0, e=0x74af74004ea0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qobject.cpp:1418
#29 0x000074af8ae01158 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5b970b1736c0, e=0x74af74004ea0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/widgets/kernel/qapplication.cpp:3296
#30 0x000074af89caefa0 in QCoreApplication::notifyInternal2 (receiver=0x5b970b1736c0, event=0x74af74004ea0) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1172
#31 0x000074af89caefed 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 0x000074af89caf9fd in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5b970a764f80) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qcoreapplication.cpp:1946
#33 0x000074af89a67a2f in postEventSourceDispatch (s=0x5b970a7dc170) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#34 0x000074af866675b5 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x000074af866c6717 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x000074af86666a53 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x000074af89a6e6ef in QEventDispatcherGlib::processEvents (this=0x5b970a72dbc0, flags=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#38 0x000074af89cb14d3 in QEventLoop::exec (this=this@entry=0x7fff8004b480, flags=..., flags@entry=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qflags.h:34
#39 0x000074af89cb2ffd in QCoreApplication::exec () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qflags.h:74
#40 0x00005b96f42d5036 in ??? ()
#41 0x000074af8902a1ca in __libc_start_call_main (main=main@entry=0x5b96f42d3520, argc=argc@entry=1, argv=argv@entry=0x7fff8004b908) at ../sysdeps/nptl/libc_start_call_main.h:58
#42 0x000074af8902a28b in __libc_start_main_impl (main=0x5b96f42d3520, argc=1, argv=0x7fff8004b908, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8004b8f8) at ../csu/libc-start.c:360
#43 0x00005b96f42d6835 in ??? ()
[Inferior 1 (process 51905) detached]

Reported using DrKonqi
Comment 1 TraceyC 2025-03-24 17:02:10 UTC
*** Bug 501819 has been marked as a duplicate of this bug. ***
Comment 2 TraceyC 2025-03-24 20:50:10 UTC
In bug 501819 gwenview crashed with the same backtrace. I couldn't reproduce that on gwenview built from git-master, or in Dolphin 24.12.3
I'm also unable to reproduce the behavior in this bug. I'll leave this open for others to try to reproduce
Comment 3 Pedro 2025-03-25 01:30:53 UTC
Hi TraceyC, I just downloaded updated the KIO module and I think the changes in https://invent.kde.org/frameworks/kio/-/merge_requests/1833 have solved this problem. The crash in Gwenview is solved as well.
Comment 4 TraceyC 2025-03-25 14:34:23 UTC
(In reply to Pedro from comment #3)
> Hi TraceyC, I just downloaded updated the KIO module and I think the changes
> in https://invent.kde.org/frameworks/kio/-/merge_requests/1833 have solved
> this problem. The crash in Gwenview is solved as well.

That's great news. Thanks for letting us know.