Invalid access to memory - _ssh2_userauth_set_transport_layer
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.21.5
Error message:
Invalid access to memory.
Stack trace:
(00C5BC68) _ssh2_userauth_set_transport_layer
(00FDC86E) C5412_0
(00FDE8D6) ____ExceptionHandler
(00FDB690) __ExceptionHandler
(000878AF) ntdll.dll
(00073EE1) ntdll.dll.KiUserExceptionDispatcher
(00C4A961) _ssh_ppl_free
(00C0A02A) C2593_0
(00C0A11D) _run_toplevel_callbacks
(00D502AA) TSecureShell::EventSelectLoop
(00D4F50F) TSecureShell::WaitForData
(00D4A05D) TSecureShell::Init
(00D4999C) TSecureShell::Open
(00D9E62B) TSFTPFileSystem::Open
(00DDA4DF) TTerminal::Reopen
(00DDCBAD) TTerminal::QueryReopen
(00DD1EA8) TRobustOperationLoop::TryReopen
(00DE1DD7) TTerminal::CustomReadDirectory
(00DE1121) TTerminal::ReadDirectory
(00DDC763) TTerminal::ReactOnCommand
(00C7B225) TUnixDirView::ChangeDirectory
(00C79649) TUnixDirView::ExecuteFile
(0046A18E) Customdirview::TCustomDirView::DoExecute
(0046AD8D) Customdirview::TCustomDirView::WMLButtonDblClk
(00282489) Vcl::Controls::TWinControl::WndProc
(002C5763) Vcl::Comctrls::TCustomListView::WndProc
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(004A18CB) Dragdrop::TDragDrop::WndMethod
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00037195) USER32.dll
(00036F5B) USER32.dll.DispatchMessageW
(00FDCED9) C5412_0
(00FDE4B3) _ReThrowException
(00D4A16F) TSecureShell::Init
(00D4999C) TSecureShell::Open
(00D9E62B) TSFTPFileSystem::Open
(00DDA4DF) TTerminal::Reopen
(00DDCBAD) TTerminal::QueryReopen
(00DD1EA8) TRobustOperationLoop::TryReopen
(00DE1DD7) TTerminal::CustomReadDirectory
(00DE1121) TTerminal::ReadDirectory
(00DDC763) TTerminal::ReactOnCommand
(00C7B225) TUnixDirView::ChangeDirectory
(00C79649) TUnixDirView::ExecuteFile
(0046A18E) Customdirview::TCustomDirView::DoExecute
(0046AD8D) Customdirview::TCustomDirView::WMLButtonDblClk
(00282489) Vcl::Controls::TWinControl::WndProc
(002C5763) Vcl::Comctrls::TCustomListView::WndProc
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(004A18CB) Dragdrop::TDragDrop::WndMethod
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00037195) USER32.dll
(00036F5B) USER32.dll.DispatchMessageW
Authentication failed.
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.21.5
Error message:
Invalid access to memory.
Stack trace:
(00C5BC68) _ssh2_userauth_set_transport_layer
(00FDC86E) C5412_0
(00FDE8D6) ____ExceptionHandler
(00FDB690) __ExceptionHandler
(000878AF) ntdll.dll
(00073EE1) ntdll.dll.KiUserExceptionDispatcher
(00C4A961) _ssh_ppl_free
(00C0A02A) C2593_0
(00C0A11D) _run_toplevel_callbacks
(00D502AA) TSecureShell::EventSelectLoop
(00D4F50F) TSecureShell::WaitForData
(00D4A05D) TSecureShell::Init
(00D4999C) TSecureShell::Open
(00D9E62B) TSFTPFileSystem::Open
(00DDA4DF) TTerminal::Reopen
(00DDCBAD) TTerminal::QueryReopen
(00DD1EA8) TRobustOperationLoop::TryReopen
(00DE1DD7) TTerminal::CustomReadDirectory
(00DE1121) TTerminal::ReadDirectory
(00DDC763) TTerminal::ReactOnCommand
(00C7B225) TUnixDirView::ChangeDirectory
(00C79649) TUnixDirView::ExecuteFile
(0046A18E) Customdirview::TCustomDirView::DoExecute
(0046AD8D) Customdirview::TCustomDirView::WMLButtonDblClk
(00282489) Vcl::Controls::TWinControl::WndProc
(002C5763) Vcl::Comctrls::TCustomListView::WndProc
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(004A18CB) Dragdrop::TDragDrop::WndMethod
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00037195) USER32.dll
(00036F5B) USER32.dll.DispatchMessageW
(00FDCED9) C5412_0
(00FDE4B3) _ReThrowException
(00D4A16F) TSecureShell::Init
(00D4999C) TSecureShell::Open
(00D9E62B) TSFTPFileSystem::Open
(00DDA4DF) TTerminal::Reopen
(00DDCBAD) TTerminal::QueryReopen
(00DD1EA8) TRobustOperationLoop::TryReopen
(00DE1DD7) TTerminal::CustomReadDirectory
(00DE1121) TTerminal::ReadDirectory
(00DDC763) TTerminal::ReactOnCommand
(00C7B225) TUnixDirView::ChangeDirectory
(00C79649) TUnixDirView::ExecuteFile
(0046A18E) Customdirview::TCustomDirView::DoExecute
(0046AD8D) Customdirview::TCustomDirView::WMLButtonDblClk
(00282489) Vcl::Controls::TWinControl::WndProc
(002C5763) Vcl::Comctrls::TCustomListView::WndProc
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00042489) USER32.dll
(00039425) USER32.dll
(00038B02) USER32.dll
(00036CA6) USER32.dll.CallWindowProcW
(004A18CB) Dragdrop::TDragDrop::WndMethod
(003C9C0C) System::Classes::_18201
(00042489) USER32.dll
(00039425) USER32.dll
(00037195) USER32.dll
(00036F5B) USER32.dll.DispatchMessageW
Authentication failed.
The problem happens rarely. I cannot reproduce it.