Bug 453006 - kioslave crashes in SFTPInternal::sftpGet() when copying files from sftp share
Summary: kioslave crashes in SFTPInternal::sftpGet() when copying files from sftp share
Status: RESOLVED DUPLICATE of bug 447527
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (show other bugs)
Version: 21.08.3
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-25 17:45 UTC by Avamander
Modified: 2022-04-26 16:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avamander 2022-04-25 17:45:23 UTC
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
Comment 1 Nate Graham 2022-04-26 16:38:55 UTC

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