Invalid access to memory - Vcl::Comctrls::TTreeNode::GetTreeView
The program was left connected to various sites, as I normally do, upon returning to the RDP session where it was running it reported the stack trace.
The winSCP software had not crashed out completely, and I was able to navigate up to the parent directory. I did this and refreshed.
I note after navigating to the parent directory the folder, I think I was in, was removed in the tree view. Deleted by somebody else using the same server.
Its possible that the code is not robust in the tree viewer to the file system underneath changing, agreed this is an edge case situation, as is always the case with a stack trace.
The protocol running at the time was FTP if this has any bearing.
I guess I could try an reproduce this, perhaps I will later.
WinSCP 5.21.8
Error message:
Invalid access to memory.
Stack trace:
(002B3D1B) Vcl::Comctrls::TTreeNode::GetTreeView
(00087ACF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(00471255) Customdriveview::_16446
(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.
The winSCP software had not crashed out completely, and I was able to navigate up to the parent directory. I did this and refreshed.
I note after navigating to the parent directory the folder, I think I was in, was removed in the tree view. Deleted by somebody else using the same server.
Its possible that the code is not robust in the tree viewer to the file system underneath changing, agreed this is an edge case situation, as is always the case with a stack trace.
The protocol running at the time was FTP if this has any bearing.
I guess I could try an reproduce this, perhaps I will later.
WinSCP 5.21.8
Error message:
Invalid access to memory.
Stack trace:
(002B3D1B) Vcl::Comctrls::TTreeNode::GetTreeView
(00087ACF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(00471255) Customdriveview::_16446
(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.