Bug 503928

Summary: Connecting to FTP via Dolphin caused background crash when it became unavailable.
Product: [Frameworks and Libraries] frameworks-kio Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: FTPAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: crash CC: bizyaev, code, kdedev, kdelibs-bugs-null, nyanpasu64
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.13.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=2365102
https://github.com/TeamAmaze/AmazeFileManager/issues/4398#issue-3049099201
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/232953/events/ef1b007a18924ee0be4853f4f4834095/

Description Roke Julian Lockhart Beedell 2025-05-08 14:31:38 UTC
Application: kioworker (6.13.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.14.5-300.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
As https://bugzilla.redhat.com/show_bug.cgi?id=2365102 explains, when I connected to ftp://192.168.1.183:2211/, when the server went offline due to https://github.com/TeamAmaze/AmazeFileManager/issues/4398#issue-3049099201, I saw Dr Konqi.

The crash does not seem to be reproducible.

-- Backtrace:
Application: kioworker (kioworker), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[New LWP 4227]
[New LWP 4230]
[New LWP 4232]
[New LWP 4231]
[New LWP 4237]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/kf6/kioworker /usr/lib64/qt6/plugins/kf6/kio/kio_ftp.so ftp '' local:/run/user/1000/dolphinttvZmh.60.kioworker.socket'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7f6b37b4e380 (LWP 4227))]
Function(s) ^std::(move|forward|as_const|(__)?addressof) will be skipped when stepping.
Function(s) ^std::(shared|unique)_ptr<.*>::(get|operator) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|(forward_)?list|(unordered_|flat_)?(multi)?(map|set)|span)<.*>::(c?r?(begin|end)|front|back|data|size|empty) will be skipped when stepping.
Function(s) ^std::(basic_string|vector|array|deque|span)<.*>::operator.] will be skipped when stepping.

Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:547: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:564: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x7f6b37b4e380 (LWP 4227))]

