Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbstractError when closing text editor #1936

Closed
babanga opened this issue Apr 8, 2024 · 5 comments
Closed

AbstractError when closing text editor #1936

babanga opened this issue Apr 8, 2024 · 5 comments

Comments

@babanga
Copy link

babanga commented Apr 8, 2024

Preconditions

  • HeidiSQL version: 12.6.0.6820
  • Database type and version: Mysql
  • OS: Windows 7 x64 Service Pack 1 build 7601

Describe the bug
The bug was always there, but I've just got used to it. I keep HeidiSQL on 2nd monitor, maybe that's the issue, but sometimes this error appears.

To Reproduce
To reproduce - edit the text field with Text editor by clicking on [...] button, then close the Editor window and this error will appear on the 1st monitor.

Screenshots or Crash reports

version            : 12.6.0.6820
compiled with      : Delphi 11
madExcept version  : 5.1.4
callstack crc      : $2a32ab0a, $1b913970, $1b913970
exception number   : 1
exception class    : EAbstractError
exception message  : Abstract Error.

main thread ($4b40):
0048784c heidisql.exe System.SysUtils         AbstractErrorHandler
0040c962 heidisql.exe System                  @AbstractError
0040f585 heidisql.exe System                  @FindDynaInst
006b6b79 heidisql.exe Vcl.Controls            TControl.DoMouseUp
006b6c66 heidisql.exe Vcl.Controls            TControl.WMLButtonUp
0040f661 heidisql.exe System                  TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls            TControl.WndProc
006bd2e2 heidisql.exe Vcl.Controls            TWinControl.WndProc
006f3ffd heidisql.exe Vcl.StdCtrls            TButtonControl.WndProc
006bc41a heidisql.exe Vcl.Controls            TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes          StdWndProc
775997d9 USER32.dll                           DispatchMessageW
00857dce heidisql.exe Vcl.Forms               TApplication.ProcessMessage
00857e43 heidisql.exe Vcl.Forms               TApplication.HandleMessage
0085829a heidisql.exe Vcl.Forms               TApplication.Run
011ce888 heidisql.exe heidisql        115 +41 initialization
7747556b kernel32.dll                         BaseThreadInitThunk
776d372b ntdll.dll                            RtlUserThreadStart
@babanga
Copy link
Author

babanga commented Apr 11, 2024

Can these reports be also related to the previous one?

EAccessViolation with Uppercase
exec. date/time    : 2024-04-11 01:05
version            : 12.6.0.6821
compiled with      : Delphi 11
madExcept version  : 5.1.4
callstack crc      : $8df7c332, $2c146aa5, $2c146aa5
exception number   : 1
exception class    : EAccessViolation
exception message  : Access violation at address 0000000000477DF4 in module 'heidisql.exe'. Read of address FFFFFFFFFFFFFFFF.

