The error is very easy to reproduce. It is enough to get the
"Access denied" window by entering the wrong password when connecting to the FTP server, and at the same time save the file in an open editor.
Steps:
- Connect to any FTP server and open file from WinSCP session in any editor.
- Connect to any FTP server, but, set wrong password before connected.
- Get error window, and don't close it (image in post)
- Open editor, put some symbols, and save him.
- Get error and exception
WinSCP 5.21.2
Error message:
Invalid access to memory.
Stack trace:
(00DD2728) TTerminal::GetIsCapable
(00FD296E) C5412_0
(00FD49D6) ____ExceptionHandler
(00FD1790) __ExceptionHandler
(00087B7F) ntdll.dll
(00074001) ntdll.dll.KiUserExceptionDispatcher
(00076FD5) TEditorManager::CheckFileChange
(00074D75) TEditorManager::Check
(00019B69) TCustomScpExplorerForm::Idle
(0004D143) TNonVisualDataModule::DoIdle
(0004D100) TNonVisualDataModule::SessionIdleTimerTimer
(003CA660) System::Classes::_18201
(00040379) USER32.dll
(00037335) USER32.dll
(00035095) USER32.dll
(00034E5B) USER32.dll.DispatchMessageW
(00FD2FD9) C5412_0
(00FD45B3) _ReThrowException
(00077015) TEditorManager::CheckFileChange
(00074D75) TEditorManager::Check
(00019B69) TCustomScpExplorerForm::Idle
(0004D143) TNonVisualDataModule::DoIdle
(0004D100) TNonVisualDataModule::SessionIdleTimerTimer
(003CA660) System::Classes::_18201
(00040379) USER32.dll
(00037335) USER32.dll
(00035095) USER32.dll
(00034E5B) USER32.dll.DispatchMessageW
I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.