Jump to content
dummzeuch

Access violations when closing the IDE

Recommended Posts

I must have screwed something lately, because nearly every time I close the IDE (any version of it) I get an access violation. The only reason I can think of is that I made a change to GExperts that causes it.

 

Does anybody else, who recently compiled GExperts from sources, experience the same problem?

Share this post


Link to post

Yes, there is something with Synedit...... But not every time
I will compile it with Madexcept enabled, maybe I will see more

  • Thanks 1

Share this post


Link to post

This is from Xe7:

exception message  : Assertion fehlgeschlagen (D:\Komps\Gexperts\externalsource\UniSynEdit\SynTextDrawer.pas, Zeile 469). main thread ($b60): 1394d934 +00 GExpertsRSXE7.dll 5005f108 +08 rtl210.bpl        System          15885  +1 TObject.Free 50060a1a +3e rtl210.bpl        System          22260 +17 FinalizeUnits 5985b984 +54 madExcept_.bpl    madExcept                 InterceptFinalizeUnits 5985b98c +00 madExcept_.bpl    madExcept                 InterceptHalt0FinalizeUnits 50061094 +ac rtl210.bpl        System          23640 +82 @Halt0 7778fba0 +80 ntdll.dll                                   LdrUnloadDll 76a41f70 +10 KERNELBASE.dll                              FreeLibrary 5005f108 +08 rtl210.bpl        System          15885  +1 TObject.Free 2063a341 +19 coreide210.bpl    ExptMain          210  +3 TExpertServices.Destroy 5005f108 +08 rtl210.bpl        System          15885  +1 TObject.Free 5070bc1d +31 vcl210.bpl        Vcl.Forms        3758  +3 TCustomForm.DoDestroy 5070ba52 +52 vcl210.bpl        Vcl.Forms        3722 +23 TCustomForm.Destroy 210f57bb +3b designide210.bpl  DeskForm          842  +8 TDesktopForm.Destroy 5005f108 +08 rtl210.bpl        System          15885  +1 TObject.Free 5016bf93 +57 rtl210.bpl        System.Classes  15390  +9 TComponent.DestroyComponents 50709541 +35 vcl210.bpl        Vcl.Forms        2167  +9 DoneApplication 5008f8a9 +21 rtl210.bpl        System.SysUtils  5768  +6 DoExitProc 50061052 +6a rtl210.bpl        System          23602 +44 @Halt0 74718482 +22 KERNEL32.DLL                                BaseThreadInitThunk

Share this post


Link to post

I have this problem on 7 , XE? (not sure),10.2.1 BUT NOT ON 10.2.3

But 10.2.3 is just updated. 

BUT after a while it happens.

I do not thing it has to do with GEXPERT but

rather with new components

 

It happens after working a few month with Delphi.

I am use to it by now

Edited by limelect

Share this post


Link to post

Application Error in SynTextDrawer.pas occurred after each closing Rad Studio IDE 10.2.3. After that AV message window displayed. This error start from revision 2421 26.10.2018 "IsFavMenuVisible now gets persisted" and exist in last revision 2436 still

2018-11-22_15h45_31.png

2018-11-22_15h48_47.png

2018-11-22_15h53_11.png

Edited by Dinar
  • Thanks 1

Share this post


Link to post
17 minutes ago, Dinar said:

Application Error in SynTextDrawer.pas occurred after each closing Rad Studio IDE 10.2.3. After that AV message window displayed. This error start from revision 2421 26.10.2018 "IsFavMenuVisible now gets persisted" and exist in last revision 2436 still

Thanks, I hope that will help me find the problem. I already suspected the Favorites-Menu, but your unformation confirms that. (I'm busy otherwise right now, this won't happen before the weekend.)

Edited by dummzeuch
  • Like 1

Share this post


Link to post

The AV just happened to me without the code for the Favorites menu but with most other changes since revision 2415. So it must be something else. (Or it is was pure chance.)

 

I'm going to check all other changes. maybe it's one of them, but most look fairly innocuous. But not today.

Share this post


Link to post

Is there a way to check for a memory leak in an IDE package?

ReportMemoryLeaksOnShutdown does not work in packages.

Share this post


Link to post
3 hours ago, Kryvich said:

Is there a way to check for a memory leak in an IDE package?

ReportMemoryLeaksOnShutdown does not work in packages.

Not that I know of. Since packages use the same memory manager as the IDE itself, I doubt that it is possible.

Share this post


Link to post
On 11/21/2018 at 7:35 PM, dummzeuch said:

Does anybody else, who recently compiled GExperts from sources, experience the same problem?

Currently, I am using r3592 in Delphi 11. No AV when closing the IDE (some previous versions did). However, I get an AV with CnWizards when closing the IDE. What could be the cause?

Share this post


Link to post
1 hour ago, PeterPanettone said:

Currently, I am using r3592 in Delphi 11. No AV when closing the IDE (some previous versions did). However, I get an AV with CnWizards when closing the IDE. What could be the cause?

My guess would be: CnWizards

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×