Daniel Stenberg | 8 Jun 2012 15:28
Picon
Favicon
Gravatar

Reg Core dump in libssh2 with SFTP in main_arena () from /lib64/libc.so.6 (fwd)

FYI,

Forwarded with permission.

-- 

  / daniel.haxx.se

---------- Forwarded message ----------
Date: Wed, 6 Jun 2012 12:43:43
From: Ganga <gangabhavanip <at> ...>
Subject: Reg Core dump in libssh2 with SFTP in main_arena () from
     /lib64/libc.so.6

Hi Daniel,

I am getting the following  Segmentation fault when using libssh2
functions in my code.

Currently we are using version libssh2.so.1.0.0

Below is the backtrace from my code

#0  0x00007f78d04195b8 in main_arena () from /lib64/libc.so.6
#1  0x00007f78d08ae910 in libssh2_packet_read () from /usr/lib64/libssh2.so.1
#2  0x00007f78d089f436 in libssh2_packet_require_ex ()
   from /usr/lib64/libssh2.so.1
#3  0x00007f78d089e2e1 in libssh2_kex_exchange () from /usr/lib64/libssh2.so.1
#4  0x00007f78d08a5e98 in libssh2_session_startup ()
   from /usr/lib64/libssh2.so.1
(Continue reading)

Ganga | 12 Jun 2012 11:40
Picon

Re: Reg Core dump in libssh2 with SFTP in main_arena () from /lib64/libc.so.6 (fwd)

Hi Daniel and Team,

The libssh2 version we are using is  libssh2-1-0.19.0

This core dump is occuring very rarely. So as suggested below are the
flow of calls we are using in our code.

Please provide some workaround.

BR,
Ganga

On 6/8/12, Daniel Stenberg <daniel@...> wrote:
> FYI,
>
> Forwarded with permission.
>
> --
>
>   / daniel.haxx.se
>
> ---------- Forwarded message ----------
> Date: Wed, 6 Jun 2012 12:43:43
> From: Ganga <gangabhavanip <at> ...>
> Subject: Reg Core dump in libssh2 with SFTP in main_arena () from
>      /lib64/libc.so.6
>
> Hi Daniel,
>
> I am getting the following  Segmentation fault when using libssh2
(Continue reading)

Alexander Lamaison | 12 Jun 2012 12:12
Picon

Re: Reg Core dump in libssh2 with SFTP in main_arena () from /lib64/libc.so.6 (fwd)

On 12 June 2012 10:40, Ganga <gangabhavanip@...> wrote:
> Hi Daniel and Team,
>
> The libssh2 version we are using is  libssh2-1-0.19.0
>
> This core dump is occuring very rarely. So as suggested below are the
> flow of calls we are using in our code.
>
> Please provide some workaround.

That version number looks a bit wierd but it seems to be version 0.19,
a pre-release version that is five years old!  There is absolutely no
hope of us fixing or providing a workaround for code that old.  Please
try a recent version of libssh2, preferably the latest git HEAD.

Alex

--

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


Gmane