HeapTrc interference with FillByte
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Without -gh (heap trace):
...
Target OS: Linux for i386
Compiling poc.pp
Linking poc
15 Lines compiled, 0.1 sec
[amarti@localhost test]$ ./poc
0
[amarti@localhost test]$
Compiled with -gh:
[amarti@localhost test]$ ./poc
-559038737
Heap dump by heaptrc unit
1 memory blocks allocated : 4/8
1 memory blocks freed : 4/8
0 unfreed memory blocks : 0
True heap size : 294912 (16 used in System startup)
True free heap : 294896
[amarti@localhost test]$
FillByte fails when HeapTrace is used. Looks like a bug.
Additional information:
Reporter: Antonio Marti
EMail: windowze2000 at yahoo dot es
Mantis conversion info:
- Mantis ID: 5739
- OS: Linux
- Version: 1.9.8