main thread ($47f8):
00477df4 heidisql.exe System.SysUtils                  UpperCase
00cb8e19 heidisql.exe dbconnection          10162  +15 TDBObject.GetOverlayImageIndex
011a3c67 heidisql.exe Main                   9448  +20 TMainForm.DBtreeGetImageIndex
00987a58 heidisql.exe VirtualTrees.BaseTree 10211   +9 TBaseVirtualTree.DoGetImageIndex
0098be00 heidisql.exe VirtualTrees.BaseTree 11817   +6 TBaseVirtualTree.GetImageIndex
00991427 heidisql.exe VirtualTrees.BaseTree 13980   +9 TBaseVirtualTree.PaintImage
009a0bda heidisql.exe VirtualTrees.BaseTree 20700 +346 TBaseVirtualTree.PaintTree
009907b7 heidisql.exe VirtualTrees.BaseTree 13832  +23 TBaseVirtualTree.Paint
006c6d66 heidisql.exe Vcl.Controls                     TCustomControl.PaintWindow
006bd563 heidisql.exe Vcl.Controls                     TWinControl.PaintHandler
006be29e heidisql.exe Vcl.Controls                     TWinControl.WMPaint
006c6cf8 heidisql.exe Vcl.Controls                     TCustomControl.WMPaint
0098190c heidisql.exe VirtualTrees.BaseTree  7638   +8 TBaseVirtualTree.WMPaint
0040f661 heidisql.exe System                           TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls                     TControl.WndProc
006bd2e2 heidisql.exe Vcl.Controls                     TWinControl.WndProc
0099544e heidisql.exe VirtualTrees.BaseTree 15600  +32 TBaseVirtualTree.WndProc
006bc41a heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
776eb4eb ntdll.dll                                     KiUserCallbackDispatcher
7759268d USER32.dll                                    UpdateWindow
006c1e1b heidisql.exe Vcl.Controls                     TWinControl.Update
006c1e4b heidisql.exe Vcl.Controls                     TWinControl.Repaint
011a5b0f heidisql.exe Main                   9818   +2 TMainForm.DatabaseChanged
00c8d07d heidisql.exe dbconnection           4245   +6 TDBConnection.SetDatabase
00c7cbc6 heidisql.exe dbconnection           2551 +213 TMySQLConnection.SetActive
00c8637b heidisql.exe dbconnection           3458  +15 TMySQLConnection.Ping
00c869a2 heidisql.exe dbconnection           3575   +9 TDBConnection.Query
00c86b3b heidisql.exe dbconnection           3591   +1 TMySQLConnection.Query
00cad9e6 heidisql.exe dbconnection           7920   +3 TMySQLQuery.Execute
00c90606 heidisql.exe dbconnection           4800  +19 TDBConnection.GetResults
00c92a30 heidisql.exe dbconnection           5233   +1 TDBConnection.GetCol
00c8f4da heidisql.exe dbconnection           4663   +4 TMySQLConnection.GetAllDatabases
00c90297 heidisql.exe dbconnection           4755   +2 TDBConnection.RefreshAllDatabases
011a6381 heidisql.exe Main                   9977  +20 TMainForm.RefreshTree
011892d1 heidisql.exe Main                   4761   +8 TMainForm.actRefreshExecute
005d31f0 heidisql.exe System.Classes                   TBasicAction.Execute
006860f5 heidisql.exe Vcl.ActnList                     TCustomAction.Execute
005d2eaa heidisql.exe System.Classes                   TBasicActionLink.Execute
006b6503 heidisql.exe Vcl.Controls                     TControl.Click
00768344 heidisql.exe Vcl.ComCtrls                     TToolButton.Click
006b6c5b heidisql.exe Vcl.Controls                     TControl.WMLButtonUp
0040f661 heidisql.exe System                           TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls                     TControl.WndProc
006b5930 heidisql.exe Vcl.Controls                     TControl.Perform
006bc80a heidisql.exe Vcl.Controls                     TWinControl.IsControlMouseMsg
006bd097 heidisql.exe Vcl.Controls                     TWinControl.WndProc
0076f960 heidisql.exe Vcl.ComCtrls                     TToolBar.WndProc
006bc41a heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
775997d9 USER32.dll                                    DispatchMessageW
00857dce heidisql.exe Vcl.Forms                        TApplication.ProcessMessage
00857e43 heidisql.exe Vcl.Forms                        TApplication.HandleMessage
0085829a heidisql.exe Vcl.Forms                        TApplication.Run
011ce948 heidisql.exe heidisql                115  +41 initialization
7747556b kernel32.dll                                  BaseThreadInitThunk
776d372b ntdll.dll                                     RtlUserThreadStart
EAccessViolation with TMainForm.DBtreeGetText
exec. date/time    : 2024-04-11 01:05
version            : 12.6.0.6821
compiled with      : Delphi 11
madExcept version  : 5.1.4
callstack crc      : $3200b19b, $3f7d301b, $3f7d301b
exception number   : 2
exception class    : EAccessViolation
exception message  : Access violation at address 00000000011A3811 in module 'heidisql.exe'. Read of address FFFFFFFFFFFFFFFF.

