bug: deleting last char in query panel causes crash

jfalch's profile image jfalch posted 13 years ago in General Permalink
open a query panel. type a single char. type backspace -> crash.

date/time : 2012-03-25, 00:10:47, 57ms
computer name : BOCHUM
user name : Falch <admin>
registered owner : Falch
operating system : Windows XP Service Pack 3 build 2600
system language : German
system up time : 1 day
program up time : 38 seconds
processors : 2x AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
physical memory : 920/3071 MB (free/total)
free disk space : (C:) 4,25 GB
display mode : 1280x1024, 32 bit
process id : $aa8
allocated memory : 18,52 MB
executable : heidisql.exe
exec. date/time : 2012-03-25 00:06
version : 7.0.0.4104
compiled with : Delphi XE
madExcept version : 3.0m beta 1
callstack crc : $06760a85, $b2ea55b4, $b2ea55b4
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 007D970B in module 'heidisql.exe'. Read of address FFFFFFFE.

main thread ($a90):
007d970b heidisql.exe Main 5535 +22 TMainForm.SynMemoQueryPaintTransient
005edaf0 heidisql.exe SynEdit 10145 +25 TCustomSynEdit.DoOnPaintTransientEx
005edb2e heidisql.exe SynEdit 10155 +1 TCustomSynEdit.DoOnPaintTransient
005de45f heidisql.exe SynEdit 2566 +69 TCustomSynEdit.Paint
004f303b heidisql.exe Controls TCustomControl.PaintWindow
004ed795 heidisql.exe Controls TWinControl.PaintHandler
004edf74 heidisql.exe Controls TWinControl.WMPaint
004f2fd5 heidisql.exe Controls TCustomControl.WMPaint
004e8d18 heidisql.exe Controls TControl.WndProc
004e963e heidisql.exe Controls TControl.WMMouseMove
004e8d18 heidisql.exe Controls TControl.WndProc
004ed5dc heidisql.exe Controls TWinControl.WndProc
005e5c62 heidisql.exe SynEdit 6233 +22 TCustomSynEdit.WndProc
004ecc7c heidisql.exe Controls TWinControl.MainWndProc
004ab504 heidisql.exe Classes StdWndProc
7c91e470 ntdll.dll KiUserCallbackDispatcher
7e368a0b USER32.dll DispatchMessageW
004582a1 heidisql.exe madExcept HandleException
0045efca heidisql.exe madExcept InterceptAHandleExcept
004eccb7 heidisql.exe Controls TWinControl.MainWndProc
7c91e485 ntdll.dll KiUserExceptionDispatcher
005edaf0 heidisql.exe SynEdit 10145 +25 TCustomSynEdit.DoOnPaintTransientEx
005e7e33 heidisql.exe SynEdit 7297 +277 TCustomSynEdit.ExecuteCommand
005e6f58 heidisql.exe SynEdit 6947 +10 TCustomSynEdit.CommandProcessor
005dd81f heidisql.exe SynEdit 2074 +20 TCustomSynEdit.KeyDown
004eef66 heidisql.exe Controls TWinControl.DoKeyDown
004eef92 heidisql.exe Controls TWinControl.WMKeyDown
004e8d18 heidisql.exe Controls TControl.WndProc
004ed5dc heidisql.exe Controls TWinControl.WndProc
005e5c62 heidisql.exe SynEdit 6233 +22 TCustomSynEdit.WndProc
004ecc7c heidisql.exe Controls TWinControl.MainWndProc
004ab504 heidisql.exe Classes StdWndProc
7e368a0b USER32.dll DispatchMessageW
00575bc7 heidisql.exe Forms TApplication.ProcessMessage
00575c0a heidisql.exe Forms TApplication.HandleMessage
00575f35 heidisql.exe Forms TApplication.Run
007fb8d7 heidisql.exe heidisql 67 +16 initialization

Code modification/commit 72acd36 from ansgar.becker, 13 years ago, revision 7.0.0.4105
Fix glitch from previous commit which causes access violations in TMainForm.SynMemoQueryPaintTransient. See http://www.heidisql.com/forum.php?t=10402
ansgar's profile image ansgar posted 13 years ago Permalink
Eh, sorry, that happened last night as I updated SynEdit. Fixed in r4105.

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