[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kio_sftp rewrite
From:       Andreas Schneider <mail () cynapses ! org>
Date:       2009-08-11 7:35:25
Message-ID: 200908110935.26083.mail () cynapses ! org
[Download RAW message or body]


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=0x0) at
> /home/dalemayehu/Downloads/libssh-0.3.2/libssh/channels.c:772
> 772       SSH_SESSION *session = channel->session;
> (gdb) bt
> #0  channel_send_eof (channel=0x0) at
> /home/dalemayehu/Downloads/libssh-0.3.2/libssh/channels.c:772
> #1  0xb48dabd6 in sftp_free (sftp=0x8adbf28) at
> /home/dalemayehu/Downloads/libssh-0.3.2/libssh/sftp.c:183
> #2  0xb5a5be8c in sftpProtocol::closeConnection (this=0xbf831338) at
> /home/dalemayehu/work/KDE/source/branches/kdebase/runtime/kioslave/sftp/kio
>_sftp.cpp:706 #3  0xb782fa63 in KIO::SlaveBase::dispatchLoop
> (this=0xbf831338) at
> /home/dalemayehu/work/KDE/source/branches/kdelibs/kio/kio/slavebase.cpp:293
> #4  0xb5a5c9fe in kdemain (argc=4, argv=0x8add358) at
> /home/dalemayehu/work/KDE/source/branches/kdebase/runtime/kioslave/sftp/kio
>_sftp.cpp:79 #5  0x0804de22 in _start ()

thanks for the backtrace. Could it be possible that closeConnection() is 
called before it was ever connected. It would be good to see the sftp 
structure here.

I've initialized the ssh and sftp session with NULL in the contructor now.


	-- andreas

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic