cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Access violation error while doing ftp transfer using SSH protocol.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Jan 2015 16:24:32 +0100 (CET)

On Fri, 23 Jan 2015, jitendra patil wrote:

> We are using LIBCURL 7.34.0 library for implementation of SFTP and FTPS. But
> we are facing following issue when we run this in our production
> environments, approximately we are trying to send more than 1 lakh files to
> ftp server (Using WS_FTP 7.3.0 server with SSH enabled).

Does the amount of files you transfer have any effect on the problem?

> 1) ERROR Access Violation Caught, error message: The thread attempted to
> read from or write to a virtual address for which it does not have the
> appropriate access (SSHFTPWorker.cpp:213)
>
> ERROR Stack Trace: LIBEAY32.dll : at SHA512() in :line 0

Is your program multi-threaded and if so, do you have the OpenSSL mutex
callbacks setup?

> 2) ERROR Access Violation Caught, error message: The thread attempted
> to read from or write to a virtual address for which it does not have the
> appropriate access(SSHFTPWorker.cpp:243)
>
> ERROR Stack Trace: MSVCR110.dll : at wcsnlen() in :line 0
>
> libssh2.dll : at libssh2_userauth_keyboard_interactive_ex() in :line 0
> libssh2.dll : at libssh2_channel_read_ex() in :line 0
>
> Address = 0x6f94e427 (SSHFTPWorker.cpp:243)

That looks like a possible bug (in libssh2 perhaps). Can you repeat this
problem - if so, how? Do you have a recent libssh2 version?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-28