Crash on start

[expired user #5151]'s profile image [expired user #5151] posted 13 years ago in General Permalink
Hi, HeidiSQL crashes at startup, if it should reconnect to a database that is currently not available (device is off).

Here´s the Bugreport:
date/time : 2010-11-10, 12:15:18, 827ms
computer name : WSJH2
user name : jh <admin>
registered owner : Microsoft / Microsoft
operating system : Windows 7 x64 build 7600
system language : German
system up time : 59 minutes 13 seconds
program up time : 26 seconds
processors : 2x Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz
physical memory : 2518/3738 MB (free/total)
free disk space : (C:) 235,42 GB
display mode : 1600x1200, 32 bit
process id : $b40
allocated memory : 62,67 MB
executable : heidisql.exe
exec. date/time : 2010-11-09 11:31
version : 5.1.0.3581
compiled with : Delphi 2010
madExcept version : 3.0k
callstack crc : $1959c8a5, $275dd96b, $275dd96b
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 0075DB54 in module 'heidisql.exe'. Read of address 000000B4.

main thread ($f14):
0075db54 heidisql.exe mysql_connection 1216 +1 TMySQLConnection.GetInformationSchemaObjects
006d4863 heidisql.exe Main 7717 +8 TMainForm.ListDatabasesBeforePaint
0061bfbb heidisql.exe VirtualTrees TBaseVirtualTree.DoBeforePaint
0062a8eb heidisql.exe VirtualTrees TBaseVirtualTree.PaintTree
00622b5c heidisql.exe VirtualTrees TBaseVirtualTree.Paint
00544e63 heidisql.exe Controls TCustomControl.PaintWindow
0053f5e1 heidisql.exe Controls TWinControl.PaintHandler
0053fdc0 heidisql.exe Controls TWinControl.WMPaint
00544dfd heidisql.exe Controls TCustomControl.WMPaint
00619a55 heidisql.exe VirtualTrees TBaseVirtualTree.WMPaint
0053ab60 heidisql.exe Controls TControl.WndProc
0053b486 heidisql.exe Controls TControl.WMMouseMove
0053ab60 heidisql.exe Controls TControl.WndProc
0053f428 heidisql.exe Controls TWinControl.WndProc
00625430 heidisql.exe VirtualTrees TBaseVirtualTree.WndProc
0053eac8 heidisql.exe Controls TWinControl.MainWndProc
0049a524 heidisql.exe Classes StdWndProc
77cb00e3 ntdll.dll KiUserCallbackDispatcher
777b3675 kernel32.dll BaseThreadInitThunk


I just downloaded newest nightly build, but it seems that it won´t be installed. Every time I start the programm, the update-window opens again and offers 3584. If I click update, the update process starts immediately (no more download) followed by the can't-connect-message and the crash - but no update was affected.

But that´s only a border-notice, since the changelog shows that the crash wasn´t fixed in the last 3 revisions.

After starting the offline-device, everything works well.

Greets
Plasm
ansgar's profile image ansgar posted 13 years ago Permalink
I guess you have more than one connection opened in the tree, right?
[expired user #5151]'s profile image [expired user #5151] posted 13 years ago Permalink
Oh yes, since you mentioned this: there seems to be another bug. One connections appears 3 times.
See here:
http://plasm.elemental-fusion.de/connections.gif

No idea when that first appears. It doesn´t bother me much, since each of the connection work as expected.
Do you need additional infos ?
ansgar's profile image ansgar posted 13 years ago Permalink
The connection was probably opened multiple times, explicitely by using the session manager. Nothing wrong so far. Only the above mentioned exception should get fixed.
[expired user #5151]'s profile image [expired user #5151] posted 13 years ago Permalink
OK, but how can I close these connections ?
ansgar's profile image ansgar posted 13 years ago Permalink
Using the disconnect button, second one on the main toolbar.
[expired user #5151]'s profile image [expired user #5151] posted 13 years ago Permalink
Ahh, I searched in kontext menu and file-menu. Perhaps this option would fit there well?

Another unimportant thing: is there a reason drag&drop is enabled in the tree? Found no allowed drop-point for neither connection, database nor table. Tried to change the order of the connections via drag&drop, but it isn´t supported (no, I really don´t need this feature)
ansgar's profile image ansgar posted 13 years ago Permalink
Tree nodes are droppable in the query editor.

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