<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
This may or may not be related to another recurring issue, relevant to Remote Desktop Connection. At home I have two monitors, but when I remote in from work via Remote Desktop Connection everything gets rearranged to a single desktop.
My home screens' resolutions are both set to 1920x1080, but my work screen is set to 2560x1440 scaled at 125%, so when I remote into my home computer there's also a bunch of window resizing that happens.
If I leave WinSCP running while at home then remote in from work, it will usually lock up if I left its window on the secondary screen. There maybe an error in such a case, but I don't know because the window is stuck on the unseen secondary screen and is unresponsive so I end up killing the process in Task Manager.
If I leave WinSCP running on the primary screen when I leave home then remote in, it usually doesn't have an error.
This time, I think I left WinSCP running on the primary screen when I left home yesterday. I remoted in from work for a few hours, then last night after I had closed the remote connection my wife used the home computer, then put it to sleep. Today my wife woke up the home computer so that I could remote in, and then I found WinSCP having the error being reported here.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.21.1
Error message:
Error reading LocalDirView.Align: Access violation at address 002BFC9B in module 'WinSCP.exe'. Read of address 00000008
Stack trace:
(0027EC9B) Vcl::Controls::_17022
(003B9323) System::Classes::_17687
(003B955D) System::Classes::TReader::ReadProperty
(003B8D51) System::Classes::TReader::ReadDataInner
(003B8D04) System::Classes::TReader::ReadData
(003C69AD) System::Classes::TComponent::ReadState
(003B9CDF) System::Classes::TReader::ReadRootComponent
(003B3BAA) System::Classes::TStream::ReadComponent
(002C1627) Vcl::Comctrls::TCustomListView::CreateWnd
(0045149A) Nortonlikelistview::TCustomNortonLikeListView::CreateWnd
(0044D599) Ielistview::TCustomIEListView::CreateWnd
(0028031C) Vcl::Controls::TWinControl::UpdateControlState
(002800B3) Vcl::Controls::TWinControl::CMRecreateWnd
(0044D549) Ielistview::TCustomIEListView::CMRecreateWnd
(00280E1D) Vcl::Controls::TWinControl::WndProc
(002C40F7) Vcl::Comctrls::TCustomListView::WndProc
The problem happens rarely. I cannot reproduce it.