cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with simultaneous sftp connections.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 10 Aug 2011 19:56:41 +0200 (CEST)

On Wed, 10 Aug 2011, michele wrote:

> I made the following changes to my program:

> But the result is the same segfault:
>
> (gdb) where
> #0 0x0000000000000000 in ?? ()
> #1 0x0000003992a1e883 in ?? () from /usr/lib64/libssh2.so.1
> #2 0x0000003992a1c7b9 in ?? () from /usr/lib64/libssh2.so.1
> #3 0x0000003992a0591a in ?? () from /usr/lib64/libssh2.so.1
> #4 0x0000003992a16475 in libssh2_sftp_write () from /usr/lib64/libssh2.so.1

Then I guess the next step is debugging. build a debug version of libssh2 as
well so that you get proper debug symbols etc. Then when/if it crashes, you
can use gdb to figure out details. Or run it with valgrind and more.

I forgot to ask, but I trust that you tried with the latest version of both
libs too so that you're not just experiencing a bug in older versions.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-10