Post a reply

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)


Topic review


Re: List index out of bounds (0)

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

List index out of bounds (0)

I close a tab by right clic + disconnect, winscp switch to tab with an already connection and show the error.
Maybe the problem appear when session log window is open.

option logging
- Enable session logging on level normal
- log to file %TEMP%\!S.log append
- show log window : display complete session

WinSCP 5.7.3

Error message:
List index out of bounds (0)

Stack trace:
(00322D95) System::Classes::TList::Get
(00322D95) System::Classes::TList::Get
(0060FE5B) TLogMemo::ReloadFromLog
(0060F83D) TLogMemo::SetSessionLog
(0007667E) TTerminalManager::SetActiveTerminal
(00075C2B) TTerminalManager::FreeActiveTerminal
(00381EE0) System::Actions::TContainedActionList::ExecuteAction
(00169A41) Vcl::Actnlist::TCustomAction::Execute
(0033FE18) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW