List index out of bounds (-1) - _winscp_query
I had WinSCP open for a few hours without using it. This error happened when I tried to close a tab (I had two tabs open). It appeared unresponsive for a few minutes, then threw this error.
WinSCP 6.5.3
Error message:
List index out of bounds (-1)
Stack trace:
(00B8A6A5) _winscp_query
(000B140F) ntdll.dll
(0007ADEA) ntdll.dll.KiUserExceptionDispatcher
(00C9BE2D) TSecureShell::EventSelectLoop
(00C9A768) TSecureShell::Close
(00CF023B) TSFTPFileSystem::Close
(000CA2D3) TTerminalManager::FreeActiveTerminal
(00BB13CE) TThemePageControl::Dispatch
(003A3455) Vcl::Controls::TWinControl::WndProc
(003A2960) Vcl::Controls::TWinControl::MainWndProc
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026775) USER32.dll.CallWindowProcW
(0053941F) Dragdrop::TDragDrop::WndMethod
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026495) USER32.dll
(00025FFB) USER32.dll.DispatchMessageW
(001EACDB) System::Classes::TList::Get
(001EACDB) System::Classes::TList::Get
(000CA2D3) TTerminalManager::FreeActiveTerminal
(00BB13CE) TThemePageControl::Dispatch
(003A3455) Vcl::Controls::TWinControl::WndProc
(003A2960) Vcl::Controls::TWinControl::MainWndProc
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026775) USER32.dll.CallWindowProcW
(0053941F) Dragdrop::TDragDrop::WndMethod
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026495) USER32.dll
(00025FFB) USER32.dll.DispatchMessageW
The problem happens rarely. I cannot reproduce it.
WinSCP 6.5.3
Error message:
List index out of bounds (-1)
Stack trace:
(00B8A6A5) _winscp_query
(000B140F) ntdll.dll
(0007ADEA) ntdll.dll.KiUserExceptionDispatcher
(00C9BE2D) TSecureShell::EventSelectLoop
(00C9A768) TSecureShell::Close
(00CF023B) TSFTPFileSystem::Close
(000CA2D3) TTerminalManager::FreeActiveTerminal
(00BB13CE) TThemePageControl::Dispatch
(003A3455) Vcl::Controls::TWinControl::WndProc
(003A2960) Vcl::Controls::TWinControl::MainWndProc
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026775) USER32.dll.CallWindowProcW
(0053941F) Dragdrop::TDragDrop::WndMethod
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026495) USER32.dll
(00025FFB) USER32.dll.DispatchMessageW
(001EACDB) System::Classes::TList::Get
(001EACDB) System::Classes::TList::Get
(000CA2D3) TTerminalManager::FreeActiveTerminal
(00BB13CE) TThemePageControl::Dispatch
(003A3455) Vcl::Controls::TWinControl::WndProc
(003A2960) Vcl::Controls::TWinControl::MainWndProc
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026775) USER32.dll.CallWindowProcW
(0053941F) Dragdrop::TDragDrop::WndMethod
(00204B78) System::Classes::_18364
(00038E91) USER32.dll
(00027008) USER32.dll
(00026495) USER32.dll
(00025FFB) USER32.dll.DispatchMessageW
The problem happens rarely. I cannot reproduce it.