Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Invalid access to memory - TUnixDirView::ItemIsDirectory

@mr_lalley: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
mr_lalley@...

Invalid access to memory - TUnixDirView::ItemIsDirectory

<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.1.2

Error message:
Invalid access to memory.

Stack trace:
(00C91BA0) TUnixDirView::ItemIsDirectory
(00087A7F) ntdll.dll
(000740D1) ntdll.dll.KiUserExceptionDispatcher
(0001D73E) TCustomScpExplorerForm::DoDirViewExecFile
(0001D5AA) TCustomScpExplorerForm::DirViewExecFile
(0047BF85) Customdirview::TCustomDirView::DoExecFile
(00479922) Customdirview::TCustomDirView::DoExecute
(0047A531) Customdirview::TCustomDirView::WMLButtonDblClk
(003F6B91) Vcl::Controls::TWinControl::WndProc
(00439E6B) Vcl::Comctrls::TCustomListView::WndProc
(0021564C) System::Classes::_18201
(00040209) USER32.dll
(000371C5) USER32.dll
(00036892) USER32.dll
(00034A36) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00040209) USER32.dll
(000371C5) USER32.dll
(00036892) USER32.dll
(00034A36) USER32.dll.CallWindowProcW
(004B0563) Dragdrop::TDragDrop::WndMethod
(0021564C) System::Classes::_18201
(00040209) USER32.dll
(000371C5) USER32.dll
(00034F25) USER32.dll
(00034CEB) 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.
martin

Re: Invalid access to memory - TUnixDirView::ItemIsDirectory

@ecorreia: I have added this issue to the tracker:
https://winscp.net/tracker/2016
martin

Re: Invalid access to memory - TUnixDirView::ItemIsDirectory

@ecorreia: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
ecorreia@...

Invalid access to memory - TUnixDirView::ItemIsDirectory

I wrote an FTP server that I can send "fake" filenames including '/' as a valid char for filename.

WinSCP lists the file, but when i double click one file gives this memory access error.

Probably in the parser code fr the filename.. or for saving the temporary file...

WinSCP 5.19.2

Error message:
Invalid access to memory.

Stack trace:
(00C6631C) TUnixDirView::ItemIsDirectory
(0006248E) ntdll.dll
(0000F15E) ntdll.dll.KiUserExceptionDispatcher
(0001ACFC) TCustomScpExplorerForm::DoDirViewExecFile
(0001AB6A) TCustomScpExplorerForm::DirViewExecFile
(0046A031) Customdirview::TCustomDirView::DoExecFile
(00467A0A) Customdirview::TCustomDirView::DoExecute
(00468609) Customdirview::TCustomDirView::WMLButtonDblClk
(00280255) Vcl::Controls::TWinControl::WndProc
(002C352F) Vcl::Comctrls::TCustomListView::WndProc
(003C79D8) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(0001FD3A) USER32.dll
(0001FD60) USER32.dll.CallWindowProcW
(0049E5DF) Dragdrop::TDragDrop::WndMethod
(003C79D8) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) 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.
tomasz.wlaczuk@...

Nieprawidłowy dostęp do pamięci - TUnixDirView::ItemIsDirectory

<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.17.7

Error message:
Nieprawidłowy dostęp do pamięci.

Stack trace:
(00C3BB18) TUnixDirView::ItemIsDirectory
(00087E3F) ntdll.dll
(000732D1) ntdll.dll.KiUserExceptionDispatcher

The problem happens rarely. I cannot reproduce it.
takase1121@...

Invalid access to memory - TUnixDirView::ItemIsDirectory

<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.17.7

Error message:
Invalid access to memory.

