Petr Hlozek schrieb:
I'd like to do that and hopefuly already did but the app is quite big
and I'm not sure fo 100%. Is there any way how to find out with any
utility?
FastMM4 can do that with Delphi, dunno about an FPC version. It can
detect references to already destroyed objects, as well a
>> I added to all autocreated and used form into OnDestroy what you've
>> writen to me, in Project -> Option -> Debugging checked the -gh
>> option, Run -> Ru parameters in Environment tab added HEAPTRC
>> variable.
>>
>> After the crash, the callstack window shows
>>
>> #0 HEAPTRC_TRACEFREEMEMSIZ
On Fri, 27 Jun 2014 14:48:31 +0200
Petr Hlozek wrote:
> Thank you for the help!
>
> I added to all autocreated and used form into OnDestroy what you've
> writen to me, in Project -> Option -> Debugging checked the -gh
> option, Run -> Ru parameters in Environment tab added HEAPTRC
> variable.
>
Thank you for the help!
I added to all autocreated and used form into OnDestroy what you've
writen to me, in Project -> Option -> Debugging checked the -gh
option, Run -> Ru parameters in Environment tab added HEAPTRC
variable.
After the crash, the callstack window shows
#0 HEAPTRC_TRACEFREEMEM
On Fri, 27 Jun 2014 11:33:53 +0200
Petr Hlozek wrote:
> Hi,
>
> I have an Linux app, it has over 76k lines of code, 78 Forms and uses threads.
> After I close the app, it always crashes in
>
> function TScreen.GetCustomFormsZOrdered(Index: Integer): TCustomForm;
> begin
> Result := TCustomFor
Hi,
I have an Linux app, it has over 76k lines of code, 78 Forms and uses threads.
After I close the app, it always crashes in
function TScreen.GetCustomFormsZOrdered(Index: Integer): TCustomForm;
begin
Result := TCustomForm(FCustomFormsZOrdered[Index]);
end;
The index variable value is someth