FastMM4 reporting Access Violation in UnregisterROClass

Hi,

I have a custom Delphi server that is reporting an Access Violation at the following place:

:035e9099 ; D:\Projects\Aquila\Project\bin\Win32\Debug\FastMM_FullDebugMode.dll
:035e92e1 FastMM_FullDebugMode.GetRawStackTrace + 0xc5
FastMM4.DebugGetMem(???)
:00407692 @GetMem + $A
:00412a63 UTF8ToString + $1F
uRORTTISupport.RORTTI_UnregisterROClass(TROComplexTypeClass($1016364),'RemObjects.DataAbstract.Server')
uROTypes.UnregisterROClass(TROComplexTypeClass($1016364),'RemObjects.DataAbstract.Server')
DataAbstractSimple_Intf.Finalization
:0040baf4 FinalizeUnits + $40
:0040bf45 @Halt0 + $B1
:75eafa29 KERNEL32.BaseThreadInitThunk + 0x19
:77507a9e ; 
:77507a6e ntdll.RtlGetAppContainerNamedObjectPath + 0xee

The actual line appears to be:

UnregisterROClass(SimpleRequestInfo, DefaultNamespace);

Any pointers on what I might be doing wrong or is it a known issue ?

Thanks
Stuart

Hi,

can you retest this issue with FastMM5, pls?

Yep sorted.

I guess it was similar to this, which I just found.

Thanks Evgeny !

1 Like