Stack trace:
(00C3BB18) TUnixDirView::ItemIsDirectory
(000861AF) ntdll.dll
(000729E1) ntdll.dll.KiUserExceptionDispatcher
(0001A72A) TCustomScpExplorerForm::DoDirViewExecFile
(0001A576) TCustomScpExplorerForm::DirViewExecFile
(004472ED) Customdirview::TCustomDirView::DoExecFile
(00444CC2) Customdirview::TCustomDirView::DoExecute
(004458C1) Customdirview::TCustomDirView::WMLButtonDblClk
(00279F45) Vcl::Controls::TWinControl::WndProc
(002BD21F) Vcl::Comctrls::TCustomListView::WndProc
(003A4BA8) System::Classes::_18201
(0003C9C9) USER32.dll
(000336E5) USER32.dll
(00032DC2) USER32.dll
(00031526) USER32.dll.CallWindowProcW
(000796C7) COMCTL32.DLL
(00079766) COMCTL32.DLL
(0007951C) COMCTL32.DLL
(0003C9C9) USER32.dll
(000336E5) USER32.dll
(00032DC2) USER32.dll
(00031526) USER32.dll.CallWindowProcW
(0047BF0F) Dragdrop::TDragDrop::WndMethod
(003A4BA8) System::Classes::_18201
(0003C9C9) USER32.dll
(000336E5) USER32.dll
(00031A15) USER32.dll
(000317DB) USER32.dll.DispatchMessageW

The problem happens rarely. I cannot reproduce it.
afaninthehouse@...

Invalid access to memory - TUnixDirView::ItemIsDirectory

<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.9

Error message:
Invalid access to memory.

Stack trace:
(006CF65C) TUnixDirView::ItemIsDirectory
(0003EF0E) ntdll.dll.ZwWow64CallFunction64
(0003F68A) ntdll.dll.KiUserExceptionDispatcher
(0004220A) TNonVisualDataModule::ExplorerActionsExecute
(003E78A0) System::Actions::TContainedActionList::ExecuteAction

The problem happens rarely. I cannot reproduce it.
suporte@...

Acesso inválido à memória - TUnixDirView::ItemIsDirectory

<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.13.8

Error message:
Acesso inválido à memória

Rastreamento de pilha:
(0067B43C) TUnixDirView::ItemIsDirectory
(0007E19F) ntdll.dll
(0006BD81) ntdll.dll.KiUserExceptionDispatcher

The problem happens rarely. I cannot reproduce it.
staticxxx@...

Ошибка доступа к памяти - TUnixDirView::ItemIsDirectory

<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.7.7

Error message:
Ошибка доступа к памяти.

Трассировка стека:
(00614738) TUnixDirView::ItemIsDirectory
(00062496) ntdll.dll
(0000F13E) ntdll.dll.KiUserExceptionDispatcher
(00031C16) TNonVisualDataModule::ExplorerActionsExecute
(00382614) System::Actions::TContainedActionList::ExecuteAction
(0016A155) Vcl::Actnlist::TCustomAction::Execute

The problem happens rarely. I cannot reproduce it.
abhinavblr@...

Invalid access to memory - TUnixDirView::ItemIsDirectory

Attempt to open a sub-folder threw the error - It appears a bad file name is causing the issue

such as "/ABC112345_xxxxxx-xxxxxx_xxxxxx/ABCD/ABCD_20160224_1040.csv" folder name is included in the file name as well

WinSCP 5.7.4

Error message:
Invalid access to memory.

Stack trace:
(0061318C) TUnixDirView::ItemIsDirectory
(00041BFE) ntdll.dll.RtlRaiseStatus
(00041A86) ntdll.dll.KiUserExceptionDispatcher
(00016111) TCustomScpExplorerForm::DoDirViewExecFile
(00015FE6) TCustomScpExplorerForm::DirViewExecFile
(003D98D8) Customdirview::TCustomDirView::Execute
(0021C069) Vcl::Controls::TWinControl::WndProc
(0025FF97) Vcl::Comctrls::TCustomListView::WndProc
(0033FF8C) System::Classes::_18201
(000068E5) USER32.DLL
(00006A47) USER32.DLL
(0000E95A) USER32.DLL
(0000E982) USER32.DLL.CallWindowProcW
(0007CFAD) COMCTL32.DLL
(0007CF40) COMCTL32.DLL
(0007D0B3) COMCTL32.DLL
(0007CF40) COMCTL32.DLL
(0007CE15) COMCTL32.DLL
(000068E5) USER32.DLL
(00006A47) USER32.DLL
(0000E95A) USER32.DLL
(0000E982) USER32.DLL.CallWindowProcW
(003FEBB3) Dragdrop::TDragDrop::WndMethod
(0033FF8C) System::Classes::_18201
(000068E5) USER32.DLL
(00006A47) USER32.DLL
(00007D07) USER32.DLL
(000082EE) USER32.DLL.DispatchMessageW

The problem happens rarely. I cannot reproduce it.