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.

Crash when cancel editing

Program4fun's profile image Program4fun posted 5 years ago in General Permalink
During added a new index to a table it crashes if ESC-key is pressed to abort a change of the key column.

I can reproduce it as following:
- I start HeidiSQL fresh to localhost
- select a table from a database
- Right click on a column
- Add the column as new index
=> Tab is changed to index-page, the new index (type key) is shown
- left-click on the subitem's name (column-name)
=> It enters the editmode to change the name
- Press ESC-key
=> Crash!

date/time : 2014-10-31, 13:41:17, 727ms
registered owner : kirchner 2
operating system : Windows 7 x64 Service Pack 1 build 7601
system language : German
system up time : 5 hours 30 minutes
program up time : 1 minute 3 seconds
processors : 8x Intel(R) Xeon(R) CPU E31240 @ 3.30GHz
physical memory : 4319/8131 MB (free/total)
free disk space : (C:) 395,70 GB
display mode : 1680x1050, 32 bit
process id : $164c
allocated memory : 67,10 MB
largest free block : 8185,68 GB
command line : "C:\Program Files\HeidiSQL\heidisql.exe" -d="localhost"
executable : heidisql.exe
exec. date/time : 2014-09-22 10:27
version :
compiled with : Delphi XE5
madExcept version :
callstack crc : $41cc7730, $e78e4848, $e78e4848
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00000000005E4C7B in module 'heidisql.exe'. Read of address 0000000000000000.

main thread ($1f1c):
005e4c7b heidisql.exe System.Classes {System.Generics.Collections}TDictionary<System.Integer,System.Classes.IInterfaceList>.Hash
005e5b8f heidisql.exe System.Classes {System.Generics.Collections}TDictionary<System.Integer,System.Classes.IInterfaceList>.TryGetValue
005dc3d2 heidisql.exe System.Classes TObservers.IsObserving
006c9399 heidisql.exe Vcl.StdCtrls TCustomComboBox.KeyDown
0069d60b heidisql.exe Vcl.Controls TWinControl.DoKeyDown
006c7c5c heidisql.exe Vcl.StdCtrls TCustomCombo.ComboWndProc
006ca4cf heidisql.exe Vcl.StdCtrls TCustomComboBox.ComboWndProc
006c78ad heidisql.exe Vcl.StdCtrls TCustomCombo.EditWndProc
005da693 heidisql.exe System.Classes StdWndProc
771f98d5 USER32.dll DispatchMessageW
00812f6f heidisql.exe Vcl.Forms TApplication.ProcessMessage
00812fe3 heidisql.exe Vcl.Forms TApplication.HandleMessage
008134cf heidisql.exe Vcl.Forms TApplication.Run
00c524f7 heidisql.exe heidisql 77 +24 initialization
76bf59eb kernel32.dll BaseThreadInitThunk

ansgar's profile image ansgar posted 5 years ago Permalink
Fixed in r4948
Program4fun's profile image Program4fun posted 5 years ago Permalink
I have tested it with r4948 and it works!

You did a great job!
Thank you for this very useful tool!


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