Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

table crashes Heidi when I access Data tab

jayateabug's profile image jayateabug posted 6 years ago in General Permalink
So I had been doing some database work and had disabled certain columns in my database that were unnecessary. When I reset the columns my HeidiSQL crashed, and since then whenever I try to access the Data in that table it continues to crash. This only happens in this one, other databases work fine when I access the Data field. This is the crash report I get:

date/time : 2013-08-21, 14:36:54, 507ms
computer name : ****
user name : ****
registered owner : ****.com / Hewlett-Packard
operating system : Windows NT New x64 build 9200
system language : English
system up time : 2 days 7 hours
program up time : 18 seconds
processors : 2x AMD A6-4400M APU with Radeon(tm) HD Graphics
physical memory : 5335/7650 MB (free/total)
free disk space : (C:) 702.59 GB
display mode : 1600x900, 32 bit
process id : $1a88
allocated memory : 55.76 MB
executable : heidisql.exe
exec. date/time : 2013-08-21 14:36
version :
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $db82bfa4, $fd456a4c, $fd456a4c
exception number : 1
exception class : EStringListError
exception message : List index out of bounds (-2).

main thread ($1318):
004a1164 heidisql.exe Classes TStringList.Get
00733677 heidisql.exe dbconnection 4337 +6 TDBQuery.ColAttributes
0073346e heidisql.exe dbconnection 4287 +1 TDBQuery.DataType
007f77e8 heidisql.exe Main 5001 +11 TMainForm.ValidateControls
007f610c heidisql.exe Main 4661 +176 TMainForm.DataGridBeforePaint
0062432f heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
00633109 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
0062ae53 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f389b heidisql.exe Controls TCustomControl.PaintWindow
004edff5 heidisql.exe Controls TWinControl.PaintHandler
004ee7d4 heidisql.exe Controls TWinControl.WMPaint
004f3835 heidisql.exe Controls TCustomControl.WMPaint
00621a75 heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e9578 heidisql.exe Controls TControl.WndProc
004e9e9e heidisql.exe Controls TControl.WMMouseMove
004e9578 heidisql.exe Controls TControl.WndProc
004ede3c heidisql.exe Controls TWinControl.WndProc
0062dba4 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ed4dc heidisql.exe Controls TWinControl.MainWndProc
004abb0c heidisql.exe Classes StdWndProc
77782c8f ntdll.dll KiUserCallbackDispatcher
74e38a61 USER32.dll DispatchMessageW
0057864b heidisql.exe Forms TApplication.ProcessMessage
0057868e heidisql.exe Forms TApplication.HandleMessage
005789b9 heidisql.exe Forms TApplication.Run
0081ebe2 heidisql.exe heidisql 73 +22 initialization
7755850b KERNEL32.dll BaseThreadInitThunk

This is a real bummer to progress.
Code modification/commit from ansgar.becker, 6 years ago, revision 4489
Don't know when exactly but in some cases VirtualTree.FocusedColumn seems to have the InvalidColumn (-2) index. Do not pass such negative indexes to a TStringList in TDBQuery.ColAttributes. See
ansgar's profile image ansgar posted 6 years ago Permalink
Should be fixed in r4489.

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