Bug 510637

Summary: Dolphin crash when mounting MDNS discovered FTP server
Product: [Applications] dolphin Reporter: elite3574
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dolphin-bugs-null, kdedev
Priority: NOR Keywords: drkonqi
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/270084/events/ee8111e7525f4228af5e27efd2f91967/
Attachments: New crash information added by DrKonqi

Description elite3574 2025-10-15 10:58:10 UTC
Application: dolphin (25.08.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.19.0
Operating System: Linux 6.17.1-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.4.5 [CoredumpBackend]

-- Information about the crash:
In Dolphin, When attempting to mount a zeroconf/MDNS discovered FTP server there is a crash.

I click (Remote) Network then Network Services then FTP servers. The server is detected correctly but opening it casues a wait for a few seconds then Dolphin crashes.


FTP server: SwiFTP FTP Server by Pieter Pareit on Android. Note this server mounts on Gnome/Nautilus without issue.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007ffb54498a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007ffb5443e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007ffb5442557a in __GI_abort () at abort.c:77
#9  0x00007ffb571050a4 in KCoreDirListerCache::printDebug (this=this@entry=0x55b504ea5650) at /usr/src/debug/kio/kio-6.19.0/src/core/kcoredirlister.cpp:2096
#10 0x00007ffb571bd3bd in KCoreDirListerCache::slotUpdateResult (this=0x55b504ea5650, j=<optimized out>) at /usr/src/debug/kio/kio-6.19.0/src/core/kcoredirlister.cpp:1713
#11 0x00007ffb54dd716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#12 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
[...]
#14 KJob::result (this=this@entry=0x55b505bb2dd0, _t1=<optimized out>, _t1@entry=0x55b505bb2dd0, _t2=...) at /usr/src/debug/kcoreaddons/build/src/lib/KF6CoreAddons_autogen/include/moc_kjob.cpp:475
#15 0x00007ffb569d6fcc in KJob::finishJob (this=0x55b505bb2dd0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons/kcoreaddons-6.19.0/src/lib/jobs/kjob.cpp:115
#16 0x00007ffb54dd716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#17 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#18 0x00007ffb571e8647 in KIO::WorkerInterface::finished (this=0x55b505acd6b0) at /usr/src/debug/kio/build/src/core/KF6KIOCore_autogen/include/moc_workerinterface_p.cpp:319
#19 KIO::WorkerInterface::dispatch (this=0x55b505acd6b0, _cmd=104, rawdata=...) at /usr/src/debug/kio/kio-6.19.0/src/core/workerinterface.cpp:125
#20 0x00007ffb571d6fc5 in KIO::WorkerInterface::dispatch (this=0x55b505acd6b0) at /usr/src/debug/kio/kio-6.19.0/src/core/workerinterface.cpp:57
#21 0x00007ffb571d8c00 in KIO::Worker::gotInput (this=0x55b505acd6b0) at /usr/src/debug/kio/kio-6.19.0/src/core/worker.cpp:262


Reported using DrKonqi
Comment 1 elite3574 2025-10-15 10:58:12 UTC
Created attachment 185802 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-10-16 20:28:31 UTC
Searchable backtrace

Thread 1 (Thread 0x7ffb4d0a11c0 (LWP 94973)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007ffb54498a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007ffb5443e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007ffb5442557a in __GI_abort () at abort.c:77
#9  0x00007ffb571050a4 in KCoreDirListerCache::printDebug (this=this@entry=0x55b504ea5650) at /usr/src/debug/kio/kio-6.19.0/src/core/kcoredirlister.cpp:2096
#10 0x00007ffb571bd3bd in KCoreDirListerCache::slotUpdateResult (this=0x55b504ea5650, j=<optimized out>) at /usr/src/debug/kio/kio-6.19.0/src/core/kcoredirlister.cpp:1713
#11 0x00007ffb54dd716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#12 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#13 0x00007ffb569d1c13 in QMetaObject::activate<void, KJob*, KJob::QPrivateSignal> (sender=0x55b505bb2dd0, mo=<optimized out>, local_signal_index=3, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#14 KJob::result (this=this@entry=0x55b505bb2dd0, _t1=<optimized out>, _t1@entry=0x55b505bb2dd0, _t2=...) at /usr/src/debug/kcoreaddons/build/src/lib/KF6CoreAddons_autogen/include/moc_kjob.cpp:475
#15 0x00007ffb569d6fcc in KJob::finishJob (this=0x55b505bb2dd0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons/kcoreaddons-6.19.0/src/lib/jobs/kjob.cpp:115
#16 0x00007ffb54dd716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#17 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#18 0x00007ffb571e8647 in KIO::WorkerInterface::finished (this=0x55b505acd6b0) at /usr/src/debug/kio/build/src/core/KF6KIOCore_autogen/include/moc_workerinterface_p.cpp:319
#19 KIO::WorkerInterface::dispatch (this=0x55b505acd6b0, _cmd=104, rawdata=...) at /usr/src/debug/kio/kio-6.19.0/src/core/workerinterface.cpp:125
#20 0x00007ffb571d6fc5 in KIO::WorkerInterface::dispatch (this=0x55b505acd6b0) at /usr/src/debug/kio/kio-6.19.0/src/core/workerinterface.cpp:57
#21 0x00007ffb571d8c00 in KIO::Worker::gotInput (this=0x55b505acd6b0) at /usr/src/debug/kio/kio-6.19.0/src/core/worker.cpp:262
#22 0x00007ffb54dd716f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#23 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#24 0x00007ffb54dc4554 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1411
#25 0x00007ffb55f020a0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b505928440, e=0x55b505d44630) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3307
#26 0x00007ffb54d6a6c8 in QCoreApplication::notifyInternal2 (receiver=0x55b505928440, event=event@entry=0x55b505d44630) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#27 0x00007ffb54d6aab2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x55b505d44630) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b504c02b50) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#29 0x00007ffb5504db18 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#30 postEventSourceDispatch (s=0x55b504c0a710) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#31 0x00007ffb51865f4d in g_main_dispatch (context=0x7ffb48000f60) at ../glib/glib/gmain.c:3565
#32 0x00007ffb51867617 in g_main_context_dispatch_unlocked (context=0x7ffb48000f60) at ../glib/glib/gmain.c:4425
#33 g_main_context_iterate_unlocked (context=context@entry=0x7ffb48000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#34 0x00007ffb51867825 in g_main_context_iteration (context=0x7ffb48000f60, may_block=1) at ../glib/glib/gmain.c:4556
#35 0x00007ffb5504a9d2 in QEventDispatcherGlib::processEvents (this=0x55b504c0b9d0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#36 0x00007ffb54d75a86 in QEventLoop::processEvents (this=0x7ffcc8039510, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#37 QEventLoop::exec (this=0x7ffcc8039510, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#38 0x00007ffb54d6f171 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#39 0x00007ffb55efd31a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2574
#40 0x000055b4de45bdc0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-25.08.2/src/main.cpp:272
Comment 3 TraceyC 2025-10-16 20:36:36 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 505396. 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 505396 ***
Comment 4 TraceyC 2025-10-21 21:00:00 UTC
The parent bug for this is actually  bug 451050

*** This bug has been marked as a duplicate of bug 451050 ***
Comment 5 elite3574 2025-11-15 01:44:07 UTC
Please confirm release version which includes fix for this bug. This is still an issue with KIO 6.19 + Dolphin 25.08.3 on ArchLinux.

Suspect the duplication is incorrect or the patch: https://invent.kde.org/frameworks/kio/-/commit/883a16eb4ac808deceddf8ac3667ee888ff8ea60 (for 451050) has not made it into 6.19 release yet.
Comment 6 elite3574 2025-11-15 01:47:12 UTC
(In reply to elite3574 from comment #5)
> Please confirm release version which includes fix for this bug. This is
> still an issue with KIO 6.19 + Dolphin 25.08.3 on ArchLinux.
> 
> Suspect the duplication is incorrect or the patch:
> https://invent.kde.org/frameworks/kio/-/commit/
> 883a16eb4ac808deceddf8ac3667ee888ff8ea60 (for 451050) has not made it into
> 6.19 release yet.

Also the following commit: https://invent.kde.org/system/dolphin/-/commit/d0f8985b4c5c790781be6fcd06d299f087e78756
Comment 7 TraceyC 2025-11-17 17:48:48 UTC
I'm sorry Dolphin is still crashing on your system. After a more thorough search on Bugzilla, I found the backtrace more closely matches bug 507185, which is still open. Sorry for the confusion. There are quite a few bugs with similar backtraces.

This patch: https://invent.kde.org/frameworks/kio/-/commit/883a16eb4ac808deceddf8ac3667ee888ff8ea60 (for 451050) was merged and shows Frameworks 6.19 contains the commit (as well as other versions back to 6.16).

The second commit you linked was merged to the Dolphin release/25.12 branch, so isn't in Dolphin 25.08.3.
 https://invent.kde.org/system/dolphin/-/commit/d0f8985b4c5c790781be6fcd06d299f087e78756

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