main thread ($47f8):
011a3811 heidisql.exe Main                   9377  +21 TMainForm.DBtreeGetText
009bedaa heidisql.exe VirtualTrees           1335   +8 TCustomVirtualStringTree.DoGetText
009bd43e heidisql.exe VirtualTrees            785   +4 TCustomVirtualStringTree.GetText
009becc2 heidisql.exe VirtualTrees           1319  +27 TCustomVirtualStringTree.DoGetNodeWidth
009a030e heidisql.exe VirtualTrees.BaseTree 20575 +221 TBaseVirtualTree.PaintTree
009907b7 heidisql.exe VirtualTrees.BaseTree 13832  +23 TBaseVirtualTree.Paint
006c6d66 heidisql.exe Vcl.Controls                     TCustomControl.PaintWindow
006bd563 heidisql.exe Vcl.Controls                     TWinControl.PaintHandler
006be29e heidisql.exe Vcl.Controls                     TWinControl.WMPaint
006c6cf8 heidisql.exe Vcl.Controls                     TCustomControl.WMPaint
0098190c heidisql.exe VirtualTrees.BaseTree  7638   +8 TBaseVirtualTree.WMPaint
0040f661 heidisql.exe System                           TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls                     TControl.WndProc
006bd2e2 heidisql.exe Vcl.Controls                     TWinControl.WndProc
0099544e heidisql.exe VirtualTrees.BaseTree 15600  +32 TBaseVirtualTree.WndProc
006bc41a heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
776eb4eb ntdll.dll                                     KiUserCallbackDispatcher
77596d37 USER32.dll                                    DispatchMessageW
004f4387 heidisql.exe madExcept                        HandleException
00500821 heidisql.exe madExcept                        InterceptAHandleExcept
006bc43e heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
776eb4eb ntdll.dll                                     KiUserCallbackDispatcher
7759268d USER32.dll                                    UpdateWindow
006c1e1b heidisql.exe Vcl.Controls                     TWinControl.Update
006c1e4b heidisql.exe Vcl.Controls                     TWinControl.Repaint
011a5b0f heidisql.exe Main                   9818   +2 TMainForm.DatabaseChanged
00c8d07d heidisql.exe dbconnection           4245   +6 TDBConnection.SetDatabase
00c7cbc6 heidisql.exe dbconnection           2551 +213 TMySQLConnection.SetActive
00c8637b heidisql.exe dbconnection           3458  +15 TMySQLConnection.Ping
00c869a2 heidisql.exe dbconnection           3575   +9 TDBConnection.Query
00c86b3b heidisql.exe dbconnection           3591   +1 TMySQLConnection.Query
00cad9e6 heidisql.exe dbconnection           7920   +3 TMySQLQuery.Execute
00c90606 heidisql.exe dbconnection           4800  +19 TDBConnection.GetResults
00c92a30 heidisql.exe dbconnection           5233   +1 TDBConnection.GetCol
00c8f4da heidisql.exe dbconnection           4663   +4 TMySQLConnection.GetAllDatabases
00c90297 heidisql.exe dbconnection           4755   +2 TDBConnection.RefreshAllDatabases
011a6381 heidisql.exe Main                   9977  +20 TMainForm.RefreshTree
011892d1 heidisql.exe Main                   4761   +8 TMainForm.actRefreshExecute
005d31f0 heidisql.exe System.Classes                   TBasicAction.Execute
006860f5 heidisql.exe Vcl.ActnList                     TCustomAction.Execute
005d2eaa heidisql.exe System.Classes                   TBasicActionLink.Execute
006b6503 heidisql.exe Vcl.Controls                     TControl.Click
00768344 heidisql.exe Vcl.ComCtrls                     TToolButton.Click
006b6c5b heidisql.exe Vcl.Controls                     TControl.WMLButtonUp
0040f661 heidisql.exe System                           TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls                     TControl.WndProc
006b5930 heidisql.exe Vcl.Controls                     TControl.Perform
006bc80a heidisql.exe Vcl.Controls                     TWinControl.IsControlMouseMsg
006bd097 heidisql.exe Vcl.Controls                     TWinControl.WndProc
0076f960 heidisql.exe Vcl.ComCtrls                     TToolBar.WndProc
006bc41a heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
775997d9 USER32.dll                                    DispatchMessageW
00857dce heidisql.exe Vcl.Forms                        TApplication.ProcessMessage
00857e43 heidisql.exe Vcl.Forms                        TApplication.HandleMessage
0085829a heidisql.exe Vcl.Forms                        TApplication.Run
011ce948 heidisql.exe heidisql                115  +41 initialization
7747556b kernel32.dll                                  BaseThreadInitThunk
776d372b ntdll.dll                                     RtlUserThreadStart

