Topic "Invalid access to memory - WinSCP 5.9.4"

Author Message
adriaanh
[View user's profile]

Joined: 2017-04-10
Posts: 4
WinSCP version 5.9.4 on Windows Server 2012 R2 Hyper-V virtual machine

Transfer protocol: SFTP

We do a scripted transfer of 2 files daily, 4 and 5 GB per file.

It works 1 or 2 times per week, the other transfers fail.
They fail with this error or this one: https://winscp.net/forum/viewtopic.php?t=24767

The script:
Code:
open sftp://{user}:{password}@{servername}/ -hostkey="ssh-rsa 2048 {hostkey}" -rawsettings SendBuf=0
put -resumesupport=on C:\Backups\{file1} /backup/
put -resumesupport=on C:\Backups\{file2} /backup/
exit


The error (these are just the first few stack traces, it continues until the scheduled task is killed after 12 hours):

Code:
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] {user}@{servername}
C:\Backups\RLP-SQL1\SQL\{file1} |     5133544 KB | 7935.6 KB/s | binary | 100%
C:\Backups\RLP-SQL1\SQL\{file2} |     1010083 KB | 118829.6 KB/s | binary |  26%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
C:\Backups\RLP-SQL1\SQL\{file2} |     1137610 KB | 36782.4 KB/s | binary |  29%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E10E7)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(00619ABB)

(0062A33B)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E1151)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(0062B9F3)

(0062A284)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E1151)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(0062B9F3)

(0062A284)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E1151)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(0062B9F3)

(0062A284)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E1151)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(0062B9F3)

(0062A284)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E1151)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(0062B9F3)

(0062A284)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Advertisements
adriaanh
[View user's profile]

Joined: 2017-04-10
Posts: 4
Error looks the same. This time with a logfile.

[code]Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] {user}@{servername}
C:\Backups\{file1} | 5141436 KB | 5953.4 KB/s | binary | 100%
C:\Backups\{file2} | 998222 KB | 134201.5 KB/s | binary | 26%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
C:\Backups\{file2} | 1360088 KB | 33174.4 KB/s | binary | 35%
expected key exchange reply packet from server
Stack trace:

(003E7A80)

(003E7A80)

(003E7BB1)

(0076A5A9)

(0075E4C7)

(0075B77C)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
Invalid access to memory.
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:

(003E10E7)

(00866B5E)

(00868BC6)

(00865980)

(0003EE3E) ntdll.dll.ZwWow64CallFunction64

(0003F5BA) ntdll.dll.KiUserExceptionDispatcher

(00854593)

(00615DD7)

(00619ABB)

(0062A33B)

(006FDCAC)

(006F8BF6)

(00736CEB)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll



(008671C9)

(008687A3)

(0077066D)

(00771BF7)

(007737D1)

(0076DB99)

(0075B7B3)

(0075A90A)

(00787619)

(006EEB85)

(006E9803)

(006EAB76)

(00053F97)

(0005A43A)

(000D640A)

(000024A8)

(00864B95)

(00059B8D) ntdll.dll

(00059B55) ntdll.dll
(A)bort, (R)econnect (5 s): Reconnect
[/code]
WinSCP - case 2B - log - forum.txt (153.64 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25946
Location: Prague, Czechia
Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
adriaanh
[View user's profile]

Joined: 2017-04-10
Posts: 4
Hi Martin,
I had already added a logfile in my second post to the thread:

WinSCP - case 2B - log - forum.txt (153.64 KB) [Download] Private file
Description: (none)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25946
Location: Prague, Czechia
Sorry, I've missed that.

The version of ProFTPD, you are connection to, is pretty old (at least 6 years). Please upgrade the server first.

(WinSCP still should not crash, that's true, but the root cause is some misunderstanding between WinSCP and the server).
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License