Bugs item #1940276, was opened at 2008-04-11 15:17
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1940276&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Endlosloop in libssh2_sftp_close_handle

Initial Comment:
At a customer site we use libssh2 via libcurl.
When trying to close a channel, we now and then come across (trace)

14:30:01.325284 libssh2_sftp_close_handle(0x8116dd0, 0x8114d10, 0xffecb748, 
0x805f44b, 0x80f4460) = -37
14:30:01.325453 libssh2_sftp_close_handle(0x8116dd0, 0x8114d10, 0xffecb748, 
0x805f44b, 0x80f4460) = -37
and so on
this seeems to be (in sftp.c)

    while (sftp->handles) {
        libssh2_sftp_close_handle(sftp->handles);
    }
and in libssh2_sftp_close_handle

        rc = libssh2_channel_write_ex(channel, 0,
                                      (char *) handle->close_packet,
                                      packet_len);
        if (rc == PACKET_EAGAIN) {
            return PACKET_EAGAIN;
        }

We tried to stop this with alarm and sigsetjmp,
but it's still occuring.
Our current workaround is an external killscript,
but that's less than optimal.

Wolfgang Riedel

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-03-18 18:53

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2009-01-31 22:51

Message:
Does this still happen with 1.0? If so, can you produce a full source
snippet that reproduces this problem?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1940276&group_id=125852

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to