<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)>
I highlighted two files on a server, right-clicked and chose download. I browsed to a location on another server to which I often download and started the download. I tried again after this error (it did not remember the destination and I had to browse to it again) and it worked.
WinSCP 5.17.7
Error message:
Invalid access to memory.
Stack trace:
(00CCA457) TRemoteFile::Duplicate
(00F8862A) C5296_3
(00F8A692) ____ExceptionHandler
(00F8744C) __ExceptionHandler
(00088F2F) ntdll.dll
(000743C1) ntdll.dll.KiUserExceptionDispatcher
(00CCA462) TRemoteFile::Duplicate
(00CCE58E) TRemoteFileList::CloneStrings
(0000FCD4) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010848) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00010C46) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000440FF) TNonVisualDataModule::ExplorerActionsExecute
(003E85CC) System::Actions::TContainedActionList::ExecuteAction
(001C71B5) Vcl::Actnlist::TCustomAction::Execute
(003A4BA8) System::Classes::_18201
(000437A9) USER32.dll
(000242A7) USER32.dll
(000233F9) USER32.dll
(000231DB) USER32.dll.DispatchMessageW
(00F88C95) C5296_3
(00F8A26F) _ReThrowException
(00CCA603) TRemoteFile::Duplicate
(00CCA462) TRemoteFile::Duplicate
(00CCE58E) TRemoteFileList::CloneStrings
(0000FCD4) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010848) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00010C46) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000440FF) TNonVisualDataModule::ExplorerActionsExecute
(003E85CC) System::Actions::TContainedActionList::ExecuteAction
(001C71B5) Vcl::Actnlist::TCustomAction::Execute
(003A4BA8) System::Classes::_18201
(000437A9) USER32.dll
(000242A7) USER32.dll
(000233F9) USER32.dll
(000231DB) USER32.dll.DispatchMessageW
(00F88C95) C5296_3
(00F8A26F) _ReThrowException
(00CCA603) TRemoteFile::Duplicate
(00CCE58E) TRemoteFileList::CloneStrings
(0000FCD4) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010848) TCustomScpExplorerForm::ExecuteFileOperation
(00010A39) TCustomScpExplorerForm::ExecuteFileOperation
(00010ABF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00010C46) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000440FF) TNonVisualDataModule::ExplorerActionsExecute
(003E85CC) System::Actions::TContainedActionList::ExecuteAction
(001C71B5) Vcl::Actnlist::TCustomAction::Execute
(003A4BA8) System::Classes::_18201
(000437A9) USER32.dll
(000242A7) USER32.dll
(000233F9) USER32.dll
(000231DB) USER32.dll.DispatchMessageW
The problem happens rarely. I cannot reproduce it.