ERROR when deleting query tab

[expired user #5249]'s profile image [expired user #5249] posted 14 years ago in General Permalink
its me again :D
this time no bugs, but errorswink(though not so critical)

reproduction:
select some table in the tree, add a new query tab, select the table's data tab and close the new query tab by using its [X]-button. this error only occurs when you select a table's data tab and try to close an added query tab (doesn't occur with initial query tab) via its [X]-button (do not preselect it).

date/time : 2010-11-25, 23:32:07, 75ms
computer name : xxxxx
user name : xxxxx <admin>
registered owner : Microsoft / Microsoft
operating system : Windows 7 x64 build 7600
system language : German
system up time : 5 hours 33 minutes
program up time : 1 minute 6 seconds
processors : 2x Pentium(R) Dual-Core CPU T4500 @ 2.30GHz
physical memory : 2714/4094 MB (free/total)
free disk space : (C:) 117,54 GB
display mode : 1920x1080, 32 bit
process id : $7fc
allocated memory : 51,01 MB
executable : heidisql.exe
exec. date/time : 2010-11-25 23:23
version : 6.0.0.3612
compiled with : Delphi 2010
madExcept version : 3.0k
callstack crc : $9747de39, $4fd9f30c, $4fd9f30c
exception number : 2
exception class : EListError
exception message : List index out of bounds (-1).

main thread ($e90):
0048c809 heidisql.exe Classes TList.Get
004fd9aa heidisql.exe ComCtrls TPageControl.GetPage
006d970a heidisql.exe Main 9092 +14 TMainForm.SetTabCaption
006c95fb heidisql.exe Main 4413 +23 TMainForm.ValidateQueryControls
006c9369 heidisql.exe Main 4378 +40 TMainForm.ValidateControls
005408a9 heidisql.exe Controls TWinControl.DoExit
005414bd heidisql.exe Controls TWinControl.CMExit
0053ac48 heidisql.exe Controls TControl.WndProc
0053f510 heidisql.exe Controls TWinControl.WndProc
00625518 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
0053ebb0 heidisql.exe Controls TWinControl.MainWndProc
0049a5dc heidisql.exe Classes StdWndProc
7677cd7c USER32.dll SendMessageW
0055ef24 heidisql.exe Forms SendFocusMessage
005647a2 heidisql.exe Forms TCustomForm.SetFocusedControl
0053f114 heidisql.exe Controls TWinControl.WndProc
0053ebb0 heidisql.exe Controls TWinControl.MainWndProc
0049a5dc heidisql.exe Classes StdWndProc
772f00e3 ntdll.dll KiUserCallbackDispatcher
00564911 heidisql.exe Forms TCustomForm.SetWindowFocus
00564516 heidisql.exe Forms TCustomForm.SetActiveControl
004fd651 heidisql.exe ComCtrls TPageControl.ChangeActivePage
004fdb8a heidisql.exe ComCtrls TPageControl.SetActivePage
004fdafc heidisql.exe ComCtrls TPageControl.RemovePage
004fcea1 heidisql.exe ComCtrls TTabSheet.Destroy
00405528 heidisql.exe System 548 +0 TObject.Free
006d8920 heidisql.exe Main 8724 +12 TMainForm.CloseQueryTab
006d8f7e heidisql.exe Main 8855 +9 TMainForm.CloseButtonOnMouseUp
0053b5a4 heidisql.exe Controls TControl.MouseUp
005aecb2 heidisql.exe Buttons 2755 +0 TSpeedButton.MouseUp
0053b5e8 heidisql.exe Controls TControl.DoMouseUp
0053b664 heidisql.exe Controls TControl.WMLButtonUp
0053ac48 heidisql.exe Controls TControl.WndProc
0053a86c heidisql.exe Controls TControl.Perform
0049a5dc heidisql.exe Classes StdWndProc
0053a86c heidisql.exe Controls TControl.Perform
0053ee3c heidisql.exe Controls TWinControl.IsControlMouseMsg
0053f38c heidisql.exe Controls TWinControl.WndProc
0053ebb0 heidisql.exe Controls TWinControl.MainWndProc
0049a5dc heidisql.exe Classes StdWndProc
76777df5 USER32.dll DispatchMessageW
0056b311 heidisql.exe Forms TApplication.ProcessMessage
0056b356 heidisql.exe Forms TApplication.HandleMessage
0056b681 heidisql.exe Forms TApplication.Run
007a573a heidisql.exe heidisql 66 +15 initialization
76bc3675 kernel32.dll BaseThreadInitThunk
Code modification/commit 9e88036 from ansgar.becker, 14 years ago, revision 6.0.0.3613
Closing a query tab when data tab is open leads to passing page index -1. Avoid AVs in that case. See http://www.heidisql.com/forum.php?t=7038
ansgar's profile image ansgar posted 14 years ago Permalink
Fixed in r3613
[expired user #5249]'s profile image [expired user #5249] posted 14 years ago Permalink
good workwink

Please login to leave a reply, or register at first.