I try to isolate an error:
Code: Select all
exception class : EAccessViolation
exception message : Access violation at address 0040B438 in module 'Logo12.exe'. Read of address 3FDFFFF8.
main thread ($ac4):
0040b438 Logo12.exe System 24262 @UStrClr
0040d140 Logo12.exe System 31492 @FinalizeArray
0040d064 Logo12.exe System 31258 @FinalizeRecord
00409538 Logo12.exe System 16691 TObject.CleanupInstance
0040931d Logo12.exe System 16460 TObject.FreeInstance
004b4649 Logo12.exe madExcept 17205 InterceptClassDestroy
01b49748 Logo12.exe BSTreeSearch 197 TBSTreeSearchEdit.Destroy
004094a8 Logo12.exe System 16529 TObject.Free
0379638c Logo12.exe viewConfigGebiet 56 TFViewConfigGebiet.DoFinalizeView
0233d99c Logo12.exe BSDock 512 TBSDockPanel.LoadView
0233d512 Logo12.exe BSDock 419 TBSDockPanel.ClearView
0233d788 Logo12.exe BSDock 453 TBSDockPanel.Destroy
004094a8 Logo12.exe System 16529 TObject.Free
0233d452 Logo12.exe BSDock 389 TBSDockPanel.TdxDockPanelEx.Destroy
004094a8 Logo12.exe System 16529 TObject.Free
0233cac2 Logo12.exe BSDock 221 TBSDockManager.Clear
0233d3db Logo12.exe BSDock 372 TBSDockManager.SetLayoutSettings
02f17efb Logo12.exe BSModulEntity 505 TFBSModulEntity.ConfigurationLoadExecute
02f1d5b1 Logo12.exe BSModulEntity 1283 TFBSModulEntity.UpdateSettingsMenu$73$ActRec.$2$Body
01b05f11 Logo12.exe BSActnList 653 TBSAction.Execute
005443d3 Logo12.exe System.Classes 16594 TBasicActionLink.Execute
01aa5abb Logo12.exe BSRibbon 705 TBSBarLargeButton.OnClickButton
01858cef Logo12.exe dxBar 26075 TdxBarItem.DoClick
01aa5267 Logo12.exe BSRibbon 564 TBSBarButton.DoClick
01858c7b Logo12.exe dxBar 26065 TdxBarItem.DirectClick
01888af5 Logo12.exe dxBar 44805 TdxBarItemControl.ControlUnclick
0188d5e4 Logo12.exe dxBar 46935 TdxBarButtonControl.ControlUnclick
0189daac Logo12.exe dxBar 53744 TCustomdxBarControl.DoLButtonUp
0189c06f Logo12.exe dxBar 53038 TCustomdxBarControl.WMLButtonUp
007136ee Logo12.exe Vcl.Controls 7313 TControl.WndProc
00718239 Logo12.exe Vcl.Controls 10143 TWinControl.WndProc
0189cdf0 Logo12.exe dxBar 53389 TCustomdxBarControl.WndProc
00717858 Logo12.exe Vcl.Controls 9850 TWinControl.MainWndProc
005452c4 Logo12.exe System.Classes 17187 StdWndProc
006e938f Logo12.exe Vcl.Forms 10534 TApplication.ProcessMessage
- it only happens when running the app outside the IDE.
- it does not always happen when running these lines of the code.
- it doesn't happen if I start to add log messages (write a string to a text file).
So it's very hard to fix it for me, maybe somebody can give me a hint, how to isolate the problem.
cu ck