some random crash

lemon_juice's profile image lemon_juice posted 13 years ago in General Permalink
I've just experienced crash on build 3788 just when I tried refreshing the data tab with the refresh button:

date/time : 2011-04-20, 14:33:33, 359ms
computer name : XXX
user name : XXX
registered owner : XXX
operating system : Windows XP Dodatek Service Pack 3 build 2600
system language : Polish
system up time : 6 hours 25 minutes
program up time : 1 hour 29 minutes
processor : AMD Athlon(tm) XP 3000+
physical memory : 238/1279 MB (free/total)
free disk space : (D:) 646,89 MB
display mode : 1680x1050, 32 bit
process id : $14b0
allocated memory : 19,42 MB
executable : heidisql.exe
exec. date/time : 2011-04-20 12:48
version : 6.0.0.3788
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $cbffec66, $2c513dfe, $2c513dfe
exception number : 10
exception class : EAccessViolation
exception message : Access violation at address 1000BDFA in module 'libmysql.dll'. Read of address 00000358.

main thread ($c2c):
1000bdfa libmysql.dll mysql_send_query
1000bea0 libmysql.dll mysql_real_query
0073e05d heidisql.exe dbconnection 1301 +20 TMySQLConnection.Query
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004e8820 heidisql.exe Controls TControl.WndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004ca4c9 heidisql.exe Graphics TCanvas.SetHandle
004e8820 heidisql.exe Controls TControl.WndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004ca4c9 heidisql.exe Graphics TCanvas.SetHandle
004e8820 heidisql.exe Controls TControl.WndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7e368a0b USER32.dll DispatchMessageW
004583c1 heidisql.exe madExcept HandleException
0045f0ea heidisql.exe madExcept InterceptAHandleExcept
004ec7bf heidisql.exe Controls TWinControl.MainWndProc
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
771148b0 oleaut32.dll SysFreeString
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7c90e485 ntdll.dll KiUserExceptionDispatcher
007469b8 heidisql.exe dbconnection 3143 +3 TMySQLQuery.Execute
007d76a0 heidisql.exe Main 4029 +97 TMainForm.DataGridBeforePaint
00636ba3 heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
006454c5 heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004e8820 heidisql.exe Controls TControl.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
0063d749 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f2b43 heidisql.exe Controls TCustomControl.PaintWindow
004ed29d heidisql.exe Controls TWinControl.PaintHandler
004eda7c heidisql.exe Controls TWinControl.WMPaint
004f2add heidisql.exe Controls TCustomControl.WMPaint
0063463d heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
00640024 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher


"Continue" button didn't work, I had to restart Heidi. Unfortunately, I couldn't reproduce it. I had 2 db connections open when that happened.
ansgar's profile image ansgar posted 13 years ago Permalink
Yes, had that two as I had one mysql + one mssql connection open and the datagrid was loaded. Will check that.
Curanai's profile image Curanai posted 13 years ago Permalink
date/time : 2011-04-21, 14:17:21, 967ms
computer name : ...
user name : ...
registered owner : Microsoft / Microsoft
operating system : Windows 7 x64 Service Pack 1 build 7601
system language : German
system up time : 6 hours 25 minutes
program up time : 8 minutes 15 seconds
processors : 4x AMD Phenom(tm) II X4 965 Processor
physical memory : 13266/16382 MB (free/total)
free disk space : (C:) 807,28 GB
display mode : 1920x1080, 32 bit
process id : $179c
allocated memory : 72,52 MB
executable : heidisql.exe
exec. date/time : 2011-04-19 15:19
version : 6.0.0.3784
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $c664e309, $332bfde8, $332bfde8
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 0073BB6B in module 'heidisql.exe'. Read of address 408D0008.


Well, I did nothing ... wrote into a forum.happyHSQL just ran, connected to one local mySQL DB. HSQL just went into the background - after forwarding, error was already viewable.

I wrote it to this post, because it's also an adress violation. Full report on request ...
ansgar's profile image ansgar posted 13 years ago Permalink
Please post the last 10 lines of the callstack please.
Curanai's profile image Curanai posted 13 years ago Permalink
I guess, this it is ...


004ed0e4 heidisql.exe Controls TWinControl.WndProc
0057d883 heidisql.exe Forms TCustomForm.WndProc
004ec784 heidisql.exe Controls TWinControl.MainWndProc
004aaff4 heidisql.exe Classes StdWndProc
76547885 USER32.dll DispatchMessageW
00586cfb heidisql.exe Forms TApplication.ProcessMessage
00586d3e heidisql.exe Forms TApplication.HandleMessage
00587069 heidisql.exe Forms TApplication.Run
007fc89f heidisql.exe heidisql 66 +16 initialization
75df33c8 kernel32.dll BaseThreadInitThunk
ansgar's profile image ansgar posted 13 years ago Permalink
No, please from the 10 lines from the top, not from the bottom. Thanks :)
Curanai's profile image Curanai posted 13 years ago Permalink
Last 10 ... first 10 ... what about "next ten after reching middle to nowhere"?! :D

