Invalid access to memory - WinSCP 5.9.4

Advertisement

adriaanh
Joined:
Posts:
6

Invalid access to memory - WinSCP 5.9.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:
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):

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

Reply with quote

Advertisement

adriaanh
Joined:
Posts:
6

Same error

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)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Invalid access to memory - WinSCP 5.9.4

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.

Reply with quote

adriaanh
Joined:
Posts:
6

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)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
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).

Reply with quote

Advertisement

adriaanh

Hi Martin,
The company that manages the server has installed a new server with up-to-date software. We don't have the same issues with the new server.
Thanx for your help!

Reply with quote

Advertisement

You can post new topics in this forum