Conditions:
WinSCP.com or WinSCP.exe. Ver: 5.13.3
Binary transfer via sFTP of 303 MB file.
Using -rawsettings TryAgent=0 AuthKI=0 RekeyBytes=0
Error message:
Invalid access to memory.
Stack trace:
. 2018-11-16 08:23:10.080 Checking existence of partially transferred file.
> 2018-11-16 08:23:10.080 Type: SSH_FXP_LSTAT, Size: 62, Number: 8122119
< 2018-11-16 08:23:10.084 Type: SSH_FXP_STATUS, Size: 95, Number: 8122119
< 2018-11-16 08:23:10.084 Status code: 2
. 2018-11-16 08:23:10.084 Opening remote file.
> 2018-11-16 08:23:10.084 Type: SSH_FXP_OPEN, Size: 78, Number: 8122371
< 2018-11-16 08:23:10.094 Type: SSH_FXP_HANDLE, Size: 45, Number: 8122371
> 2018-11-16 08:23:10.094 Type: SSH_FXP_WRITE, Size: 32764, Number: 8122886
. 2018-11-16 08:23:11.190 Server initiated key re-exchange
. 2018-11-16 08:23:11.190 Doing Diffie-Hellman group exchange
. 2018-11-16 08:23:11.750 10685 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2018-11-16 08:23:11.750 Type: SSH_FXP_CLOSE, Size: 45, Number: 10582788
. 2018-11-16 08:23:12.487 Doing Diffie-Hellman key exchange with hash SHA-256
. 2018-11-16 08:23:16.442 Initialised AES-256 CBC client->server encryption
. 2018-11-16 08:23:16.442 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2018-11-16 08:23:22.628 expected key exchange reply packet from server
. 2018-11-16 08:23:22.628 Fatal error while disposing the SFTP queue.
. 2018-11-16 08:23:22.628 Connection was lost, asking what to do.
. 2018-11-16 08:23:22.628 Asking user:
. 2018-11-16 08:23:22.628 expected key exchange reply packet from server ()
< 2018-11-16 08:23:22.628 Script: expected key exchange reply packet from server
. 2018-11-16 08:23:26.823 Connection was lost, asking what to do.
. 2018-11-16 08:23:26.824 Asking user:
. 2018-11-16 08:23:26.824 Invalid access to memory.
. 2018-11-16 08:23:26.824
. 2018-11-16 08:23:26.824 Please help us improving WinSCP by reporting the error on WinSCP support forum. ("Stack trace:","(003EE310) System::SysFreeMem","(008BCA5A) C5104_0","(008BEAC2) ____ExceptionHandler","(008BB87C) __ExceptionHandler","(0006248E) ntdll.dll","(0000F15E) ntdll.dll.KiUserExceptionDispatcher","(008AA413) ___org_free","(0063B31F) _safefree","(0063F09F) C2484_0","(0064FAD3) _sshfwd_x11_is_local","(0073752C) TSecureShell::FreeBackend","(007321FE) TSecureShell::Open","(0077CB37) TSFTPFileSystem::Open","(007B6C8B) TTerminal::Reopen","(007B90FD) TTerminal::QueryReopen","(007AFECD) TRobustOperationLoop::TryReopen","(007CF113) TTerminal::SourceRobust","(007CEF54) TTerminal::DoCopyToRemote","(007A04C2) TSFTPFileSystem::CopyToRemote","(007CE9B9) TTerminal::CopyToRemote","(00727F93) TScript::PutProc","(00722B3F) TScriptCommands::Execute","(00723F0E) TScript::Command","(0005601F) TConsoleRunner::Run","(0005C8B6) Console","(000E2042) Execute","(000024B4) wWinMain","(008BAA91) C4972_0","(00038830) ntdll.dll","(00038800) ntdll.dll",,"(008BD0C5) C5104_0","(008BE69F) _ReThrowException","(007B554D) TTerminal::Open","(007B6C8B) TTerminal::Reopen","(007B90FD) TTerminal::QueryReopen","(007AFECD) TRobustOperationLoop::TryReopen","(007CF113) TTerminal::SourceRobust","(007CEF54) TTerminal::DoCopyToRemote","(007A04C2) TSFTPFileSystem::CopyToRemote","(007CE9B9) TTerminal::CopyToRemote","(00727F93) TScript::PutProc","(00722B3F) TScriptCommands::Execute","(00723F0E) TScript::Command","(0005601F) TConsoleRunner::Run","(0005C8B6) Console","(000E2042) Execute","(000024B4) wWinMain","(008BAA91) C4972_0","(00038830) ntdll.dll","(00038800) ntdll.dll")
< 2018-11-16 08:23:26.824 Script: Invalid access to memory.
< 2018-11-16 08:23:26.824 Please help us improving WinSCP by reporting the error on WinSCP support forum.
< 2018-11-16 08:23:26.824 Script: Stack trace:
< 2018-11-16 08:23:26.824 (003EE310) System::SysFreeMem
< 2018-11-16 08:23:26.824 (008BCA5A) C5104_0
< 2018-11-16 08:23:26.824 (008BEAC2) ____ExceptionHandler
< 2018-11-16 08:23:26.824 (008BB87C) __ExceptionHandler
< 2018-11-16 08:23:26.824 (0006248E) ntdll.dll
< 2018-11-16 08:23:26.824 (0000F15E) ntdll.dll.KiUserExceptionDispatcher
< 2018-11-16 08:23:26.824 (008AA413) ___org_free
< 2018-11-16 08:23:26.824 (0063B31F) _safefree
< 2018-11-16 08:23:26.824 (0063F09F) C2484_0
< 2018-11-16 08:23:26.824 (0064FAD3) _sshfwd_x11_is_local
< 2018-11-16 08:23:26.824 (0073752C) TSecureShell::FreeBackend
< 2018-11-16 08:23:26.824 (007321FE) TSecureShell::Open
< 2018-11-16 08:23:26.824 (0077CB37) TSFTPFileSystem::Open
< 2018-11-16 08:23:26.824 (007B6C8B) TTerminal::Reopen
< 2018-11-16 08:23:26.824 (007B90FD) TTerminal::QueryReopen
< 2018-11-16 08:23:26.824 (007AFECD) TRobustOperationLoop::TryReopen
< 2018-11-16 08:23:26.824 (007CF113) TTerminal::SourceRobust
< 2018-11-16 08:23:26.824 (007CEF54) TTerminal::DoCopyToRemote
< 2018-11-16 08:23:26.824 (007A04C2) TSFTPFileSystem::CopyToRemote
< 2018-11-16 08:23:26.824 (007CE9B9) TTerminal::CopyToRemote
< 2018-11-16 08:23:26.824 (00727F93) TScript::PutProc
< 2018-11-16 08:23:26.824 (00722B3F) TScriptCommands::Execute
< 2018-11-16 08:23:26.824 (00723F0E) TScript::Command
< 2018-11-16 08:23:26.824 (0005601F) TConsoleRunner::Run
< 2018-11-16 08:23:26.824 (0005C8B6) Console
< 2018-11-16 08:23:26.824 (000E2042) Execute
< 2018-11-16 08:23:26.824 (000024B4) wWinMain
< 2018-11-16 08:23:26.824 (008BAA91) C4972_0
< 2018-11-16 08:23:26.824 (00038830) ntdll.dll
< 2018-11-16 08:23:26.824 (00038800) ntdll.dll
< 2018-11-16 08:23:26.824
< 2018-11-16 08:23:26.824 (008BD0C5) C5104_0
< 2018-11-16 08:23:26.824 (008BE69F) _ReThrowException
< 2018-11-16 08:23:26.824 (007B554D) TTerminal::Open
< 2018-11-16 08:23:26.824 (007B6C8B) TTerminal::Reopen
< 2018-11-16 08:23:26.824 (007B90FD) TTerminal::QueryReopen
< 2018-11-16 08:23:26.824 (007AFECD) TRobustOperationLoop::TryReopen
< 2018-11-16 08:23:26.824 (007CF113) TTerminal::SourceRobust
< 2018-11-16 08:23:26.824 (007CEF54) TTerminal::DoCopyToRemote
< 2018-11-16 08:23:26.824 (007A04C2) TSFTPFileSystem::CopyToRemote
< 2018-11-16 08:23:26.824 (007CE9B9) TTerminal::CopyToRemote
< 2018-11-16 08:23:26.824 (00727F93) TScript::PutProc
< 2018-11-16 08:23:26.824 (00722B3F) TScriptCommands::Execute
< 2018-11-16 08:23:26.824 (00723F0E) TScript::Command
< 2018-11-16 08:23:26.824 (0005601F) TConsoleRunner::Run
< 2018-11-16 08:23:26.824 (0005C8B6) Console
< 2018-11-16 08:23:26.824 (000E2042) Execute
< 2018-11-16 08:23:26.824 (000024B4) wWinMain
< 2018-11-16 08:23:26.824 (008BAA91) C4972_0
< 2018-11-16 08:23:26.824 (00038830) ntdll.dll
< 2018-11-16 08:23:26.824 (00038800) ntdll.dll
. 2018-11-16 08:23:29.439 Connection was lost, asking what to do.
. 2018-11-16 08:23:29.439 Asking user:
. 2018-11-16 08:23:29.439 Invalid access to memory.
. 2018-11-16 08:23:29.439
. 2018-11-16 08:23:29.439 Please help us improving WinSCP by reporting the error on WinSCP support forum. ("Stack trace:","(003EE327) System::SysFreeMem","(008BCA5A) C5104_0","(008BEAC2) ____ExceptionHandler","(008BB87C) __ExceptionHandler","(0006248E) ntdll.dll","(0000F15E) ntdll.dll.KiUserExceptionDispatcher","(008AA413) ___org_free","(0063B31F) _safefree","(0063F09F) C2484_0","(0064FAD3) _sshfwd_x11_is_local","(0073752C) TSecureShell::FreeBackend","(007321FE) TSecureShell::Open","(0077CB37) TSFTPFileSystem::Open","(007B6C8B) TTerminal::Reopen","(007B90FD) TTerminal::QueryReopen","(007AFECD) TRobustOperationLoop::TryReopen","(007CF113) TTerminal::SourceRobust","(007CEF54) TTerminal::DoCopyToRemote","(007A04C2) TSFTPFileSystem::CopyToRemote","(007CE9B9) TTerminal::CopyToRemote","(00727F93) TScript::PutProc","(00722B3F) TScriptCommands::Execute","(00723F0E) TScript::Command","(0005601F) TConsoleRunner::Run","(0005C8B6) Console","(000E2042) Execute","(000024B4) wWinMain","(008BAA91) C4972_0","(00038830) ntdll.dll","(00038800) ntdll.dll",,"(008BD0C5) C5104_0","(008BE69F) _ReThrowException","(007B554D) TTerminal::Open","(007B6C8B) TTerminal::Reopen","(007B90FD) TTerminal::QueryReopen","(007AFECD) TRobustOperationLoop::TryReopen","(007CF113) TTerminal::SourceRobust","(007CEF54) TTerminal::DoCopyToRemote","(007A04C2) TSFTPFileSystem::CopyToRemote","(007CE9B9) TTerminal::CopyToRemote","(00727F93) TScript::PutProc","(00722B3F) TScriptCommands::Execute","(00723F0E) TScript::Command","(0005601F) TConsoleRunner::Run","(0005C8B6) Console","(000E2042) Execute","(000024B4) wWinMain","(008BAA91) C4972_0","(00038830) ntdll.dll","(00038800) ntdll.dll")
< 2018-11-16 08:23:29.439 Script: Invalid access to memory.
< 2018-11-16 08:23:29.439 Please help us improving WinSCP by reporting the error on WinSCP support forum.
< 2018-11-16 08:23:29.442 Script: Stack trace:
< 2018-11-16 08:23:29.442 (003EE327) System::SysFreeMem
< 2018-11-16 08:23:29.442 (008BCA5A) C5104_0
< 2018-11-16 08:23:29.442 (008BEAC2) ____ExceptionHandler
< 2018-11-16 08:23:29.442 (008BB87C) __ExceptionHandler
< 2018-11-16 08:23:29.442 (0006248E) ntdll.dll
< 2018-11-16 08:23:29.442 (0000F15E) ntdll.dll.KiUserExceptionDispatcher
< 2018-11-16 08:23:29.442 (008AA413) ___org_free
< 2018-11-16 08:23:29.442 (0063B31F) _safefree
< 2018-11-16 08:23:29.442 (0063F09F) C2484_0
< 2018-11-16 08:23:29.442 (0064FAD3) _sshfwd_x11_is_local
< 2018-11-16 08:23:29.442 (0073752C) TSecureShell::FreeBackend
< 2018-11-16 08:23:29.442 (007321FE) TSecureShell::Open
< 2018-11-16 08:23:29.442 (0077CB37) TSFTPFileSystem::Open
< 2018-11-16 08:23:29.442 (007B6C8B) TTerminal::Reopen
< 2018-11-16 08:23:29.442 (007B90FD) TTerminal::QueryReopen
< 2018-11-16 08:23:29.442 (007AFECD) TRobustOperationLoop::TryReopen
< 2018-11-16 08:23:29.442 (007CF113) TTerminal::SourceRobust
< 2018-11-16 08:23:29.442 (007CEF54) TTerminal::DoCopyToRemote
< 2018-11-16 08:23:29.442 (007A04C2) TSFTPFileSystem::CopyToRemote
< 2018-11-16 08:23:29.442 (007CE9B9) TTerminal::CopyToRemote
< 2018-11-16 08:23:29.442 (00727F93) TScript::PutProc
< 2018-11-16 08:23:29.442 (00722B3F) TScriptCommands::Execute
< 2018-11-16 08:23:29.442 (00723F0E) TScript::Command
< 2018-11-16 08:23:29.442 (0005601F) TConsoleRunner::Run
< 2018-11-16 08:23:29.442 (0005C8B6) Console
< 2018-11-16 08:23:29.442 (000E2042) Execute
< 2018-11-16 08:23:29.442 (000024B4) wWinMain
< 2018-11-16 08:23:29.442 (008BAA91) C4972_0
< 2018-11-16 08:23:29.442 (00038830) ntdll.dll
< 2018-11-16 08:23:29.442 (00038800) ntdll.dll
I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.