Error getting name of current remote directory - TSecureShell::CheckConnection
<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)>
WinSCP 6.5.4
Error message:
Error getting name of current remote directory.
Invalid access to memory.
Stack trace:
(00C9BDD6) TSecureShell::CheckConnection
(00EF715A)
(00EF91D2)
(00EF5F7C) __ExceptionHandler
(0008822F) ntdll.dll
(00074711) ntdll.dll.KiUserExceptionDispatcher
(00C9A357) TSecureShell::Send
(00CF4930) TSFTPFileSystem::SendPacket
(00CF7755) TSFTPFileSystem::SendPacketAndReceiveResponse
(00CF7DFF) TSFTPFileSystem::RealPath
(00CF8C7B) TSFTPFileSystem::GetHomeDirectory
(00D0784B) TSFTPFileSystem::ReadCurrentDirectory
(00D3B111) TTerminal::ReadCurrentDirectory
(00D379FA) TTerminal::GetCurrentDirectoryW
(0002ABDC) TCustomScpExplorerForm::PathForCaption
(00061FF6) TScpCommanderForm::PathForCaption
(000CB9AE) TTerminalManager::UpdateAppTitle
(0002AD31) TCustomScpExplorerForm::UpdateControls
(0005D6A8) TScpCommanderForm::UpdateControls
(00008B11) TCustomScpExplorerForm::DoSetManagedSession
(000089E1) TCustomScpExplorerForm::SetManagedSession
(000CB169) TTerminalManager::UpdateScpExplorer
(000CB190) TTerminalManager::UpdateScpExplorer
(000CDAD0) TTerminalManager::SessionReady
(000CA9C5) TTerminalManager::DisconnectActiveTerminalIfPermanentFreeOtherwise
(000269DC) TCustomScpExplorerForm::ShowExtendedException
(000CC5E5) TTerminalManager::TerminalShowExtendedException
(00D35F08) TTerminal::ShowExtendedException
(000CAA80) TTerminalManager::ConnectActiveTerminal
(000CB52E) TTerminalManager::DoSetActiveSession
(000CB1E4) TTerminalManager::SetActiveSession
(000252CC) TCustomScpExplorerForm::NeedSession
(0005B8BF) TScpCommanderForm::NeedSession
(0002D8B1) TCustomScpExplorerForm::CMShowingChanged
(0002D5A0) TCustomScpExplorerForm::Dispatch
(0039E3C2) Vcl::Controls::TControl::WndProc
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(00E06A7C) Vclcommon::C4884_0
(00E06C3E) Vclcommon::C4884_0
(0039DFF8) Vcl::Controls::TControl::Perform
(003A2819) Vcl::Controls::TWinControl::UpdateShowing
(003A292E) Vcl::Controls::TWinControl::UpdateControlState
(003A56F2) Vcl::Controls::TWinControl::CMVisibleChanged
(0039E3C2) Vcl::Controls::TControl::WndProc
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(00E06D03) Vclcommon::C4884_0
(0039DFF8) Vcl::Controls::TControl::Perform
(0039CA26) Vcl::Controls::TControl::SetVisible
(0012A249) Execute
(000033BB) wWinMain
(00EF4E9D) __wstartup
(000672AC) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00067279) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00EF77C5)
(00EF8D9F)
(00CF831F) TSFTPFileSystem::RealPath
(00CF8C7B) TSFTPFileSystem::GetHomeDirectory
(00D0784B) TSFTPFileSystem::ReadCurrentDirectory
(00D3B111) TTerminal::ReadCurrentDirectory
(00D379FA) TTerminal::GetCurrentDirectoryW
(0002ABDC) TCustomScpExplorerForm::PathForCaption
(00061FF6) TScpCommanderForm::PathForCaption
(000CB9AE) TTerminalManager::UpdateAppTitle
(0002AD31) TCustomScpExplorerForm::UpdateControls
(0005D6A8) TScpCommanderForm%
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 6.5.4
Error message:
Error getting name of current remote directory.
Invalid access to memory.
Stack trace:
(00C9BDD6) TSecureShell::CheckConnection
(00EF715A)
(00EF91D2)
(00EF5F7C) __ExceptionHandler
(0008822F) ntdll.dll
(00074711) ntdll.dll.KiUserExceptionDispatcher
(00C9A357) TSecureShell::Send
(00CF4930) TSFTPFileSystem::SendPacket
(00CF7755) TSFTPFileSystem::SendPacketAndReceiveResponse
(00CF7DFF) TSFTPFileSystem::RealPath
(00CF8C7B) TSFTPFileSystem::GetHomeDirectory
(00D0784B) TSFTPFileSystem::ReadCurrentDirectory
(00D3B111) TTerminal::ReadCurrentDirectory
(00D379FA) TTerminal::GetCurrentDirectoryW
(0002ABDC) TCustomScpExplorerForm::PathForCaption
(00061FF6) TScpCommanderForm::PathForCaption
(000CB9AE) TTerminalManager::UpdateAppTitle
(0002AD31) TCustomScpExplorerForm::UpdateControls
(0005D6A8) TScpCommanderForm::UpdateControls
(00008B11) TCustomScpExplorerForm::DoSetManagedSession
(000089E1) TCustomScpExplorerForm::SetManagedSession
(000CB169) TTerminalManager::UpdateScpExplorer
(000CB190) TTerminalManager::UpdateScpExplorer
(000CDAD0) TTerminalManager::SessionReady
(000CA9C5) TTerminalManager::DisconnectActiveTerminalIfPermanentFreeOtherwise
(000269DC) TCustomScpExplorerForm::ShowExtendedException
(000CC5E5) TTerminalManager::TerminalShowExtendedException
(00D35F08) TTerminal::ShowExtendedException
(000CAA80) TTerminalManager::ConnectActiveTerminal
(000CB52E) TTerminalManager::DoSetActiveSession
(000CB1E4) TTerminalManager::SetActiveSession
(000252CC) TCustomScpExplorerForm::NeedSession
(0005B8BF) TScpCommanderForm::NeedSession
(0002D8B1) TCustomScpExplorerForm::CMShowingChanged
(0002D5A0) TCustomScpExplorerForm::Dispatch
(0039E3C2) Vcl::Controls::TControl::WndProc
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(00E06A7C) Vclcommon::C4884_0
(00E06C3E) Vclcommon::C4884_0
(0039DFF8) Vcl::Controls::TControl::Perform
(003A2819) Vcl::Controls::TWinControl::UpdateShowing
(003A292E) Vcl::Controls::TWinControl::UpdateControlState
(003A56F2) Vcl::Controls::TWinControl::CMVisibleChanged
(0039E3C2) Vcl::Controls::TControl::WndProc
(003A356D) Vcl::Controls::TWinControl::WndProc
(004A77B4) Vcl::Forms::TCustomForm::WndProc
(00E06D03) Vclcommon::C4884_0
(0039DFF8) Vcl::Controls::TControl::Perform
(0039CA26) Vcl::Controls::TControl::SetVisible
(0012A249) Execute
(000033BB) wWinMain
(00EF4E9D) __wstartup
(000672AC) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00067279) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00EF77C5)
(00EF8D9F)
(00CF831F) TSFTPFileSystem::RealPath
(00CF8C7B) TSFTPFileSystem::GetHomeDirectory
(00D0784B) TSFTPFileSystem::ReadCurrentDirectory
(00D3B111) TTerminal::ReadCurrentDirectory
(00D379FA) TTerminal::GetCurrentDirectoryW
(0002ABDC) TCustomScpExplorerForm::PathForCaption
(00061FF6) TScpCommanderForm::PathForCaption
(000CB9AE) TTerminalManager::UpdateAppTitle
(0002AD31) TCustomScpExplorerForm::UpdateControls
(0005D6A8) TScpCommanderForm%
The problem happens rarely. I cannot reproduce it.