Invalid access to memory - Pathlabel::TCustomPathLabel::DoDrawTextIntern
<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.19.5
Error message:
Invalid access to memory.
Stack trace:
(0045E97B) Pathlabel::TCustomPathLabel::DoDrawTextIntern
(00087AFF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(0045EF73) Pathlabel::TCustomPathLabel::AdjustBounds
(001E36D0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(0027B4D8) Vcl::Controls::TControl::Perform
(00279331) Vcl::Controls::TControl::SetTextBuf
(00468444) Customdirview::TCustomDirView::UpdatePathLabelCaption
(004684AD) Customdirview::TCustomDirView::UpdatePathLabel
(003B82D0) System::Classes::TReader::ReadData
(003C5F71) System::Classes::TComponent::ReadState
(00239885) Vcl::Forms::TCustomForm::ReadState
(003B92A3) System::Classes::TReader::ReadRootComponent
(003B316E) System::Classes::TStream::ReadComponent
(003A8BB3) System::Classes::_17089
(003AA507) System::Classes::_17116
(003AA595) System::Classes::InitInheritedComponent
(0023907E) Vcl::Forms::TCustomForm::TCustomForm
(000045CE) Vcl::Forms::TForm::TForm
(00003B0D) TCustomScpExplorerForm::TCustomScpExplorerForm
(0004FBF2) TScpCommanderForm::TScpCommanderForm
(0024402E) Vcl::Forms::TApplication::CreateForm
(00E82197) _SafeFormCreate
(00002658) wWinMain
(00FC2495) C5162_0
(00066B5C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B29) ntdll.dll.RtlGetAppContainerNamedObjectPath
(0045E97B) Pathlabel::TCustomPathLabel::DoDrawTextIntern
(00087AFF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(0045EF73) Pathlabel::TCustomPathLabel::AdjustBounds
(001E36D0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(0027B4D8) Vcl::Controls::TControl::Perform
(00279331) Vcl::Controls::TControl::SetTextBuf
(00468444) Customdirview::TCustomDirView::UpdatePathLabelCaption
(004684AD) Customdirview::TCustomDirView::UpdatePathLabel
(003B82D0) System::Classes::TReader::ReadData
(003C5F71) System::Classes::TComponent::ReadState
(00239885) Vcl::Forms::TCustomForm::ReadState
(003B92A3) System::Classes::TReader::ReadRootComponent
(003B316E) System::Classes::TStream::ReadComponent
(003A8BB3) System::Classes::_17089
(003AA507) System::Classes::_17116
(003AA595) System::Classes::InitInheritedComponent
(0023907E) Vcl::Forms::TCustomForm::TCustomForm
(000045CE) Vcl::Forms::TForm::TForm
(00003B0D) TCustomScpExplorerForm::TCustomScpExplorerForm
(0004FBF2) TScpCommanderForm::TScpCommanderForm
(0024402E) Vcl::Forms::TApplication::CreateForm
(00E82197) _SafeFormCreate
(00002658) wWinMain
(00FC2495) C5162_0
(00066B5C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B29) ntdll.dll.RtlGetAppContainerNamedObjectPath
(0045E97B) Pathlabel::TCustomPathLabel::DoDrawTextIntern
(00FC4482) C5294_3
(00FC64EA) ____ExceptionHandler
(00FC32A4) __ExceptionHandler
(00087AFF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(0045EF73) Pathlabel::TCustomPathLabel::AdjustBounds
(001E36D0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(0027B4D8) Vcl::Controls::TControl::Perform
The problem happens rarely. I cannot reproduce it.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.19.5
Error message:
Invalid access to memory.
Stack trace:
(0045E97B) Pathlabel::TCustomPathLabel::DoDrawTextIntern
(00087AFF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(0045EF73) Pathlabel::TCustomPathLabel::AdjustBounds
(001E36D0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(0027B4D8) Vcl::Controls::TControl::Perform
(00279331) Vcl::Controls::TControl::SetTextBuf
(00468444) Customdirview::TCustomDirView::UpdatePathLabelCaption
(004684AD) Customdirview::TCustomDirView::UpdatePathLabel
(003B82D0) System::Classes::TReader::ReadData
(003C5F71) System::Classes::TComponent::ReadState
(00239885) Vcl::Forms::TCustomForm::ReadState
(003B92A3) System::Classes::TReader::ReadRootComponent
(003B316E) System::Classes::TStream::ReadComponent
(003A8BB3) System::Classes::_17089
(003AA507) System::Classes::_17116
(003AA595) System::Classes::InitInheritedComponent
(0023907E) Vcl::Forms::TCustomForm::TCustomForm
(000045CE) Vcl::Forms::TForm::TForm
(00003B0D) TCustomScpExplorerForm::TCustomScpExplorerForm
(0004FBF2) TScpCommanderForm::TScpCommanderForm
(0024402E) Vcl::Forms::TApplication::CreateForm
(00E82197) _SafeFormCreate
(00002658) wWinMain
(00FC2495) C5162_0
(00066B5C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B29) ntdll.dll.RtlGetAppContainerNamedObjectPath
(0045E97B) Pathlabel::TCustomPathLabel::DoDrawTextIntern
(00087AFF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(0045EF73) Pathlabel::TCustomPathLabel::AdjustBounds
(001E36D0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(0027B4D8) Vcl::Controls::TControl::Perform
(00279331) Vcl::Controls::TControl::SetTextBuf
(00468444) Customdirview::TCustomDirView::UpdatePathLabelCaption
(004684AD) Customdirview::TCustomDirView::UpdatePathLabel
(003B82D0) System::Classes::TReader::ReadData
(003C5F71) System::Classes::TComponent::ReadState
(00239885) Vcl::Forms::TCustomForm::ReadState
(003B92A3) System::Classes::TReader::ReadRootComponent
(003B316E) System::Classes::TStream::ReadComponent
(003A8BB3) System::Classes::_17089
(003AA507) System::Classes::_17116
(003AA595) System::Classes::InitInheritedComponent
(0023907E) Vcl::Forms::TCustomForm::TCustomForm
(000045CE) Vcl::Forms::TForm::TForm
(00003B0D) TCustomScpExplorerForm::TCustomScpExplorerForm
(0004FBF2) TScpCommanderForm::TScpCommanderForm
(0024402E) Vcl::Forms::TApplication::CreateForm
(00E82197) _SafeFormCreate
(00002658) wWinMain
(00FC2495) C5162_0
(00066B5C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B29) ntdll.dll.RtlGetAppContainerNamedObjectPath
(0045E97B) Pathlabel::TCustomPathLabel::DoDrawTextIntern
(00FC4482) C5294_3
(00FC64EA) ____ExceptionHandler
(00FC32A4) __ExceptionHandler
(00087AFF) ntdll.dll
(00073FA1) ntdll.dll.KiUserExceptionDispatcher
(0045EF73) Pathlabel::TCustomPathLabel::AdjustBounds
(001E36D0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(0027B4D8) Vcl::Controls::TControl::Perform
The problem happens rarely. I cannot reproduce it.