0073bb6b heidisql.exe dbconnection 785 +1 TConnectionParameters.GetNetTypeGroup
0073bbb0 heidisql.exe dbconnection 798 +0 TConnectionParameters.GetImageIndex
007cb461 heidisql.exe Main 1091 +5 TMainForm.StatusBarDrawPanel
005511f2 heidisql.exe ComCtrls TCustomStatusBar.DrawPanel
0055194d heidisql.exe ComCtrls TCustomStatusBar.CNDrawItem
004e8820 heidisql.exe Controls TControl.WndProc
004ed0e4 heidisql.exe Controls TWinControl.WndProc
004e8444 heidisql.exe Controls TControl.Perform
004ed237 heidisql.exe Controls DoControlMsg
004eddb2 heidisql.exe Controls TWinControl.WMDrawItem

Still wrong?! Hey, come one ... :D
ansgar's profile image ansgar posted 13 years ago Permalink
No, this is perfect. GetNetTypeGroup is young small and obviously has some bug. Will check that.
Code modification/commit from ansgar.becker, 13 years ago, revision 6.0.0.3793
Create new data grid result object each time, so it's of the right vendor type. Fixes an access violation when switching to a table in another connection. See http://www.heidisql.com/forum.php?t=8306
ansgar's profile image ansgar posted 13 years ago Permalink
r3793 should fix the crash when switching to a table in another connection. Probably also the one reported by Curanai but I could however never reproduce that one.
Curanai's profile image Curanai posted 13 years ago Permalink
If a similar problem will be shown, I'll report it, too! You are doing a great job and bugfixing is fast - keep going, we'll report anything!! :D
ansgar's profile image ansgar posted 13 years ago Permalink
Makes me fear about tons of new reports ... hopefully notsurprised
Curanai's profile image Curanai posted 13 years ago Permalink
HSQL said "bye bye" after "empty table" per right click (alt. menu) in the left panel - this is not (!) the first time ...

date/time : 2011-04-29, 13:21:20, 747ms
computer name : ...
user name : ...
registered owner : Microsoft / Microsoft
operating system : Windows 7 x64 Service Pack 1 build 7601
system language : German
system up time : 4 hours
program up time : 3 hours 34 minutes
processors : 4x AMD Phenom(tm) II X4 965 Processor
physical memory : 13142/16382 MB (free/total)
free disk space : (C:) 801,06 GB
display mode : 1920x1080, 32 bit
process id : $730
allocated memory : 75,45 MB
executable : heidisql.exe
exec. date/time : 2011-04-29 09:46
version : 6.0.0.3797
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $08df8500, $9f5ac0ff, $9f5ac0ff
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00407890 in module 'heidisql.exe'. Read of address 82E8003E.

main thread ($16f8):
00407890 heidisql.exe System 548 +0 @UStrAsg
007dfad2 heidisql.exe Main 5523 +4 TMainForm.GetActiveDatabase
007d86a8 heidisql.exe Main 3858 +21 TMainForm.DataGridBeforePaint
006372eb heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
00645c0d heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
004ececc heidisql.exe Controls TWinControl.MainWndProc
004e8f68 heidisql.exe Controls TControl.WndProc
0063de91 heidisql.exe VirtualTrees TBaseVirtualTree.Paint
004f328b heidisql.exe Controls TCustomControl.PaintWindow
004ed9e5 heidisql.exe Controls TWinControl.PaintHandler
004ee1c4 heidisql.exe Controls TWinControl.WMPaint
004f3225 heidisql.exe Controls TCustomControl.WMPaint
00634d85 heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
004e8f68 heidisql.exe Controls TControl.WndProc
004e988e heidisql.exe Controls TControl.WMMouseMove
004e8f68 heidisql.exe Controls TControl.WndProc
004ed82c heidisql.exe Controls TWinControl.WndProc
0064076c heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
004ececc heidisql.exe Controls TWinControl.MainWndProc
004ab73c heidisql.exe Classes StdWndProc
77610117 ntdll.dll KiUserCallbackDispatcher
764933c8 kernel32.dll BaseThreadInitThunk


Last actions: I made a change on a tinyint (dbl-click value), pressed enter after change, moved cursor down and the log window presented the affected-time and so on - but the change wasn't made (!). I was wondering because of the old view in the browser after hitting refresh - refreshing HSQL, the old value was inside. The shown call stack above is the result of the next step - "empty table" complete. I'll try to do the same again ...

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