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.17.1
Error message:
Invalid access to memory.
Stack trace:
(00417C90) System::HandleAnyException
(00085B2F) ntdll.dll
(00073A61) ntdll.dll.KiUserExceptionDispatcher
(003A4578) System::Classes::_18201
(000324B9) USER32.dll
(0002490E) USER32.dll
(0002429D) USER32.dll
(0002406B) USER32.dll.DispatchMessageW
Status: all_insignificant
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.