--nextPart1350156.YgbIb1RUfF Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tuesday 11 August 2009 00:32:09 Dawit A. wrote: > Here is the full bt... Hi Dawit, > > Program received signal SIGSEGV, Segmentation fault. > channel_send_eof (channel=3D0x0) at > /home/dalemayehu/Downloads/libssh-0.3.2/libssh/channels.c:772 > 772 SSH_SESSION *session =3D channel->session; > (gdb) bt > #0 channel_send_eof (channel=3D0x0) at > /home/dalemayehu/Downloads/libssh-0.3.2/libssh/channels.c:772 > #1 0xb48dabd6 in sftp_free (sftp=3D0x8adbf28) at > /home/dalemayehu/Downloads/libssh-0.3.2/libssh/sftp.c:183 > #2 0xb5a5be8c in sftpProtocol::closeConnection (this=3D0xbf831338) at > /home/dalemayehu/work/KDE/source/branches/kdebase/runtime/kioslave/sftp/k= io >_sftp.cpp:706 #3 0xb782fa63 in KIO::SlaveBase::dispatchLoop > (this=3D0xbf831338) at > /home/dalemayehu/work/KDE/source/branches/kdelibs/kio/kio/slavebase.cpp:2= 93 > #4 0xb5a5c9fe in kdemain (argc=3D4, argv=3D0x8add358) at > /home/dalemayehu/work/KDE/source/branches/kdebase/runtime/kioslave/sftp/k= io >_sftp.cpp:79 #5 0x0804de22 in _start () thanks for the backtrace. Could it be possible that closeConnection() is=20 called before it was ever connected. It would be good to see the sftp=20 structure here. I've initialized the ssh and sftp session with NULL in the contructor now. -- andreas --nextPart1350156.YgbIb1RUfF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkqBHz4ACgkQf94+j/M+P8byCQCeJE61iA6nDfnwrd7wIADbXWkq bNYAniadGpMI+CGSzNEfqejH1w3HPOE5 =L5Ci -----END PGP SIGNATURE----- --nextPart1350156.YgbIb1RUfF--