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

support@...

List index out of bounds (-1) - TStoredSessionList::FindSame

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

Error message:
List index out of bounds (-1)

Stapelverfolgung:
(00D8BDA2) TStoredSessionList::FindSame
(000974CF) ntdll.dll
(00077751) ntdll.dll.KiUserExceptionDispatcher
(0002E1B9) TCustomScpExplorerForm::CloseSessionTab
(002824BD) Vcl::Controls::TWinControl::WndProc
(00281B04) Vcl::Controls::TWinControl::MainWndProc
(003C9C40) System::Classes::_18201
(000313A1) USER32.dll
(000220B1) USER32.dll
(00021A22) USER32.dll.CallWindowProcW
(004A18FF) Dragdrop::TDragDrop::WndMethod
(003C9C40) System::Classes::_18201
(000313A1) USER32.dll
(000220B1) USER32.dll
(00020970) USER32.dll
(000204BB) USER32.dll.DispatchMessageW

(003ACB05) System::Classes::TList::Get
(003ACB05) System::Classes::TList::Get
(0002E1B9) TCustomScpExplorerForm::CloseSessionTab
(002824BD) Vcl::Controls::TWinControl::WndProc
(00281B04) Vcl::Controls::TWinControl::MainWndProc
(003C9C40) System::Classes::_18201
(000313A1) USER32.dll
(000220B1) USER32.dll
(00021A22) USER32.dll.CallWindowProcW
(004A18FF) Dragdrop::TDragDrop::WndMethod
(003C9C40) System::Classes::_18201
(000313A1) USER32.dll
(000220B1) USER32.dll
(00020970) USER32.dll
(000204BB) USER32.dll.DispatchMessageW

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

Invalid access to memory - TStoredSessionList::FindSame

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

Error message:
Invalid access to memory.

Stack trace:
(00D8BD76) TStoredSessionList::FindSame
(00051EDE)ntdll.dll
(000521E1)ntdll.dll
(00051D68)ntdll.dll
(000B3B42) TTerminalManager::SetActiveTerminal
(000226AC) TCustomScpExplorerForm::SessionsPageControlChange
(00282491) Vcl::Controls::TWinControl::WndProc
(0027D588) Vcl::Controls::TControl::Perform
(002825F7) Vcl::Controls::_17076
(00282491) Vcl::Controls::TWinControl::WndProc
(0023C958) Vcl::Forms::TCustomForm::WndProc

The problem happens rarely. I cannot reproduce it.
martin

Re: List index out of bounds (-1) - TStoredSessionList::FindSame

@arthur.ferrai: 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.
arthur.ferrai@...

List index out of bounds (-1) - TStoredSessionList::FindSame

It always happen when I try to close an old session and a connection error is shown. Right after the message dismiss, when I close another old session, the error appears.

WinSCP 5.21.1

Error message:
List index out of bounds (-1)

Stack trace:
(00D7FB6A) TStoredSessionList::FindSame
(0008786F) ntdll.dll
(00073EE1) ntdll.dll.KiUserExceptionDispatcher
(0002D055) TCustomScpExplorerForm::CloseSessionTab
(0027C884) Vcl::Controls::TControl::MouseDown
(0027C91C) Vcl::Controls::TControl::DoMouseDown
(0027CB01) Vcl::Controls::TControl::WMMButtonDown
(00280E1D) Vcl::Controls::TWinControl::WndProc
(00280464) Vcl::Controls::TWinControl::MainWndProc
(003C85A0) System::Classes::_18201
(000401F9) USER32.dll
(000371C5) USER32.dll
(00036892) USER32.dll
(00034A36) USER32.dll.CallWindowProcW
(004A020F) Dragdrop::TDragDrop::WndMethod
(003C85A0) System::Classes::_18201
(000401F9) USER32.dll
(000371C5) USER32.dll
(00034F25) USER32.dll
(00034CEB) USER32.dll.DispatchMessageW

(003AB465) System::Classes::TList::Get
(003AB465) System::Classes::TList::Get
(0002D055) TCustomScpExplorerForm::CloseSessionTab
(0027C884) Vcl::Controls::TControl::MouseDown
(0027C91C) Vcl::Controls::TControl::DoMouseDown
(0027CB01) Vcl::Controls::TControl::WMMButtonDown
(00280E1D) Vcl::Controls::TWinControl::WndProc
(00280464) Vcl::Controls::TWinControl::MainWndProc
(003C85A0) System::Classes::_18201
(000401F9) USER32.dll
(000371C5) USER32.dll
(00036892) USER32.dll
(00034A36) USER32.dll.CallWindowProcW
(004A020F) Dragdrop::TDragDrop::WndMethod
(003C85A0) System::Classes::_18201
(000401F9) 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.
levi_oakey@...

Invalid access to memory - TStoredSessionList::FindSame

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

Error message:
Invalid access to memory.

Stack trace:
(00D6E672) TStoredSessionList::FindSame
(000878AF) ntdll.dll
(00073EE1) ntdll.dll.KiUserExceptionDispatcher
(000B0AEA) TTerminalManager::SetActiveTerminal
(000215B4) TCustomScpExplorerForm::SessionsPageControlChange
(00280249) Vcl::Controls::TWinControl::WndProc
(0027B340) Vcl::Controls::TControl::Perform
(002803AF) Vcl::Controls::_17076
(00280249) Vcl::Controls::TWinControl::WndProc
(0023A710) Vcl::Forms::TCustomForm::WndProc

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

