Anyone seeing an AV in Generics.Collections.TListHelper.InternalDoDelete4?

Hello,

I have been getting from time to time madExcept reports from some installations with the following callstack:

thread $f20:
879b2bf1 +00 ???
500caf17 +8b rtl240.bpl        System            Generics.Collections.TListHelper.InternalDoDelete4
5016e986 +3e rtl240.bpl        System            Classes.TComponent.RemoveNotification
5016e9eb +13 rtl240.bpl        System            Classes.TComponent.RemoveFreeNotification
5016ea15 +21 rtl240.bpl        System            Classes.TComponent.Notification
517def0e +16 IndySystem240.bpl Idcomponent       TIdComponent.Notification
514c8a1b +37 IndyCore240.bpl   Idtcpconnection   TIdTCPConnection.Notification
5016e537 +33 rtl240.bpl        System            Classes.TComponent.RemoveFreeNotifications
5016e360 +14 rtl240.bpl        System            Classes.TComponent.Destroy
517decf1 +11 IndySystem240.bpl Idcomponent       TIdComponent.Destroy
514bc6bd +55 IndyCore240.bpl   Idiohandler       TIdIOHandler.Destroy
514c5dd4 +38 IndyCore240.bpl   Idiohandlersocket TIdIOHandlerSocket.Destroy
5005f79c +08 rtl240.bpl        System            TObject.Free
514c8b62 +8e IndyCore240.bpl   Idtcpconnection   TIdTCPConnection.SetIOHandler
514c8752 +26 IndyCore240.bpl   Idtcpconnection   TIdTCPConnection.Destroy
5005f79c +08 rtl240.bpl        System            TObject.Free
514cc184 +34 IndyCore240.bpl   Idcontext         TIdContext.Destroy
5005f79c +08 rtl240.bpl        System            TObject.Free
514cd502 +1e IndyCore240.bpl   Idthread          TIdThreadWithTask.Destroy
5005f79c +08 rtl240.bpl        System            TObject.Free
5985a97d +0d madExcept_.bpl    madExcept         CallThreadProcSafe
5985a9e2 +32 madExcept_.bpl    madExcept         ThreadExceptFrame
75303368 +10 kernel32.dll                        BaseThreadInitThunk

I know this doesn’t mention RemObjects at all, but the only use of Indy in my apps is within RemObjects SDK.

I don’t have any other specifics for this. I just get the emails from the app from time to time, from different installations. This is from a RemObjects SDK Server, running as a service, so the users don’t even notice when it happens, so no way for them to try to tell me what they were doing (in the clients) so I can try to reproduce it myself. The tests we conduct here haven’t produced this.

So, anyone is seeing something similar? For the callstack I would guess it happens when the clients disconnect, but it might not even be that. Maybe someone from RemObjects can share some light around this?

The server is compiled with C++Builder Berlin Update 2. It also happened with Update 1.

as I see System.Generics.Collections.TListHelper.InternalDoDelete4 was mentioned in https://quality.embarcadero.com/browse/RSP-11067 and https://community.embarcadero.com/de/forum/tools/1779-error-in-rtl220-bpl-on-project-close

Both cases it appears to be unrelated. The first one is a different kind of error, and the second one the call is not the last, as here, but somewhere in the middle of the callstack.

I will keep trying to reproduce this here and see if I can link it to some specific thing in Indy and/or ROSDK.