crash on starup - Invalid pointer operation

christian.scherzer's profile image christian.scherzer posted 1 year ago in General Permalink

Hi

We have been using HeidiSQL for years to connect from a Windows server to a Linux system with mariaDB. We have never had problems with different systems and operating systems. For a few days, HeidiSSQL has crashed with the following report every time it is called:

date/time : 2023-01-23, 22:11:47, 102ms operating system : Windows 2012 R2 x64 build 9600 system language : German system up time : 1 day 10 hours program up time : 217 milliseconds processors : 56x Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz physical memory : 7197/65406 MB (free/total) free disk space : (C:) 173,46 GB display mode : 2560x1440, 32 bit process id : $606c allocated memory : 60,37 MB largest free block : 131029,99 GB executable : heidisql.exe exec. date/time : 2022-12-05 19:26 version : 12.3.0.6589 compiled with : Delphi 11 madExcept version : 5.1.2 callstack crc : $68ae9046, $b6d3351c, $6cdaceac exception number : 1 exception class : EInvalidPointer exception message : Invalid pointer operation.

main thread ($5464): 004093fc heidisql.exe System @FreeMem 010e81d7 heidisql.exe heidisql 108 +37 initialization 7ff8e788 KERNEL32.DLL BaseThreadInitThunk 7ff8e8c9 ntdll.dll RtlUserThreadStart

main thread ($5464), inner exception level 1:

EAccessViolation, Access violation at address 000000000097DCB5 in module 'heidisql.exe'. Read of address 0000000000000004 0097dcb5 heidisql.exe VirtualTrees 4753 +2 TBaseVirtualTree.GetChildCount 7ff8e848 user32.dll GetMessageW 004f314c heidisql.exe madExcept HandleException 004ffac5 heidisql.exe madExcept InterceptUnhandledException 010e827a heidisql.exe heidisql 115 +44 initialization 7ff8e788 KERNEL32.DLL BaseThreadInitThunk 7ff8e8c9 ntdll.dll RtlUserThreadStart

main thread ($5464), inner exception level 2:

EThread, Cannot call Start on a running or suspended thread 005cd519 heidisql.exe System.Classes TThread.InternalStart 7ff8e848 user32.dll GetMessageW 004f314c heidisql.exe madExcept HandleException 004ffac5 heidisql.exe madExcept InterceptUnhandledException 010e827a heidisql.exe heidisql 115 +44 initialization 7ff8e788 KERNEL32.DLL BaseThreadInitThunk 7ff8e8c9 ntdll.dll RtlUserThreadStart

I thought if I uninstall and reinstall HeidiSQL it works again. Unfortunately not. Then I searched the registry for HeidiSQL entries and deleted them. Then reinstalled. Still the problem. The portable version brings exactly the same problems.

Of course I rebooted the server. No change either. Then I uninstalled the newer VC Redist and installed the one that came with it. Again nothing. Unfortunately, I couldn't find any posts on this subject in this forum. Unfortunately, a Google search was also unsuccessful. What can be the problem here?

ansgar's profile image ansgar posted 1 year ago Permalink

I recommend to update to the latest build through the session manager's "More" button > Check for updates. Or wait for the next v12.4 release.

christian.scherzer's profile image christian.scherzer posted 1 year ago Permalink

Thanks for the quick help. HeidiSQL is running again. I had to download the update with another system. I then copied heidisql.exe and its running.

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