Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
<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.13.1
Error message:
Invalid access to memory.
Stack trace:
(001EF03C) Vcl::Grids::TCustomGrid::MouseUp
(008BA3F6) C5101_0
(008BC45E) ____ExceptionHandler
(008B9218) __ExceptionHandler
(000851DF) ntdll.dll
(00073161) ntdll.dll.KiUserExceptionDispatcher
(007B95DE) TTerminal::CommandError
(007B9371) TTerminal::CommandError
(007C2696) TTerminal::ChangeDirectory
(007B7D1E) TTerminal::SetCurrentDirectoryW
(00677DFE) TUnixDirView::SetPath
(00046EBA) TScpCommanderForm::RemotePathLabelPathClick
(004132F9) Pathlabel::TCustomPathLabel::DoPathClick
(00411B60) Pathlabel::TCustomPathLabel::Click
(002558D1) Vcl::Controls::TControl::WMLButtonUp
(00254B0C) Vcl::Controls::TControl::Perform
(002592E3) Vcl::Controls::TWinControl::IsControlMouseMsg
(0025905C) Vcl::Controls::TWinControl::MainWndProc
(0037ED60) System::Classes::_18201
(00032429) USER32.dll
(0002488E) USER32.dll
(0002421D) USER32.dll
(00023FEB) USER32.dll.DispatchMessageW
(008BAA61) C5101_0
(008BC03B) _ReThrowException
(007B6055) TTerminal::HandleExtendedException
(007B95DE) TTerminal::CommandError
(007B9371) TTerminal::CommandError
(007C2696) TTerminal::ChangeDirectory
(007B7D1E) TTerminal::SetCurrentDirectoryW
(00677DFE) TUnixDirView::SetPath
(00046EBA) TScpCommanderForm::RemotePathLabelPathClick
(004132F9) Pathlabel::TCustomPathLabel::DoPathClick
(00411B60) Pathlabel::TCustomPathLabel::Click
(002558D1) Vcl::Controls::TControl::WMLButtonUp
(00254B0C) Vcl::Controls%
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.