Bug 495826 - Kio fail to connect to SFTP and S3
Summary: Kio fail to connect to SFTP and S3
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (other bugs)
Version First Reported In: 24.08.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-05 10:08 UTC by e
Modified: 2025-11-14 16:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description e 2024-11-05 10:08:07 UTC
SUMMARY
I am having some issues in both SFTP and S3 connections in dolphin with KIO 
I suspect is related to some of the most recent updates, as was previously working flawlessly, will try to investigate further and update.

STEPS TO REPRODUCE
1. Install kio-s3 r316.0c31fed-1 and configure it
2. try to connect to a bucket on dolphin
3. try to connect to a sftp host on dolphin

OBSERVED RESULT
KIO S3:
- The process for the s3 protocol died unexpectedly. (connecting to s3://<BUCKET>/<ALIAS>)
SFTP:
- Internal Error
Please send a full bug report at https://bugs.kde.org
Could not set host. (connecting to SFTP) 

EXPECTED RESULT
Successful connection

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-10885H CPU @ 2.40GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Quadro T2000 with Max-Q Design/PCIe/SSE2


ADDITIONAL INFORMATION

some log messages:
kio-fuse[6135]: org.kde.kio.fuse: Root of mount at "s3://" not a directory
dolphin[7767]: KCrash: Application 'kioworker' crashing... crashRecursionCounter = 2
systemd-coredump[7790]: Process 7767 (kioworker) of user 1000 terminated abnormally with signal 11/SEGV, pro>
systemd[1]: Created slice Slice /system/drkonqi-coredump-processor.
systemd[1]: Created slice Slice /system/systemd-coredump.
systemd[1]: Started Process Core Dump (PID 7790/UID 0).
systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
systemd-coredump[7791]: [🡕] Process 7767 (kioworker) of user 1000 dumped core.
                                                
                                                Stack trace of thread 7767:
                                                #0  0x00007394d74a53f4 n/a (libc.so.6 + 0x963f4)
                                                #1  0x00007394d744c120 raise (libc.so.6 + 0x3d120)
                                                #2  0x00007394d7c872a1 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x62a1)
                                                #3  0x00007394d744c1d0 n/a (libc.so.6 + 0x3d1d0)
                                                #4  0x00007394d7f32bb3 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcES>
                                                #5  0x00007394d7f2fbd0 _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcES>
                                                #6  0x00007394d7f325e6 _ZN9S3Backend7listDirERK4QUrl (s3.so + 0x125e6)
                                                #7  0x00007394d7df6918 n/a (libKF6KIOCore.so.6 + 0x81918)
                                                #8  0x00007394d7df1ffe n/a (libKF6KIOCore.so.6 + 0x7cffe)
                                                #9  0x00007394d7e9d29f n/a (libKF6KIOCore.so.6 + 0x12829f)
                                                #10 0x00007394d7f29250 kdemain (s3.so + 0x9250)
                                                #11 0x00005c225ca1924d n/a (kioworker + 0x124d)
                                                #12 0x00007394d7434e08 n/a (libc.so.6 + 0x25e08)
                                                #13 0x00007394d7434ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                                #14 0x00005c225ca19515 n/a (kioworker + 0x1515)
                                                
                                                Stack trace of thread 7768:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7772:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7773:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7774:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7770:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7771:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7775:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)
                                                
                                                Stack trace of thread 7769:
                                                #0  0x00007394d75288b2 epoll_wait (libc.so.6 + 0x1198b2)
                                                #1  0x00007394cc9d6fcf n/a (libaws-c-io.so.1.0.0 + 0x1cfcf)
                                                #2  0x00007394d03ea52a n/a (libaws-c-common.so.1 + 0x2a52a)
                                                #3  0x00007394d74a339d n/a (libc.so.6 + 0x9439d)
                                                #4  0x00007394d752849c n/a (libc.so.6 + 0x11949c)

_____________

on sftp attempts instead:
dolphin[4607]: kf.kio.core: Invalid URL: QUrl("")
Comment 1 e 2025-04-29 14:53:57 UTC
After investigating more, the SFTP connection fails when using an ssh config Host entry that contains an underscore (_)
Comment 2 Alex Hermann 2025-11-14 16:09:25 UTC
(In reply to e from comment #1)
> After investigating more, the SFTP connection fails when using an ssh config
> Host entry that contains an underscore (_)

It should not crash, but underscores(_) are not valid in hostnames. Better change them to dash(-) or something else.