[fpc-pascal] FPC + valgrind massif problems

Michalis Kamburelis michalis.kambi at gmail.com
Fri May 11 11:07:00 CEST 2012


Ludo Brands wrote:
>> - Maybe there's a workaround? IOW, can someone successfully
>> use massif
>> with FPC programs?
>>
>
> This is known problem not related to fpc. Run
>
> valgrind --tool=massif --run-libc-freeres=no  ./trivial_alloc
>

Fantastic, many thanks, it works like a charm now! :) Both on trivial 
tests, as well as my large 3D viewer (view3dscene). Thank you! Oh, and I 
see this hint was just added to the 
http://wiki.lazarus.freepascal.org/Profiling too.

Michalis



More information about the fpc-pascal mailing list