@ansgarbecker
Copy link
Collaborator

@babanga no your latter crash reports are irrelevant here.
But I can confirm the first one, when closing the text editor. Thank you for the hint on the second monitor - this seems relevant for reproducing.

@ansgarbecker ansgarbecker changed the title AbstractError AbstractError when closing text editor Apr 29, 2024
@ansgarbecker ansgarbecker added this to the v12.7 milestone Apr 29, 2024
@babanga
Copy link
Author

babanga commented Apr 29, 2024

I just remembered the same Abstract Error happens when I boot the pc from hibernation and click on Refresh button.

@babanga
Copy link
Author

babanga commented Apr 30, 2024

Thanks @ansgarbecker the editor bug seems fixed now. Here's the Refresh button exception after the hibernation, maybe it's somehow related.

EAccessViolation with Uppercase
date/time          : 2024-04-30, 23:06:08, 41ms
computer name      : PC
user name          : Admin <admin>
registered owner   : Admin
operating system   : Windows 7 x64 Service Pack 1 build 7601
system language    : English
system up time     : 198 days 1 hour
program up time    : 1 day 2 hours
processors         : 8x Intel(R) Xeon(R) CPU E3-1280 V2 @ 3.60GHz
physical memory    : 27526/32714 MB (free/total)
free disk space    : (C:) 183.71 GB
display mode       : 1920x1080, 32 bit
process id         : $1704
allocated memory   : 140.60 MB
largest free block : 8185.68 GB
command line       : C:\Programs\HeidiSQL\heidisql.exe --runfrom=scheduler
executable         : heidisql.exe
exec. date/time    : 2024-04-29 20:28
version            : 12.6.0.6846
compiled with      : Delphi 11
madExcept version  : 5.1.4
callstack crc      : $8df7c332, $2c146aa5, $2c146aa5
exception number   : 1
exception class    : EAccessViolation
exception message  : Access violation at address 0000000000477DF4 in module 'heidisql.exe'. Read of address FFFFFFFFFFFFFFFF.