Thread 5 (Thread 0x7f6b23fff6c0 (LWP 4237)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6b3ce7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f6b3ce7ba24 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f6b3cef5176 in __GI_ppoll (fds=fds@entry=0x563b1f96f0d0, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f6b3bef5210 in ppoll (__fds=0x563b1f96f0d0, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7f6b18000c60, timeout_usec=<optimized out>, fds=0x563b1f96f0d0, n_fds=2) at ../glib/gmain.c:4632
#6  g_main_context_iterate_unlocked (context=context@entry=0x7f6b18000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#7  0x00007f6b3bef52d3 in g_main_context_iteration (context=0x7f6b18000c60, may_block=1) at ../glib/gmain.c:4379
#8  0x00007f6b3d3ff56d in QEventDispatcherGlib::processEvents (this=0x7f6b18000b70, flags=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007f6b3d103783 in QEventLoop::exec (this=this@entry=0x7f6b23ffe7b0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qflags.h:77
#10 0x00007f6b3d2217fd in QThread::exec (this=this@entry=0x7f6b3c914cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread.cpp:644
#11 0x00007f6b3c864901 in QDBusConnectionManager::run (this=0x7f6b3c914cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/dbus/qdbusconnectionmanager.cpp:144
#12 0x00007f6b3d2bdde4 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:433
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:365
#14 QThreadPrivate::start (arg=0x7f6b3c914cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:393
#15 0x00007f6b3ce7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007f6b3cf01cec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f6b293fe6c0 (LWP 4231)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6b3ce7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f6b3ce7ba24 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f6b3cef5176 in __GI_ppoll (fds=fds@entry=0x7f6b24000b70, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f6b3bef5210 in ppoll (__fds=0x7f6b24000b70, __nfds=1, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x563b1f630950, timeout_usec=<optimized out>, fds=0x7f6b24000b70, n_fds=1) at ../glib/gmain.c:4632
#6  g_main_context_iterate_unlocked (context=context@entry=0x563b1f630950, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#7  0x00007f6b3bef52d3 in g_main_context_iteration (context=0x563b1f630950, may_block=may_block@entry=1) at ../glib/gmain.c:4379
#8  0x00007f6b3bef5321 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6578
#9  0x00007f6b3bf228e2 in g_thread_proxy (data=0x563b1f630b90) at ../glib/gthread.c:893
#10 0x00007f6b3ce7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6b3cf01cec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f6b28bfd6c0 (LWP 4232)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6b3ce7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f6b3ce7ba24 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f6b3cef5176 in __GI_ppoll (fds=fds@entry=0x7f6b1c000bb0, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f6b3bef5210 in ppoll (__fds=0x7f6b1c000bb0, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x563b1f63b930, timeout_usec=<optimized out>, fds=0x7f6b1c000bb0, n_fds=2) at ../glib/gmain.c:4632
#6  g_main_context_iterate_unlocked (context=0x563b1f63b930, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#7  0x00007f6b3bef53cf in g_main_loop_run (loop=0x563b1f63bb40) at ../glib/gmain.c:4516
#8  0x00007f6b383982b2 in gdbus_shared_thread_func (user_data=0x563b1f63d150) at ../gio/gdbusprivate.c:284
#9  0x00007f6b3bf228e2 in g_thread_proxy (data=0x563b1f63bb60) at ../glib/gthread.c:893
#10 0x00007f6b3ce7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6b3cf01cec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f6b29bff6c0 (LWP 4230)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6b3bf183ed in g_cond_wait_impl (cond=0x563b1f62e538, mutex=0x563b1f62e530) at ../glib/gthread-posix.c:1026
#2  g_cond_wait (cond=0x563b1f62e538, mutex=0x563b1f62e530) at ../glib/gthread.c:1686
#3  0x00007f6b3beb4e2c in g_async_queue_pop_intern_unlocked (queue=0x563b1f62e530, wait=1, end_time=-1) at ../glib/gasyncqueue.c:375
#4  0x00007f6b3bf22d94 in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/gthreadpool.c:297
#5  0x00007f6b3bf228e2 in g_thread_proxy (data=0x563b1f6307f0) at ../glib/gthread.c:893
#6  0x00007f6b3ce7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#7  0x00007f6b3cf01cec in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f6b37b4e380 (LWP 4227)):
[KCrash Handler]
#5  0x00007f6b3d0b6021 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=0x8) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/tools/qscopedpointer.h:112
#6  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qtclasshelpermacros.h:137
#7  QIODevice::d_func (this=0x0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/io/qiodevice.h:146
#8  QIODevice::write (this=0x0, data=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/io/qiodevice.cpp:1867
#9  0x00007f6b37b286e0 in FtpInternal::ftpSendCmd (this=0x563b1f5f3b20, cmd=..., maxretries=1) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:721
#10 0x00007f6b37b34800 in FtpInternal::ftpFolder (this=0x563b1f5f3b20, path=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:2200
#11 0x00007f6b37b2efe9 in FtpInternal::stat (this=0x563b1f5f3b20, url=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:1378
#12 0x00007f6b37b325b6 in Ftp::stat (this=<optimized out>, url=...) at /usr/include/c++/15/bits/unique_ptr.h:193
#13 0x00007f6b3d769190 in KIO::WorkerSlaveBaseBridge::stat (this=0x563b1f5c3df0, url=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/workerbase_p.h:111
#14 0x00007f6b3d765f0e in KIO::SlaveBase::dispatch (this=0x563b1f5c3df0, command=69, data=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/slavebase.cpp:1221
#15 0x00007f6b3d763b2e in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/slavebase.cpp:363
#16 0x00007f6b3d766a2d in KIO::WorkerBase::dispatchLoop (this=<optimized out>) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/workerbase.cpp:27
#17 0x00007f6b37b3230f in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:177
#18 0x0000563af67e082a in main (argc=5, argv=0x7ffd9d76f568) at /usr/include/qt6/QtCore/qvarlengtharray.h:89

Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-05-08 14:32:53 UTC
*** Bug 503929 has been marked as a duplicate of this bug. ***
Comment 2 Roke Julian Lockhart Beedell 2025-05-08 14:38:33 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0)

> Qt Version: 6.9.0  
> Frameworks Version: 6.13.0  
> Operating System: Linux 6.14.5-300.fc42.x86_64 x86_64  
> Windowing System: Wayland  
> Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"

The full `kinfo` output is:

> Operating System: Fedora Linux 42  
> KDE Plasma Version: 6.3.4  
> KDE Frameworks Version: 6.13.0  
> Qt Version: 6.9.0  
> Kernel Version: 6.14.5-300.fc42.x86_64 (64-bit)  
> Graphics Platform: Wayland  
> Processors: 6 × AMD Ryzen 5 7600X 6-Core Processor  
> Memory: 7.7 GiB of RAM  
> Graphics Processor: llvmpipe  
> Manufacturer: QEMU  
> Product Name: Standard PC (Q35 + ICH9, 2009)  
> System Version: pc-q35-9.2
Comment 3 Roke Julian Lockhart Beedell 2025-05-08 14:47:19 UTC
(In reply to Roke Julian Lockhart Beedell from comment #2)

As confirmed at https://bugzilla.redhat.com/show_bug.cgi?id=2365102#c13, this also reproduced on my host:

> Operating System: Fedora Linux 42  
> KDE Plasma Version: 6.3.4  
> KDE Frameworks Version: 6.13.0  
> Qt Version: 6.9.0  
> Kernel Version: 6.14.5-300.fc42.x86_64 (64-bit)  
> Graphics Platform: Wayland  
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor  
> Memory: 30.4 GiB of RAM

On that host, putting the KCrash in `drkonqi-coredump-gui` through `gdb`'s `bt full` with `debuginfod` `-y`'d, I see:

> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Core was generated by `/usr/libexec/kf6/kioworker /usr/lib64/qt6/plugins/kf6/kio/kio_ftp.so ftp '' local:/run/user/1000/kiofuseuAnuUJ.2.kioworker.socket'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
> 44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
> [Current thread is 1 (Thread 0x7f881fceb380 (LWP 49817))]
> Function(s) ^std::(move|forward|as_const|(__)?addressof) will be skipped when stepping.
> Function(s) ^std::(shared|unique)_ptr<.*>::(get|operator) will be skipped when stepping.
> Function(s) ^std::(basic_string|vector|array|deque|(forward_)?list|(unordered_|flat_)?(multi)?(map|set)|span)<.*>::(c?r?(begin|end)|front|back|data|size|empty) will be skipped when stepping.
> Function(s) ^std::(basic_string|vector|array|deque|span)<.*>::operator.] will be skipped when stepping.
> (gdb) bt full
> #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
>         tid = <optimized out>
>         ret = 0
>         pd = <optimized out>
>         old_mask = {__val = {0}}
>         ret = <optimized out>
> #1  0x00007f882572c1e3 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:89
> No locals.
> #2  0x00007f88256d2afe in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
>         ret = <optimized out>
> #3  0x00007f8824f09ef1 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kf6-kcrash-6.13.0-1.fc42.x86_64/src/kcrash.cpp:605
>         data = {<KCrash::MetadataWriter> = {_vptr.MetadataWriter = 0x7f8824f12808 <vtable for KCrash::Metadata+16>}, argv = {_M_elems = {0x0, 0x7f8824f106ed "--qtversion", 0x5579aa3129f0 "6.9.0", 0x7f8824f10700 "--kdeframeworksversion", 
>               0x7f8824f106f9 "6.13.0", 0x7f8824f10769 "--appname", 0x5579aa313d00 "kioworker", 0x7f8824f10773 "--apppath", 0x5579aa313d70 "/usr/libexec/kf6", 0x7f8824f10780 "--signal", 0x7ffd82564106 "11", 0x7f8824f1078e "--pid", 
>               0x7ffd82564110 "49817", 0x7f8824f10794 "--appversion", 0x5579aa30b9c0 "6.13.0", 0x7f8824f107a1 "--programname", 0x5579a10edcc0 <QByteArray::_empty> "", 0x7f8824f107af "--bugaddress", 0x5579aa311740 "submit@bugs.kde.org", 
>               0x0 <repeats 19 times>}}, argc = 19, m_writer = 0x7ffd825640b0}
>         platformName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
>         about = 0x5579aa3122f0
>         argv = 0x7ffd82564138
>         ini = {<KCrash::MetadataWriter> = {_vptr.MetadataWriter = 0x7f8824f12838 <vtable for KCrash::MetadataINIWriter+16>}, writable = false, fd = 9}
>         sigtxt = "11\000\000\000\000\000\000\000"
>         pidtxt = "49817\000\377\377\240AV\202\375\177\000\000\000\000\000"
>         argc = <optimized out>
>         crashRecursionCounter = 2
> #4  <signal handler called>
> No locals.
> #5  0x00007f88250b6021 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=0x8) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/tools/qscopedpointer.h:112
> No locals.
> #6  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/global/qtclasshelpermacros.h:137
> No locals.
> #7  QIODevice::d_func (this=0x0) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/io/qiodevice.h:146
> No locals.
> --Type <RET> for more, q to quit, c to continue without paging--c
> #8  QIODevice::write (this=0x0, data=...) at /usr/src/debug/qt6-qtbase-6.9.0-2.fc42.x86_64/src/corelib/io/qiodevice.cpp:1867
>         d = <optimized out>
>         ret = <optimized out>
> #9  0x00007f8825a396e0 in FtpInternal::ftpSendCmd (this=0x5579aa311b80, cmd=..., maxretries=1) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:721
>         isPassCmd = false
>         buf = {d = {d = 0x5579aa52b680, ptr = 0x5579aa52b690 "cwd /\r\n", size = 7}, static _empty = 0 '\000'}
>         num = <optimized out>
> #10 0x00007f8825a45800 in FtpInternal::ftpFolder (this=0x5579aa311b80, path=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:2200
>         newPath = {d = {d = 0x5579aa697d20, ptr = 0x5579aa697d30 u"/", size = 1}, static _empty = 0 u'\000'}
>         iLen = <optimized out>
>         tmp = {d = {d = 0x5579aa68cee0, ptr = 0x5579aa68cef0 "cwd /", size = 5}, static _empty = 0 '\000'}
> #11 0x00007f8825a3ffe9 in FtpInternal::stat (this=0x5579aa311b80, url=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:1378
>         result = {d = std::unique_ptr<KIO::WorkerResultPrivate> = {get() = 0x5579aa3bcbf0}}
>         path = {d = {d = 0x5579aa528c50, ptr = 0x5579aa528c60 u"/@{'Name'='Personal'}#.dir", size = 26}, static _empty = 0 u'\000'}
>         tempurl = {d = 0x5579aa3bc450}
>         listarg = {d = {d = 0x5579aa313b80, ptr = 0x5579aa313b90 u"@{'Name'='Personal'}#.dir", size = 25}, static _empty = 0 u'\000'}
>         parentDir = {d = {d = 0x5579aa697d20, ptr = 0x5579aa697d30 u"/", size = 1}, static _empty = 0 u'\000'}
>         filename = {d = {d = 0x5579aa313b80, ptr = 0x5579aa313b90 u"@{'Name'='Personal'}#.dir", size = 25}, static _empty = 0 u'\000'}
>         isDir = false
>         sDetails = {d = {d = 0x5579aa52bf00, ptr = 0x5579aa52bf10 u"31", size = 2}, static _empty = 0 u'\000'}
>         details = <optimized out>
>         bFound = <optimized out>
>         linkURL = {d = 0x7ffd82565180}
>         ftpEnt = {name = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, owner = {d = {d = 0x7f88250df802 <QUrlPrivate::parse(QString const&, QUrl::ParsingMode)+1954>, ptr = 0xffffffffffffffff u"", size = 56}, 
>             static _empty = 0 u'\000'}, group = {d = {d = 0x20, ptr = 0x7ffd82565260 u"ﺀꩣ啹", size = 140724603453440}, static _empty = 0 u'\000'}, link = {d = {d = 0x38, ptr = 0xffffffffffffffff u"", size = 140726790148832}, 
>             static _empty = 0 u'\000'}, size = 0, type = 0, access = 0, date = {d = {static CanBeSmall = true, d = 0x0, data = {status = 0, msecs = 0}}}}
>         ftpValidateEntList = {<QListSpecialMethods<FtpEntry>> = {<QListSpecialMethodsBase<FtpEntry>> = {<No data fields>}, <No data fields>}, d = {d = 0x38, ptr = 0xffffffffffffffff, size = 140726790148592}}
> #12 0x00007f8825a435b6 in Ftp::stat (this=<optimized out>, url=...) at /usr/include/c++/15/bits/unique_ptr.h:193
> No locals.
> #13 0x00007f8825908190 in KIO::WorkerSlaveBaseBridge::stat (this=0x5579aa2e1df0, url=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/workerbase_p.h:111
> No locals.
> #14 0x00007f8825904f0e in KIO::SlaveBase::dispatch (this=0x5579aa2e1df0, command=69, data=...) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/slavebase.cpp:1221
>         stream = {<QIODeviceBase> = {<No data fields>}, d = std::unique_ptr<QDataStreamPrivate> = {get() = 0x0}, dev = 0x5579aa68af80, owndev = true, noswap = false, fpPrecision = 1 '\001', q_status = 0 '\000', byteorder = QDataStream::BigEndian, 
>           ver = 22, transactionDepth = 0, static NullCode = 4294967295, static ExtendedSize = 4294967294}
>         url = {d = 0x5579aa30fb70}
>         i = -2108271600
> #15 0x00007f8825902b2e in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/slavebase.cpp:363
>         cmd = 69
>         data = {d = {d = 0x5579aa5296e0, ptr = 0x5579aa5296f0 "", size = 60}, static _empty = 0 '\000'}
>         ms = <optimized out>
>         ret = <optimized out>
> #16 0x00007f8825905a2d in KIO::WorkerBase::dispatchLoop (this=<optimized out>) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/core/workerbase.cpp:27
> No locals.
> #17 0x00007f8825a4330f in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kf6-kio-6.13.0-2.fc42.x86_64/src/kioworkers/ftp/ftp.cpp:177
>         app = {<QObject> = {_vptr.QObject = 0x7f8825690ae0 <vtable for QCoreApplication+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, 
>                 stringdata = 0x7f882550d210 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>+272>, 
>                 data = 0x7f882550d100 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, static_metacall = 0x7f882515cfe0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
>                 relatedMetaObjects = 0x0, metaTypes = 0x7f8825692ae0 <QObject::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, extradata = 0x0}}, d_ptr = {d = 0x5579aa30fd20}}, static staticMetaObject = {
>             d = {superdata = {direct = 0x7f882568cc40 <QObject::staticMetaObject>}, stringdata = 0x7f8825508e88 <QCoreApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN16QCoreApplicationE_t>+392>, 
>               data = 0x7f8825508d00 <QCoreApplication::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN16QCoreApplicationE_t>>, 
>               static_metacall = 0x7f88250ffa40 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, 
>               metaTypes = 0x7f8825690a00 <QCoreApplication::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN16QCoreApplicationE_t>>, extradata = 0x0}}, static self = 0x7ffd82565530}
>         worker = {<KIO::WorkerBase> = {_vptr.WorkerBase = 0x7f8825a52388 <vtable for Ftp+16>, d = std::unique_ptr<KIO::WorkerBasePrivate> = {get() = 0x5579aa2e1df0}}, d = std::unique_ptr<FtpInternal> = {get() = 0x5579aa311b80}}
> #18 0x00005579a10eb82a in main (argc=5, argv=0x7ffd82565898) at /usr/include/qt6/QtCore/qvarlengtharray.h:89
>         libname = {d = {d = 0x5579aa30ce40, ptr = 0x5579aa30ce50 u"/usr/lib64/qt6/plugins/kf6/kio/kio_ftp.so", size = 41}, static _empty = 0 u'\000'}
>         libpath = {d = {d = 0x5579aa30ceb0, ptr = 0x5579aa30cec0 u"/usr/lib64/qt6/plugins/kf6/kio/kio_ftp.so", size = 41}, static _empty = 0 u'\000'}
>         lib = {<QObject> = {_vptr.QObject = 0x7f8825698dc0 <vtable for QLibrary+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, 
>                 stringdata = 0x7f882550d210 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>+272>, 
>                 data = 0x7f882550d100 <QObject::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, static_metacall = 0x7f882515cfe0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
>                 relatedMetaObjects = 0x0, metaTypes = 0x7f8825692ae0 <QObject::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN7QObjectE_t>>, extradata = 0x0}}, d_ptr = {d = 0x5579aa30cf20}}, static staticMetaObject = {
>             d = {superdata = {direct = 0x7f882568cc40 <QObject::staticMetaObject>}, stringdata = 0x7f88255d503c <QLibrary::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN8QLibraryE_t>+220>, 
>               data = 0x7f88255d4f60 <QLibrary::qt_staticMetaObjectStaticContent<(anonymous namespace)::qt_meta_tag_ZN8QLibraryE_t>>, static_metacall = 0x7f88253f9990 <QLibrary::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
>               relatedMetaObjects = 0x0, metaTypes = 0x7f8825698e60 <QLibrary::qt_staticMetaObjectRelocatingContent<(anonymous namespace)::qt_meta_tag_ZN8QLibraryE_t>>, extradata = 0x0}}, d = {d = 93981034730401}}
>         sym = 0x7f8825a430b0 <kdemain(int, char**)>
>         workerDebugWait = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
>         func = 0x7f8825a430b0 <kdemain(int, char**)>
>         newArgc = 4
>         newArgv = {<QVLABase<char*>> = {<QVLABaseBase> = {a = 5, s = 4, ptr = 0x7ffd82565708}, <No data fields>}, <QVLAStorage<8, 8, 5>> = {
>             array = "\016uV\202\375\177\000\000SuV\202\375\177\000\000WuV\202\375\177\000\000XuV\202\375\177\000\000M<\301$\210\177\000"}, <No data fields>}
Comment 4 TraceyC 2025-08-12 17:37:05 UTC
*** Bug 508155 has been marked as a duplicate of this bug. ***
Comment 5 TraceyC 2025-08-12 17:40:19 UTC
*** Bug 469411 has been marked as a duplicate of this bug. ***
Comment 6 nyanpasu64 2025-11-09 04:48:39 UTC
Happens to me too.

I had connected Dolphin's FTP browsing support to a Wii U running Aroma with ftpiiu, edited some remote files in KWrite (unsure if necessary to trigger the crash), then powered off my Wii U. Afterwards kioworker crashes with an error in the notifications.