Invalid access to memory - TRemoteFile::GetIsDirectory
I was deleting 1090 empty files from a directory.
WinSCP 5.17.10
Error message:
Invalid access to memory.
Stack trace:
(00CCC25C) TRemoteFile::GetIsDirectory
(00F8A13A) C5296_0
(00F8C1A2) ____ExceptionHandler
(00F88F5C) __ExceptionHandler
(000861AF) ntdll.dll
(00072B31) ntdll.dll.KiUserExceptionDispatcher
(00D96C8C) TTerminal::DeleteFileW
(00D96033) TTerminal::ProcessFiles
(00D971A4) TTerminal::DeleteFiles
(00016154) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
(00CCC25C) TRemoteFile::GetIsDirectory
(00F8A13A) C5296_0
(00F8C1A2) ____ExceptionHandler
(00F88F5C) __ExceptionHandler
(000861AF) ntdll.dll
(00072B31) ntdll.dll.KiUserExceptionDispatcher
(00D96C8C) TTerminal::DeleteFileW
(00D96033) TTerminal::ProcessFiles
(00D971A4) TTerminal::DeleteFiles
(00016154) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(00D96245) TTerminal::ProcessFiles
(00D971A4) TTerminal::DeleteFiles
(00016154) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(000161F3) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
The problem happens rarely. I cannot reproduce it.
WinSCP 5.17.10
Error message:
Invalid access to memory.
Stack trace:
(00CCC25C) TRemoteFile::GetIsDirectory
(00F8A13A) C5296_0
(00F8C1A2) ____ExceptionHandler
(00F88F5C) __ExceptionHandler
(000861AF) ntdll.dll
(00072B31) ntdll.dll.KiUserExceptionDispatcher
(00D96C8C) TTerminal::DeleteFileW
(00D96033) TTerminal::ProcessFiles
(00D971A4) TTerminal::DeleteFiles
(00016154) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
(00CCC25C) TRemoteFile::GetIsDirectory
(00F8A13A) C5296_0
(00F8C1A2) ____ExceptionHandler
(00F88F5C) __ExceptionHandler
(000861AF) ntdll.dll
(00072B31) ntdll.dll.KiUserExceptionDispatcher
(00D96C8C) TTerminal::DeleteFileW
(00D96033) TTerminal::ProcessFiles
(00D971A4) TTerminal::DeleteFiles
(00016154) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(00D96245) TTerminal::ProcessFiles
(00D971A4) TTerminal::DeleteFiles
(00016154) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(000161F3) TCustomScpExplorerForm::DeleteFiles
(000107CD) TCustomScpExplorerForm::ExecuteDeleteFileOperation
(0001088B) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00043A53) TNonVisualDataModule::ExplorerActionsExecute
(003E939C) System::Actions::TContainedActionList::ExecuteAction
The problem happens rarely. I cannot reproduce it.