Invalid access to memory - Vcl::Comctrls::TTreeNode::GetTreeView
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.21.8
Error message:
Invalid access to memory.
Stack trace:
(002B3D1B) Vcl::Comctrls::TTreeNode::GetTreeView
(00087ACF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(004712E4) Customdriveview::TCustomDriveView::IterateSubTree
(00483C5A) Driveview::TDriveView::ValidateDirectoryEx
(00470F75) Customdriveview::TCustomDriveView::ValidateDirectory
(004817F5) Driveview::TDriveView::Change
(002B8552) Vcl::Comctrls::TCustomTreeView::CNNotify
(00470A8D) Customdriveview::TCustomDriveView::CNNotify
(002824BD) Vcl::Controls::TWinControl::WndProc
(002B880E) Vcl::Comctrls::TCustomTreeView::WndProc
(00282623) Vcl::Controls::_17076
(002824BD) Vcl::Controls::TWinControl::WndProc
(00281B04) Vcl::Controls::TWinControl::MainWndProc
(003C9C40) System::Classes::_18201
(00040399) USER32.dll
(00037365) USER32.dll
(00036F65) USER32.dll
(0003AB2D) USER32.dll
(00073F5B) ntdll.dll.KiUserCallbackDispatcher
(00034D8A) USER32.dll.SendMessageW
(00068881) COMCTL32.DLL
(00028892) COMCTL32.DLL
(00028767) COMCTL32.DLL
(0003EC58) COMCTL32.DLL
(00040399) USER32.dll
(00037365) USER32.dll
(00036A42) USER32.dll
(00034BE6) USER32.dll.CallWindowProcW
(002825CE) Vcl::Controls::TWinControl::DefaultHandler
(002824BD) Vcl::Controls::TWinControl::WndProc
(002B880E) Vcl::Comctrls::TCustomTreeView::WndProc
(003C9C40) System::Classes::_18201
(00040399) USER32.dll
(00037365) USER32.dll
(00036F65) USER32.dll
(0003AB2D) USER32.dll
(00073F5B) ntdll.dll.KiUserCallbackDispatcher
(00034D8A) USER32.dll.SendMessageW
(00387117) Winapi::Commctrl::TreeView_SelectItem
(0046F9ED) Customdriveview::TCustomDriveView::CreateWnd
(0028154E) Vcl::Controls::TWinControl::CreateHandle
(0027D979) Vcl::Controls::TControl::WndProc
(002824BD) Vcl::Controls::TWinControl::WndProc
(002B880E) Vcl::Comctrls::TCustomTreeView::WndProc
(0028170E) Vcl::Controls::TWinControl::RecreateWnd
(002824BD) Vcl::Controls::TWinControl::WndProc
The problem happens rarely. I cannot reproduce it.