无效的内存访问。 - TStoredSessionList::FindSame

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

Error message:
无效的内存访问。

Stack trace:
(00D40B82) TStoredSessionList::FindSame
(0008771F) ntdll.dll
(000740A1) ntdll.dll.KiUserExceptionDispatcher
(000AC602) TTerminalManager::SetActiveTerminal
(00020F8C) TCustomScpExplorerForm::SessionsPageControlChange
(0027AD15) Vcl::Controls::TWinControl::WndProc
(00275E0C) Vcl::Controls::TControl::Perform
(0027AE7B) Vcl::Controls::_17076
(0027AD15) Vcl::Controls::TWinControl::WndProc
(002351DC) Vcl::Forms::TCustomForm::WndProc

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

Invalid access to memory - TStoredSessionList::FindSame

<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:
(00D3EFEE) TStoredSessionList::FindSame
(000861AF) ntdll.dll
(000729F1) ntdll.dll.KiUserExceptionDispatcher
(000AC486) TTerminalManager::SetActiveTerminal
(00020F78) TCustomScpExplorerForm::SessionsPageControlChange
(00279F45) Vcl::Controls::TWinControl::WndProc
(0027503C) Vcl::Controls::TControl::Perform
(0027A0AB) Vcl::Controls::_17076
(00279F45) Vcl::Controls::TWinControl::WndProc
(0023440C) Vcl::Forms::TCustomForm::WndProc

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

Invalid access to memory - TStoredSessionList::FindSame

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

Error message:
Invalid access to memory.

Stack trace:
(00D3E8BE) TStoredSessionList::FindSame
(00087E3F) ntdll.dll
(000732D1) ntdll.dll.KiUserExceptionDispatcher
(000AC3A6) TTerminalManager::SetActiveTerminal
(00020F48) TCustomScpExplorerForm::SessionsPageControlChange
(00279E65) Vcl::Controls::TWinControl::WndProc
(00274F5C) Vcl::Controls::TControl::Perform
(00279FCB) Vcl::Controls::_17076
(00279E65) Vcl::Controls::TWinControl::WndProc
(0023432C) Vcl::Forms::TCustomForm::WndProc

The problem happens rarely. I cannot reproduce it.
dedy.koeswara.i@...

Invalid access to memory - TStoredSessionList::FindSame

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

Error message:
Invalid access to memory.

Stack trace:
(007C9A4A) TStoredSessionList::FindSame
(0007E19F) ntdll.dll
(0006BD81) ntdll.dll.KiUserExceptionDispatcher
(0002B426) TCustomScpExplorerForm::CloseSessionTab
(0027919D) Vcl::Controls::TWinControl::WndProc
(002787E4) Vcl::Controls::TWinControl::MainWndProc
(003A3E00) System::Classes::_18201
(0003AF19) USER32.dll
(000373E5) USER32.dll
(00016AF8) USER32.dll.CallWindowProcW
(0047ADD7) Dragdrop::TDragDrop::WndMethod
(003A3E00) System::Classes::_18201
(0003AF19) USER32.dll
(000373E5) USER32.dll
(00036C99) USER32.dll
(00036A7B) USER32.dll.DispatchMessageW

The problem happens rarely. I cannot reproduce it.
Matthew.Petlock@...

Invalid access to memory - TStoredSessionList::FindSame

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

Error message:
Invalid access to memory.

Stack trace:
(007252A2) TStoredSessionList::FindSame
(0005A5DA) ntdll.dll
(0000F12E) ntdll.dll.KiUserExceptionDispatcher
(0008B8F6) TTerminalManager::SetActiveTerminal
(0001BE5C) TCustomScpExplorerForm::SessionsPageControlChange
(0024EC29) Vcl::Controls::TWinControl::WndProc
(00249D20) Vcl::Controls::TControl::Perform
(0024ED8F) Vcl::Controls::_17076
(0024EC29) Vcl::Controls::TWinControl::WndProc
(002090D8) Vcl::Forms::TCustomForm::WndProc
(008094EC) Vclcommon::C2754_0
(0024E270) Vcl::Controls::TWinControl::MainWndProc
(00372BEC) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(00015DE3) USER32.dll
(00015E41) USER32.dll
(0000F107) ntdll.dll.KiUserCallbackDispatcher
(000186C0) USER32.dll.SendMessageW
(0002B057) COMCTL32.DLL
(00022647) COMCTL32.DLL
(000474E5) COMCTL32.DLL
(000477DF) COMCTL32.DLL
(00047189) COMCTL32.DLL
(000152F7) USER32.dll
(00015D35) USER32.dll
(0001FD22) USER32.dll
(0001FD48) USER32.dll.CallWindowProcW
(0024ED3A) Vcl::Controls::TWinControl::DefaultHandler
(0024EC29) Vcl::Controls::TWinControl::WndProc
(0024E270) Vcl::Controls::TWinControl::MainWndProc
(00372BEC) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(0001FD22) USER32.dll
(0001FD48) USER32.dll.CallWindowProcW
(0042C32F) Dragdrop::TDragDrop::WndMethod
(00372BEC) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll%0

The problem happens rarely. I cannot reproduce it.