Am Donnerstag, den 29.03.2007, 10:27 +0200 schrieb Simon Josefsson: > Hi Heiko! Your post didn't seem to made it to the list (at least I > didn't get it through the list), so I'm quoting your entire message > below, for future reference.
The attachment was larger than allowed (60Kb vs. 40Kb) so the mail got stuck waiting for moderator approval. > > However, I seem to have another problem with the compiled example > > ("simple") on my Solaris box. > > When I start, e.g, the "scp" sample prog it gets stuck on > > "libssh2_session_startup(session, sock);" and blocks forever. > > > > The ssh server itself works fine: > > ~/src> telnet 127.0.0.1 22 > > Trying 127.0.0.1... > > Connected to 127.0.0.1. > > Escape character is '^]'. > > SSH-2.0-Sun_SSH_1.1 > > ^] > > > > Maybe the stack of the proc helps: > > > > ~/src> pstack 1352 > > 1352: /digibib/src/libssh2-0.15/example/simple/.libs/scp > > ffffffff76bcd5d8 recv (3, 100102700, 1000, 0) > > ffffffff77a153b4 libssh2_packet_require_ex (100102500, 1f, > > ffffffff7ffff100, ffffffff7ffff0f8, 0, 0) + b4 > > ffffffff77a10300 > > libssh2_kex_method_diffie_hellman_group_exchange_sha1_key_exchange > > (100102500, 1001051c0, 236, 1001037b0, 1001037e0, 0) + 148 > > ffffffff77a122e8 libssh2_kex_exchange (100102500, 0, 1, 0, 1a, 13) + 1b0 > > ffffffff77a1a2e8 libssh2_session_startup (100102500, 3, 0, 0, 3, > > ffffffff77a19900) + 1f0 > > 0000000100000f7c main (1, ffffffff7ffff998, 100101ab8, ffffffff76b491e8, > > 0, 100102500) + ec > > 0000000100000e5c _start (0, 0, 0, 0, 0, 0) + 17c > > I don't have time to work on this since I'm not that familiar with > these parts of libssh2. Hopefully someone else will help. If nobody > responds, and the problem remains, try bringing this up as a separate > thread. Also try debugging it further, of course.. I´m interested in libssh2 because I intend to use it via the Perl bindings and my knowledge of C is rather limited so I doubt that I can be of any help in that area aside from testing fixes. Heiko ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel