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.2
Error message:
Invalid access to memory.
Stack trace:
(007E08EA) 
(0005A67A) ntdll.dll
(0000F15E) ntdll.dll.KiUserExceptionDispatcher
(00010AD2) 
(0001604D) 
(00015F22) 
(003D9224) 
(0021B9C9) 
(0025F8F7) 
(0033F8EC) 
(000152F7) USER32.dll
(00015D35) USER32.dll
(0001FD22) USER32.dll
(0001FD48) USER32.dll.CallWindowProcW
(003FE4C3) 
(0033F8EC) 
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW