Invalid access to memory - DefaultResult
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
This bug is reproducible but I do not need help resolving it, this is just FYI. This is a pretty weird case, and it just results from accidentally using the program the "wrong" (but possible) way. This usage occurred on Windows 11.
Open WinSCP, no need to connect to remote site.
Open Options -> Preferences -> "Transfer" list item-> [select a preset; I selected Default] -> Edit.
Check "Set permissions:" so the octal settings becomes enabled
Click the "..." button on the octal settings group to open the visual checkbox editor.
Make any change in the popup*, but don't click "Close", just go around and click the "X" on the "Transfer Settings" window.
"Error Invalid access to memory"
* It appears not to cause error if you just open the permissions editor and then click the parent window's X without changing any settings, but it also did error when I simply clicked one permission checkbox, and then set it back the way it was, and then clicked the parent window's X.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 6.5.5
Error message:
Invalid access to memory.
Stack trace:
(00E0B25B) DefaultResult
(000B332F) ntdll.dll
(0007A56A) ntdll.dll.KiUserExceptionDispatcher
(004ACD27) Vcl::Forms::TCustomForm::ShowModal
(00D752AB) TCopyParamCustomDialog::Execute
(00D75127) DoCopyParamCustomDialog
(00DCEE54) TPreferencesDialog::AddEditCopyParam
(00DCEF5D) TPreferencesDialog::EditCopyParamButtonClick
(003A356D) Vcl::Controls::TWinControl::WndProc
(003C7B74) Vcl::Stdctrls::TButtonControl::WndProc
(003A36C7) Vcl::Controls::_17122
(003A356D) Vcl::Controls::TWinControl::WndProc
(003A2A78) Vcl::Controls::TWinControl::MainWndProc
(00204C90) System::Classes::_18364
(00038991) USER32.dll
(00026AE8) USER32.dll
(0002658B) USER32.dll
(00032DF7) USER32.dll
(0007A544) ntdll.dll.KiUserCallbackDispatcher
(0003FFC3) USER32.dll
(000262B1) USER32.dll.SendMessageW
(00073DE1) COMCTL32.DLL
(000893F7) COMCTL32.DLL
(00038991) USER32.dll
(00026AE8) USER32.dll
(00026255) USER32.dll.CallWindowProcW
(003A3675) Vcl::Controls::TWinControl::DefaultHandler
(003A356D) Vcl::Controls::TWinControl::WndProc
(003C7B74) Vcl::Stdctrls::TButtonControl::WndProc
(00204C90) System::Classes::_18364
(00038991) USER32.dll
(00026AE8) USER32.dll
(00025F75) USER32.dll
(00025ADB) 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.
This bug is reproducible but I do not need help resolving it, this is just FYI. This is a pretty weird case, and it just results from accidentally using the program the "wrong" (but possible) way. This usage occurred on Windows 11.
Open WinSCP, no need to connect to remote site.
Open Options -> Preferences -> "Transfer" list item-> [select a preset; I selected Default] -> Edit.
Check "Set permissions:" so the octal settings becomes enabled
Click the "..." button on the octal settings group to open the visual checkbox editor.
Make any change in the popup*, but don't click "Close", just go around and click the "X" on the "Transfer Settings" window.
"Error Invalid access to memory"
* It appears not to cause error if you just open the permissions editor and then click the parent window's X without changing any settings, but it also did error when I simply clicked one permission checkbox, and then set it back the way it was, and then clicked the parent window's X.
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 6.5.5
Error message:
Invalid access to memory.
Stack trace:
(00E0B25B) DefaultResult
(000B332F) ntdll.dll
(0007A56A) ntdll.dll.KiUserExceptionDispatcher
(004ACD27) Vcl::Forms::TCustomForm::ShowModal
(00D752AB) TCopyParamCustomDialog::Execute
(00D75127) DoCopyParamCustomDialog
(00DCEE54) TPreferencesDialog::AddEditCopyParam
(00DCEF5D) TPreferencesDialog::EditCopyParamButtonClick
(003A356D) Vcl::Controls::TWinControl::WndProc
(003C7B74) Vcl::Stdctrls::TButtonControl::WndProc
(003A36C7) Vcl::Controls::_17122
(003A356D) Vcl::Controls::TWinControl::WndProc
(003A2A78) Vcl::Controls::TWinControl::MainWndProc
(00204C90) System::Classes::_18364
(00038991) USER32.dll
(00026AE8) USER32.dll
(0002658B) USER32.dll
(00032DF7) USER32.dll
(0007A544) ntdll.dll.KiUserCallbackDispatcher
(0003FFC3) USER32.dll
(000262B1) USER32.dll.SendMessageW
(00073DE1) COMCTL32.DLL
(000893F7) COMCTL32.DLL
(00038991) USER32.dll
(00026AE8) USER32.dll
(00026255) USER32.dll.CallWindowProcW
(003A3675) Vcl::Controls::TWinControl::DefaultHandler
(003A356D) Vcl::Controls::TWinControl::WndProc
(003C7B74) Vcl::Stdctrls::TButtonControl::WndProc
(00204C90) System::Classes::_18364
(00038991) USER32.dll
(00026AE8) USER32.dll
(00025F75) USER32.dll
(00025ADB) 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.