[fpc-pascal] Free Pascal 3.0.4-rc1 released!

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Sep 6 10:19:18 CEST 2017


On 2017-07-18 09:44, Marco van de Voort wrote:
> You can help improve the upcoming 3.0.4 release by downloading and
> testing this release.

I've been using FPC 3.0.4 for a while now under 64-bit FreeBSD. I've 
noticed that a tracelog with line info generated by the applications are 
not working as they did in FPC 2.6.4. I then tested with FPC 3.0.2, and 
it seems broken there too (I've never really used FPC 3.0.x for 
production code yet). The problem - there is no line information.

For example:


****** Compiled with FPC 3.0.2 or FPC 3.0.4 - no line info

[t1]$ ./project1
THook did it
Heap dump by heaptrc unit
4 memory blocks allocated : 115/120
2 memory blocks freed     : 67/72
2 unfreed memory blocks : 48
True heap size : 1146880 (32 used in System startup)
True free heap : 1146496
Should be : 1146544
Call trace for block $00000008007390C0 size 32
Call trace for block $00000008007310C0 size 16



****** Compiled with FPC 2.6.4 - not the line info pointing to
****** the originating point of a memory leak

[t1]$ ./project1
THook did it
Heap dump by heaptrc unit
4 memory blocks allocated : 99/104
2 memory blocks freed     : 51/56
2 unfreed memory blocks : 48
True heap size : 1146880 (32 used in System startup)
True free heap : 1146496
Should be : 1146544
Call trace for block $00000008007370C0 size 32
   $0000000000400379 line 35 of project1.lpr
Call trace for block $000000080072F0C0 size 16


Regards,
   Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list