Thanks for your report.
I have sent you an email with a debug version of WinSCP to 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.7.4
Error message:
Invalid access to memory.
Stack trace:
(0056A361) _lh_doall_arg
(007E344A) C4799_3
(007E54B2) ____ExceptionHandler
(007E242C) __ExceptionHandler
(0005A67A) ntdll.dll
(0000F15E) ntdll.dll.KiUserExceptionDispatcher
(00569FE3) _lh_insert
(0056BA61) _ERR_set_implementation
(0056BFAC) _ERR_load_ERR_strings
(0056BF5B) _ERR_load_ERR_strings
(007E15A1) C4667_0
(000382E0) ntdll.dll
(000382B0) ntdll.dll