Invalid access to memory - TTerminal::ChangeDirectory
<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 5.15.2
Error message:
Invalid access to memory.
Stack trace:
(00823302) TTerminal::ChangeDirectory
(0092709A) C5157_3
(00929102) ____ExceptionHandler
(00925EBC) __ExceptionHandler
(00083FFF) ntdll.dll
(00071931) ntdll.dll.KiUserExceptionDispatcher
(006D3616) TCustomUnixDriveView::Change
(002AEFDA) Vcl::Comctrls::TCustomTreeView::CNNotify
(0044A23D) Customdriveview::TCustomDriveView::CNNotify
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(002790AB) Vcl::Controls::_17076
(00278F45) Vcl::Controls::TWinControl::WndProc
(0027858C) Vcl::Controls::TWinControl::MainWndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(00054B61) COMCTL32.DLL
(0002493E) COMCTL32.DLL
(00024813) COMCTL32.DLL
(0001EF33) COMCTL32.DLL
(0001EEFF) COMCTL32.DLL
(00023EB0) COMCTL32.DLL
(000227D9) COMCTL32.DLL
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(00279056) Vcl::Controls::TWinControl::DefaultHandler
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(0047A973) Dragdrop::TDragDrop::WndMethod
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(002AC14D) Vcl::Comctrls::TTreeNodes::Clear
(006D28E3) TCustomUnixDriveView::SetTerminal
(006CF571) TUnixDirView::DoSetTerminal
(00006F1E) TCustomScpExplorerForm::SetTerminal
(0005392B) TScpExplorerForm::~TScpExplorerForm
(00101963) Execute
(00002664) wWinMain
(009250D1) __wstartup
(0006562B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000655F8) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00819794) TTerminal::GetExceptionOnFail
(00083FFF) ntdll.dll
(00071931) ntdll.dll.KiUserExceptionDispatcher
(008199FD) TTerminal::CommandError
(00823652) TTerminal::ChangeDirectory
(006D3616) TCustomUnixDriveView::Change
(002AEFDA) Vcl::Comctrls::TCustomTreeView::CNNotify
(0044A23D) Customdriveview::TCustomDriveView::CNNotify
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(002790AB) Vcl::Controls::_17076
(00278F45) Vcl::Controls::TWinControl::WndProc
(0027858C) Vcl::Controls::TWinControl::MainWndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(00054B61) COMCTL32.DLL
(0002493E) COMCTL32.DLL
(00024813) COMCTL32.DLL
(0001EF33) COMCTL32.DLL
(0001EEFF) COMCTL32.DLL
(00023EB0) COMCTL32.DLL
(000227D9) COMCTL32.DLL
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(00279056) Vcl::Controls::TWinControl::DefaultHandler
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(0047A973) Dragdrop::TDragDrop::WndMethod
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(002AC14D) Vcl::Comctrls::TTreeNodes::Clear
(006D28E3) TCustomUnixDriveView::SetTerminal
(006CF571) TUnixDirView::DoSetTerminal
(00006F1E) TCustomScpExplorerForm::SetTerminal
(0005392B) TScpExplorerForm::~TScpExplorerForm
(00101963) Execute
(00002664) wWinMain
(009250D1) __wstartup
(0006562B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000655F8) ntdll.dll.RtlGetAppContainerNamedObjectPath
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.15.2
Error message:
Invalid access to memory.
Stack trace:
(00823302) TTerminal::ChangeDirectory
(0092709A) C5157_3
(00929102) ____ExceptionHandler
(00925EBC) __ExceptionHandler
(00083FFF) ntdll.dll
(00071931) ntdll.dll.KiUserExceptionDispatcher
(006D3616) TCustomUnixDriveView::Change
(002AEFDA) Vcl::Comctrls::TCustomTreeView::CNNotify
(0044A23D) Customdriveview::TCustomDriveView::CNNotify
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(002790AB) Vcl::Controls::_17076
(00278F45) Vcl::Controls::TWinControl::WndProc
(0027858C) Vcl::Controls::TWinControl::MainWndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(00054B61) COMCTL32.DLL
(0002493E) COMCTL32.DLL
(00024813) COMCTL32.DLL
(0001EF33) COMCTL32.DLL
(0001EEFF) COMCTL32.DLL
(00023EB0) COMCTL32.DLL
(000227D9) COMCTL32.DLL
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(00279056) Vcl::Controls::TWinControl::DefaultHandler
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(0047A973) Dragdrop::TDragDrop::WndMethod
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(002AC14D) Vcl::Comctrls::TTreeNodes::Clear
(006D28E3) TCustomUnixDriveView::SetTerminal
(006CF571) TUnixDirView::DoSetTerminal
(00006F1E) TCustomScpExplorerForm::SetTerminal
(0005392B) TScpExplorerForm::~TScpExplorerForm
(00101963) Execute
(00002664) wWinMain
(009250D1) __wstartup
(0006562B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000655F8) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00819794) TTerminal::GetExceptionOnFail
(00083FFF) ntdll.dll
(00071931) ntdll.dll.KiUserExceptionDispatcher
(008199FD) TTerminal::CommandError
(00823652) TTerminal::ChangeDirectory
(006D3616) TCustomUnixDriveView::Change
(002AEFDA) Vcl::Comctrls::TCustomTreeView::CNNotify
(0044A23D) Customdriveview::TCustomDriveView::CNNotify
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(002790AB) Vcl::Controls::_17076
(00278F45) Vcl::Controls::TWinControl::WndProc
(0027858C) Vcl::Controls::TWinControl::MainWndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(00054B61) COMCTL32.DLL
(0002493E) COMCTL32.DLL
(00024813) COMCTL32.DLL
(0001EF33) COMCTL32.DLL
(0001EEFF) COMCTL32.DLL
(00023EB0) COMCTL32.DLL
(000227D9) COMCTL32.DLL
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(00279056) Vcl::Controls::TWinControl::DefaultHandler
(00278F45) Vcl::Controls::TWinControl::WndProc
(002AF296) Vcl::Comctrls::TCustomTreeView::WndProc
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(000357EA) USER32.dll.CallWindowProcW
(0047A973) Dragdrop::TDragDrop::WndMethod
(003A3BA8) System::Classes::_18201
(00045359) USER32.dll
(00036297) USER32.dll
(00035E35) USER32.dll
(000427ED) USER32.dll
(000718EB) ntdll.dll.KiUserCallbackDispatcher
(0003570E) USER32.dll.SendMessageW
(002AC14D) Vcl::Comctrls::TTreeNodes::Clear
(006D28E3) TCustomUnixDriveView::SetTerminal
(006CF571) TUnixDirView::DoSetTerminal
(00006F1E) TCustomScpExplorerForm::SetTerminal
(0005392B) TScpExplorerForm::~TScpExplorerForm
(00101963) Execute
(00002664) wWinMain
(009250D1) __wstartup
(0006562B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000655F8) ntdll.dll.RtlGetAppContainerNamedObjectPath
The problem happens rarely. I cannot reproduce it.