main thread ($1f5c):
00477df4 heidisql.exe System.SysUtils                  UpperCase
00cbade9 heidisql.exe dbconnection          10196  +15 TDBObject.GetOverlayImageIndex
011a61e7 heidisql.exe Main                   9455  +20 TMainForm.DBtreeGetImageIndex
009879a8 heidisql.exe VirtualTrees.BaseTree 10172   +9 TBaseVirtualTree.DoGetImageIndex
0098bd50 heidisql.exe VirtualTrees.BaseTree 11778   +6 TBaseVirtualTree.GetImageIndex
00991377 heidisql.exe VirtualTrees.BaseTree 13941   +9 TBaseVirtualTree.PaintImage
009a0b0a heidisql.exe VirtualTrees.BaseTree 20661 +346 TBaseVirtualTree.PaintTree
00990707 heidisql.exe VirtualTrees.BaseTree 13793  +23 TBaseVirtualTree.Paint
006c6d66 heidisql.exe Vcl.Controls                     TCustomControl.PaintWindow
006bd563 heidisql.exe Vcl.Controls                     TWinControl.PaintHandler
006be29e heidisql.exe Vcl.Controls                     TWinControl.WMPaint
006c6cf8 heidisql.exe Vcl.Controls                     TCustomControl.WMPaint
0098198c heidisql.exe VirtualTrees.BaseTree  7630   +8 TBaseVirtualTree.WMPaint
0040f661 heidisql.exe System                           TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls                     TControl.WndProc
006bd2e2 heidisql.exe Vcl.Controls                     TWinControl.WndProc
0099539e heidisql.exe VirtualTrees.BaseTree 15561  +32 TBaseVirtualTree.WndProc
006bc41a heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
76e1b4eb ntdll.dll                                     KiUserCallbackDispatcher
76cc268d USER32.dll                                    UpdateWindow
006c1e1b heidisql.exe Vcl.Controls                     TWinControl.Update
006c1e4b heidisql.exe Vcl.Controls                     TWinControl.Repaint
011a808f heidisql.exe Main                   9825   +2 TMainForm.DatabaseChanged
00c8ef5d heidisql.exe dbconnection           4275   +6 TDBConnection.SetDatabase
00c7eaa6 heidisql.exe dbconnection           2581 +213 TMySQLConnection.SetActive
00c8825b heidisql.exe dbconnection           3488  +15 TMySQLConnection.Ping
00c88882 heidisql.exe dbconnection           3605   +9 TDBConnection.Query
00c88a1b heidisql.exe dbconnection           3621   +1 TMySQLConnection.Query
00caf986 heidisql.exe dbconnection           7953   +3 TMySQLQuery.Execute
00c924e6 heidisql.exe dbconnection           4830  +19 TDBConnection.GetResults
00c94910 heidisql.exe dbconnection           5263   +1 TDBConnection.GetCol
00c913ba heidisql.exe dbconnection           4693   +4 TMySQLConnection.GetAllDatabases
00c92177 heidisql.exe dbconnection           4785   +2 TDBConnection.RefreshAllDatabases
011a8901 heidisql.exe Main                   9984  +20 TMainForm.RefreshTree
0118b781 heidisql.exe Main                   4765   +8 TMainForm.actRefreshExecute
005d31f0 heidisql.exe System.Classes                   TBasicAction.Execute
006860f5 heidisql.exe Vcl.ActnList                     TCustomAction.Execute
005d2eaa heidisql.exe System.Classes                   TBasicActionLink.Execute
006b6503 heidisql.exe Vcl.Controls                     TControl.Click
00768344 heidisql.exe Vcl.ComCtrls                     TToolButton.Click
006b6c5b heidisql.exe Vcl.Controls                     TControl.WMLButtonUp
0040f661 heidisql.exe System                           TObject.Dispatch
006b5e2d heidisql.exe Vcl.Controls                     TControl.WndProc
006b5930 heidisql.exe Vcl.Controls                     TControl.Perform
006bc80a heidisql.exe Vcl.Controls                     TWinControl.IsControlMouseMsg
006bd097 heidisql.exe Vcl.Controls                     TWinControl.WndProc
0076f960 heidisql.exe Vcl.ComCtrls                     TToolBar.WndProc
006bc41a heidisql.exe Vcl.Controls                     TWinControl.MainWndProc
005d4723 heidisql.exe System.Classes                   StdWndProc
76cc97d9 USER32.dll                                    DispatchMessageW
00857dce heidisql.exe Vcl.Forms                        TApplication.ProcessMessage
00857e43 heidisql.exe Vcl.Forms                        TApplication.HandleMessage
0085829a heidisql.exe Vcl.Forms                        TApplication.Run
011d0ed8 heidisql.exe heidisql                115  +41 initialization
76ba556b kernel32.dll                                  BaseThreadInitThunk
76e0372b ntdll.dll                                     RtlUserThreadStart

@ansgarbecker
Copy link
Collaborator

No, the EAccessViolation is not related to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants