https://bugs.kde.org/show_bug.cgi?id=453006

            Bug ID: 453006
           Summary: kioslave crashes when copying files from sftp share
           Product: frameworks-kio
           Version: 5.86.0
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: avaman...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
Application: kioslave5 (kioslave5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fa711dc520e in sftp_close () from /lib/x86_64-linux-gnu/libssh.so.4
#5  0x00007fa711dfc6bc in operator() (__closure=<synthetic pointer>) at
./sftp/kio_sftp.cpp:1564
#6  QScopeGuard<SFTPInternal::sftpGet(const QUrl&, KIO::fileoffset_t,
int)::<lambda()> >::~QScopeGuard (this=<optimized out>, this=<optimized out>)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopeguard.h:80
#7  SFTPInternal::sftpGet (this=this@entry=0x55c413501d00, url=...,
offset=<optimized out>, offset@entry=-1, fd=fd@entry=-1) at
./sftp/kio_sftp.cpp:1650
#8  0x00007fa711dfcced in SFTPInternal::get (url=..., this=0x55c413501d00) at
./sftp/kio_sftp.cpp:1523
#9  SFTPSlave::get (this=0x7ffe961ab4a0, url=...) at ./sftp/kio_sftp.cpp:2696
#10 0x00007fa716f7bda6 in KIO::SlaveBase::dispatch (this=0x7ffe961ab4a0,
command=67, data=...) at ./src/core/slavebase.cpp:1221
#11 0x00007fa716f7c6f6 in KIO::SlaveBase::dispatchLoop (this=0x7ffe961ab4a0) at
./src/core/slavebase.cpp:335
#12 0x00007fa711e0131e in kdemain (argc=<optimized out>, argv=<optimized out>)
at ./sftp/kio_sftp.cpp:99
#13 0x000055c411ed23e6 in main (argc=5, argv=0x7ffe961ab718) at
./src/kioslave/kioslave.cpp:124
[Inferior 1 (process 968689) detached]


STEPS TO REPRODUCE
1. Just copy files from one SFTP share to another

OBSERVED RESULT
KIO slave crashes


EXPECTED RESULT
KIO slave doesn't crash and handles the situation gracefully


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-39-generic (64-bit)
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to