kio_sftp crashes since OpenSSL 1.1.0 switch

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

kio_sftp crashes since OpenSSL 1.1.0 switch

Martin Herkt
It seems KDE is still partially built against OpenSSL 1.0.0 libraries,
but libssh is meant to use 1.1.0:

#0  0x0000000000000021 in ?? ()
#1  0x00007f1446774f9a in EVP_MD_CTX_cleanup () from /usr/lib64/libcrypto.so.1.0.0
#2  0x00007f14466e321f in HMAC_CTX_cleanup () from /usr/lib64/libcrypto.so.1.0.0
#3  0x00007f1446ad493c in hmac_final () from /usr/lib/libssh.so.4
#4  0x00007f1446adecef in packet_encrypt () from /usr/lib/libssh.so.4
#5  0x00007f1446ade018 in packet_send2 () from /usr/lib/libssh.so.4
#6  0x00007f1446ade15a in packet_send () from /usr/lib/libssh.so.4
#7  0x00007f1446ac994d in ssh_service_request () from /usr/lib/libssh.so.4
#8  0x00007f1446abe3be in ssh_userauth_request_service () from /usr/lib/libssh.so.4
#9  0x00007f1446abea87 in ssh_userauth_none () from /usr/lib/libssh.so.4
#10 0x00007f1446d4422d in ?? () from /usr/lib64/qt5/plugins/kf5/kio/sftp.so
#11 0x00007f1446d415fa in ?? () from /usr/lib64/qt5/plugins/kf5/kio/sftp.so
#12 0x00007f1446d42340 in ?? () from /usr/lib64/qt5/plugins/kf5/kio/sftp.so
#13 0x00007f144fb90166 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /usr/lib64/libKF5KIOCore.so.5
#14 0x00007f144fb89ba6 in KIO::SlaveBase::dispatchLoop() () from /usr/lib64/libKF5KIOCore.so.5
#15 0x00007f1446d4973b in kdemain () from /usr/lib64/qt5/plugins/kf5/kio/sftp.so
#16 0x000055a1223f4a1f in ?? ()
#17 0x000055a1223f5d4c in ?? ()
#18 0x000055a1223f66bf in ?? ()
#19 0x000055a1223f156c in ?? ()
#20 0x00007f1455cd4f4a in __libc_start_main () from /lib64/libc.so.6
#21 0x000055a1223f219a in _start ()

$ ldd /usr/lib64/libssh.so.4 | grep libcrypto
        libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007fe887201000)

$ ldd /usr/lib64/qt5/plugins/kf5/kio/sftp.so | grep libcrypto
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f35c0026000)
        libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007f35bd4b7000)

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: kio_sftp crashes since OpenSSL 1.1.0 switch

Martin Herkt
Nevermind! I somehow had a 64-bit libssh.so.4 in /usr/lib.
I do NOT remember how that got there, but it picked that up first.
It must have been there for years.

signature.asc (235 bytes) Download Attachment