<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)>
All I can say is that I had the application minimized, went back to it with Alt + Tab and then closed a session I had opened (in a tab). I had 2 more connections oponeed. This is something I do all the time, it's the first time i've seen this error. Hope this helps.
WinSCP 5.17.9
Error message:
Invalid access to memory.
Stack trace:
(00D4612D) TSessionLog::Add
(000878AF) ntdll.dll
(00073EE1) ntdll.dll.KiUserExceptionDispatcher
(00D4632D) TSessionLog::AddException
(00D8E4D0) TTerminal::HandleExtendedException
(00D91CCA) TTerminal::CommandError
(00D91A5D) TTerminal::CommandError
(00D9BA22) TTerminal::ChangeDirectory
(00D9040A) TTerminal::SetCurrentDirectoryW
(00C3E872) TUnixDirView::SetPath
(0005345A) TScpCommanderForm::RemotePathLabelPathClick
(0043D1A5) Pathlabel::TCustomPathLabel::DoPathClick
(0043B960) Pathlabel::TCustomPathLabel::Click
(00276BAD) Vcl::Controls::TControl::WMLButtonUp
(00275DE8) Vcl::Controls::TControl::Perform
(0027A5BF) Vcl::Controls::TWinControl::IsControlMouseMsg
(0027A338) Vcl::Controls::TWinControl::MainWndProc
(003A5954) System::Classes::_18201
(0003DEB9) USER32.dll
(00034E75) USER32.dll
(00032BE5) USER32.dll
(000329AB) USER32.dll.DispatchMessageW
The problem happens rarely. I cannot reproduce it.