Hi
Is there something I missing when compiling aarch64. Heap trace report memory leaks when added a DTAnalogGauge.
I use the latest version 8
FPC 3.2.2
Lazarus V3
Added a timer with code below
DTAnalogLoad.Position:= Random (5000);
if DTAnalogLoad.Position > 3000 then
DTAnalogLoad.FaceSettings.ColorEnd := Clred;
else
DTAnalogLoad.FaceSettings.ColorEnd := ClLime;
Heaptrace +- 2252 with in a 2 sec runtime
Call trace for block $0000007FA4533B80 size 0
$00000000009504A4 GETCUSTOMPENSTYLE, line 1159 of bgrapen.pas
$00000000009511D8 COMPUTEPOLYLINE, line 1288 of bgrapen.pas
$00000000008649A8 DRAWLINEANTIALIAS, line 1012 of unibitmapgeneric.inc
$0000000000842170 DRAWGAUGENEEDLE, line 394 of dtanaloggauge.pp
$0000000000841334 DRAWGAUGE, line 176 of dtanaloggauge.pp
$00000000008422F0 PAINT, line 455 of dtanaloggauge.pp
$0000000000584560 WMPAINT, line 58 of include/graphiccontrol.inc
$0000000000435B64
$0000000000579930 WNDPROC, line 2299 of include/control.inc
$0000000000577A24 PERFORM, line 1625 of include/control.inc
$0000000000569984 PAINTCONTROLS, line 4970 of include/wincontrol.inc
$00000000005696A4 PAINTHANDLER, line 4881 of include/wincontrol.inc
$000000000056E300 WMPAINT, line 6825 of include/wincontrol.inc
$0000000000584C7C WMPAINT, line 103 of include/customcontrol.inc
$0000000000435B64
$0000000000579930 WNDPROC, line 2299 of include/control.inc
Call trace for block $0000007FA4533AA0 size 0
$00000000009504A4 GETCUSTOMPENSTYLE, line 1159 of bgrapen.pas
$00000000009511D8 COMPUTEPOLYLINE, line 1288 of bgrapen.pas
$00000000008649A8 DRAWLINEANTIALIAS, line 1012 of unibitmapgeneric.inc
$0000000000841D44 DRAWGAUGESCALE, line 352 of dtanaloggauge.pp
$0000000000841324 DRAWGAUGE, line 175 of dtanaloggauge.pp
$00000000008422F0 PAINT, line 455 of dtanaloggauge.pp
$0000000000584560 WMPAINT, line 58 of include/graphiccontrol.inc
$0000000000435B64
$0000000000579930 WNDPROC, line 2299 of include/control.inc
$0000000000577A24 PERFORM, line 1625 of include/control.inc
$0000000000569984 PAINTCONTROLS, line 4970 of include/wincontrol.inc
$00000000005696A4 PAINTHANDLER, line 4881 of include/wincontrol.inc
$000000000056E300 WMPAINT, line 6825 of include/wincontrol.inc
$0000000000584C7C WMPAINT, line 103 of include/customcontrol.inc
$0000000000435B64
$0000000000579930 WNDPROC, line 2299 of include/control.inc
Task manager startup +-26MB
Task manager +-10 hours 127.4MB VM at 143MB