Crash when trying to export

lemon_juice's profile image lemon_juice posted 10 years ago in General Permalink
The following error happened to me today:

date/time          : 2014-04-09, 01:50:01, 475ms
computer name      : X-PC
user name          : X
registered owner   : X
operating system   : Windows 7 Service Pack 1 build 7601
system language    : Polish
system up time     : 5 hours 32 minutes
program up time    : 5 hours 15 minutes
processors         : 2x AMD Athlon(tm) II X2 270 Processor
physical memory    : 800/3071 MB (free/total)
free disk space    : (C:) 36,19 GB
display mode       : 1680x1050, 32 bit
process id         : $ac0
allocated memory   : 1000,43 MB
largest free block : 598,59 MB
command line       : "C:\Program Files\HeidiSQL\heidisql.exe" -d="localhost"
executable         : heidisql.exe
exec. date/time    : 2014-03-21 10:43
version            : 8.3.0.4735
compiled with      : Delphi XE5
madExcept version  : 4.0.8.1
callstack crc      : $d522dc1c, $6fef1c65, $6fef1c65
exception number   : 1
exception class    : EOutOfMemory
exception message  : Out of memory.
main thread ($e10):
0040c85d heidisql.exe System          549 +0 DynArraySetLength
0040c989 heidisql.exe System          549 +0 @DynArraySetLength
00520e46 heidisql.exe System.Classes         TList.SetCapacity
00520bc7 heidisql.exe System.Classes         TList.Grow
00520997 heidisql.exe System.Classes         TList.Add
005c05c5 heidisql.exe Vcl.Controls           TCustomTouchManager.Create
005b0e2c heidisql.exe Vcl.Controls           TControl.CreateTouchManager
005ad21b heidisql.exe Vcl.Controls           TControl.Create
005b1994 heidisql.exe Vcl.Controls           TWinControl.Create
005d291e heidisql.exe Vcl.StdCtrls           TButtonControl.Create
005d3bae heidisql.exe Vcl.StdCtrls           TCustomCheckBox.Create
0052df8d heidisql.exe System.Classes         CreateComponent
0052e1b8 heidisql.exe System.Classes         TReader.ReadComponent
0052e469 heidisql.exe System.Classes         TReader.ReadDataInner
0052e3d7 heidisql.exe System.Classes         TReader.ReadData
0053953d heidisql.exe System.Classes         TComponent.ReadState
005ad6cb heidisql.exe Vcl.Controls           TControl.ReadState
005b1d91 heidisql.exe Vcl.Controls           TWinControl.ReadState
005f361f heidisql.exe Vcl.ComCtrls           TTabSheet.ReadState
0052e24f heidisql.exe System.Classes         TReader.ReadComponent
0052e469 heidisql.exe System.Classes         TReader.ReadDataInner
0052e3d7 heidisql.exe System.Classes         TReader.ReadData
0053953d heidisql.exe System.Classes         TComponent.ReadState
005ad6cb heidisql.exe Vcl.Controls           TControl.ReadState
005b1d91 heidisql.exe Vcl.Controls           TWinControl.ReadState
0052e24f heidisql.exe System.Classes         TReader.ReadComponent
0052e469 heidisql.exe System.Classes         TReader.ReadDataInner
0052e3a8 heidisql.exe System.Classes         TReader.ReadData
0053953d heidisql.exe System.Classes         TComponent.ReadState
005ad6cb heidisql.exe Vcl.Controls           TControl.ReadState
005b1d91 heidisql.exe Vcl.Controls           TWinControl.ReadState
0067a95d heidisql.exe Vcl.Forms              TCustomForm.ReadState
0052f367 heidisql.exe System.Classes         TReader.ReadRootComponent
00529262 heidisql.exe System.Classes         TStream.ReadComponent
0051ed1f heidisql.exe System.Classes         InternalReadComponentRes
00520673 heidisql.exe System.Classes         InitComponent
00520701 heidisql.exe System.Classes         InitInheritedComponent
0067a182 heidisql.exe Vcl.Forms              TCustomForm.Create
00856622 heidisql.exe extra_controls   30 +1 TFormWithSizeGrip.Create
0092f4a3 heidisql.exe Main           2150 +2 TMainForm.actTableToolsExecute
0053a7bb heidisql.exe System.Classes         TBasicAction.Execute
00594393 heidisql.exe Vcl.ActnList           TCustomAction.Execute
0053a65b heidisql.exe System.Classes         TBasicActionLink.Execute
0066b00b heidisql.exe Vcl.Menus              TMenuItem.Click
0066c677 heidisql.exe Vcl.Menus              TMenu.DispatchCommand
0066d8e6 heidisql.exe Vcl.Menus              TPopupList.WndProc
0066d835 heidisql.exe Vcl.Menus              TPopupList.MainWndProc
0053b4cc heidisql.exe System.Classes         StdWndProc
75adcc6b USER32.dll                          DispatchMessageW
00684fd7 heidisql.exe Vcl.Forms              TApplication.ProcessMessage
0068501a heidisql.exe Vcl.Forms              TApplication.HandleMessage
00685355 heidisql.exe Vcl.Forms              TApplication.Run
75c6ed5a kernel32.dll                        BaseThreadInitThunk


What I did before this bug happened:

1. I added some columns in two tables.
2. I selected a view in the object tree and switched to the "View: [name]" tab to see the view definition.
3. In the object tree I selected the view and chose "Export database as SQL" from the context menu. At this point Heidi crashed.

After restarting export starder to work again.
ansgar's profile image ansgar posted 10 years ago Permalink
Looks like a randomly appearing crash, in one of the Delphi libraries. I assume you cannot reproduce it? I will check my extra_controls unit which is involved here.
lemon_juice's profile image lemon_juice posted 10 years ago Permalink
Yes, this is one of the random crashes that I cannot reproduce. They happen from time to time when performing different operations so the steps to reproduce are also different each time.

Do you think there is a chance you'll finally get to the cause of these crashes if I keep reporting AV dumps? :)
ansgar's profile image ansgar posted 10 years ago Permalink
The chance is quite low for this particular one, as the cause is really somewhere within the Delphi libraries, not in the HeidiSQL code itself. As long as they're only seen once and only once ever, I cannot even test that, which makes it even more unlikely that I'll get them. Hohum.

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