Latest version crashing (windows 10, scaling/resolution)

joeysql's profile image joeysql posted 5 years ago in General Permalink

HeidiSQL is struggling for me on windows 10. I strongly suspect it's due to that my resolution is 3840x2160 on two monitors but I have scaling for one on 2x and the other 1.75x (depends on their size). In a few places heidisql shows unscaled icons but also hangs and freezes a lot including dragging it between the two monitors.

When running lots of queries I get the error below consistently to the point of heidisql being barely usable :(.

  • operating system : Windows 10 x64 build 17763
  • system language : English
  • program up time : 1 minute 14 seconds
  • processors : 16x Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
  • physical memory : 35535/65474 MB (free/total)
  • free disk space : (C:) 701.28 GB
  • display mode : 1920x1080, 32 bit
  • allocated memory : 2.03 GB
  • largest free block : 131024.14 GB ???
  • executable : heidisql.exe
  • exec. date/time : 2019-01-26 07:17
  • version : 10.1.0.5464
  • compiled with : Delphi 10.3 Rio
  • madExcept version : 5.0.0
  • callstack crc : $ff5b77b8, $29eddcbd, $29eddcbd
  • exception number : 1
  • exception class : EWriteError
  • exception message : Failed to write ImageList data to stream.`

Stack:

  • main thread ($50d8):
  • 00819d22 heidisql.exe Vcl.ImgList TCustomImageList.WriteData
  • 00818cd5 heidisql.exe Vcl.ImgList TCustomImageList.Assign
  • 008d3172 heidisql.exe VirtualTrees.Utils 1314 +6 ScaleImageList
  • 00924651 heidisql.exe VirtualTrees 18321 +19 TBaseVirtualTree.ChangeScale
  • 0069eb48 heidisql.exe Vcl.Controls TControl.ScaleForPPI
  • 006ac337 heidisql.exe Vcl.Controls TWinControl.ScaleForPPI
  • 0069f120 heidisql.exe Vcl.Controls TControl.SetParent
  • 006b0746 heidisql.exe Vcl.Controls TWinControl.SetParent
  • 00dce5e0 heidisql.exe Main 12811 +5 TResultTab.Create
  • 00d95354 heidisql.exe Main 2718 +8 TMainForm.AfterQueryExecution
  • 009d4de4 heidisql.exe apphelpers 3307 +1 TQueryThread.AfterQuery
  • 00556238 heidisql.exe System.Classes CheckSynchronize
  • 0084f4af heidisql.exe Vcl.Forms TApplication.Idle
  • 0084e103 heidisql.exe Vcl.Forms TApplication.HandleMessage
  • 0084e541 heidisql.exe Vcl.Forms TApplication.Run
  • 00dd74ba heidisql.exe heidisql 85 +26 initialization
  • 7ffc7ff8 KERNEL32.DLL BaseThreadInitThunk
  • 7ffc810f ntdll.dll RtlUserThreadStart `
joeysql's profile image joeysql posted 5 years ago Permalink

Right clicking the executable and setting it to allow the application to manage its own DPI settings appears to resolve the constant crashing and hanging.

ansgar's profile image ansgar posted 5 years ago Permalink

Yes, moving HeidiSQL windows from a screen to another screen with a different DPI setting is not supported yet. Look at the theme related issues in the tracker - I recall that one was already posted.

ansgar's profile image ansgar posted 5 years ago Permalink

Sorry, I meant the high-dpi related issues.

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