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

            Bug ID: 417336
           Summary: Trying to use sftp causes crash in kdeinit5
           Product: kio-extras
           Version: 19.12
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: SFTP
          Assignee: plasma-b...@kde.org
          Reporter: s.pa...@spiekerbros.com
  Target Milestone: ---

SUMMARY
Trying to use sftp (Dolphin, Konqueror, or any other kde-based program) to
access remote locations causes a crash in kdeinit5. Those remote locations that
also support fish are still accessible; it is only sftp which causes the crash

STEPS TO REPRODUCE
1. try to access a remote location using sftp


OBSERVED RESULT
kdeinit5 crashes and dolphin (or other program) shows "unknown error". Keeping
the Dolphin window open will result in repeated crashes.

EXPECTED RESULT
dolphin shows the contents of the remote folder

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSuse Tumbleweed
KDE Plasma Version: 5.17.5-2.2
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f600da06580 (LWP 30188))]

Thread 2 (Thread 0x7f600ab1f700 (LWP 30190)):
#0  0x00007f6010219abf in poll () from /lib64/libc.so.6
#1  0x00007f600de8f2ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f600de8f40f in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f600f5dac6b in QEventDispatcherGlib::processEvents
(this=0x7f6004000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f600f582bfb in QEventLoop::exec (this=this@entry=0x7f600ab1ed70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f600f3ad62e in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f600ba4d507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f600f3ae6f8 in QThreadPrivate::start (arg=0x7f600bacfda0) at
thread/qthread_unix.cpp:342
#8  0x00007f600e989f2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f601022438f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f600da06580 (LWP 30188)):
[KCrash Handler]
#6  0x00007f600b7b5044 in EVP_CIPHER_CTX_ctrl (ctx=0x0, type=type@entry=19,
arg=arg@entry=1, ptr=ptr@entry=0x7ffced1913c7) at crypto/evp/evp_enc.c:648
#7  0x00007f600acd13ae in evp_cipher_aead_encrypt (cipher=0x7f60040061e0,
in=0x5562fe0afc70, out=0x5562fe0a4e10, len=36, tag=0x5562fe073320 "",
seq=<optimized out>) at
/usr/src/debug/libssh-0.9.3-1.1.x86_64/src/libcrypto.c:754
#8  0x00007f600ace0382 in ssh_packet_encrypt (len=<optimized out>,
data=0x5562fe0afc70, session=0x5562fe072b30) at
/usr/src/debug/libssh-0.9.3-1.1.x86_64/src/packet_crypt.c:176
#9  packet_send2 (session=session@entry=0x5562fe072b30) at
/usr/src/debug/libssh-0.9.3-1.1.x86_64/src/packet.c:1684
#10 0x00007f600ace0a38 in ssh_packet_send (session=0x5562fe072b30) at
/usr/src/debug/libssh-0.9.3-1.1.x86_64/src/packet.c:1810
#11 0x00007f600acf357f in ssh_disconnect (session=0x5562fe072b30) at
/usr/src/debug/libssh-0.9.3-1.1.x86_64/src/client.c:692
#12 0x00007f600bdf142a in sftpProtocol::closeConnection (this=0x7ffced191bd0)
at /usr/src/debug/kio-extras5-19.12.1-1.1.x86_64/sftp/kio_sftp.cpp:1282
#13 0x00007f600bdf80f0 in sftpProtocol::sftpOpenConnection
(this=this@entry=0x7ffced191bd0, info=...) at
/usr/src/debug/kio-extras5-19.12.1-1.1.x86_64/sftp/kio_sftp.cpp:635
#14 0x00007f600bdf84f0 in sftpProtocol::openConnection (this=0x7ffced191bd0) at
/usr/src/debug/kio-extras5-19.12.1-1.1.x86_64/sftp/kio_sftp.cpp:686
#15 0x00007f600bdf1782 in sftpProtocol::sftpLogin
(this=this@entry=0x7ffced191bd0) at
/usr/src/debug/kio-extras5-19.12.1-1.1.x86_64/sftp/kio_sftp.cpp:2604
#16 0x00007f600bdf3513 in sftpProtocol::listDir (this=0x7ffced191bd0, url=...)
at /usr/src/debug/kio-extras5-19.12.1-1.1.x86_64/sftp/kio_sftp.cpp:2150
#17 0x00007f600becf3a6 in KIO::SlaveBase::dispatch (this=0x7ffced191bd0,
command=71, data=...) at
/usr/src/debug/kio-5.66.0-1.1.x86_64/src/core/slavebase.cpp:1247
#18 0x00007f600bed6666 in KIO::SlaveBase::dispatchLoop
(this=this@entry=0x7ffced191bd0) at
/usr/src/debug/kio-5.66.0-1.1.x86_64/src/core/slavebase.cpp:338
#19 0x00007f600bdfe45b in kdemain (argc=<optimized out>, argv=<optimized out>)
at /usr/src/debug/kio-extras5-19.12.1-1.1.x86_64/sftp/kio_sftp.cpp:77
#20 0x00005562fd04847c in launch (argc=4, _name=0x5562fe064318
"/usr/lib64/qt5/plugins/kf5/kio/sftp.so", args=<optimized out>, cwd=<optimized
out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0,
avoid_loops=false, startup_id_str=0x5562fd04a175 "0") at
/usr/src/debug/kinit-5.66.0-1.1.x86_64/src/kdeinit/kinit.cpp:704
#21 0x00005562fd049288 in handle_launcher_request (sock=<optimized out>,
who=<optimized out>) at
/usr/src/debug/kinit-5.66.0-1.1.x86_64/src/kdeinit/kinit.cpp:1142
#22 0x00005562fd049c64 in handle_requests (waitForPid=0) at
/usr/src/debug/kinit-5.66.0-1.1.x86_64/src/kdeinit/kinit.cpp:1335
#23 0x00005562fd04468e in main (argc=5, argv=<optimized out>) at
/usr/src/debug/kinit-5.66.0-1.1.x86_64/src/kdeinit/kinit.cpp:1773
[Inferior 1 (process 30188) detached]

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

Reply via email to