Your OS?
Do you get this output on the console? Or in a pop-up window, when your app closes?
It's a bit strange. Normally after each line "Call trace for ..." there should be an actual trace, like:
$00000001001464CD Notify, line 288 of lazclasses.pas
$00000001000DB826 DELETE, line 746 of ../objpas/classes/lists.inc
$00000001000DB7B7 CLEAR, line 735 of ../objpas/classes/lists.inc
$00000001000DB4A8 DESTROY, line 657 of ../objpas/classes/lists.inc
$0000000100013079 FREE, line 336 of ../inc/objpas.inc
Sometimes the filenames and lines are missing, then debug info needs to be added (and if debug info is there, the IDE may be able to resolve address only lines, but that is a topic for when you have addresses (not for the "block", but for the callstack where the leak happened).
Normally addresses are even listed, if this happens in the kernel. Or OS libraries.
Though, I can only speak for Win and Linux.
It all depends on what FPC supports for your OS. ( Your FPC version? )
No idea why you do not get traces...
- But you did use
-gh ?
- You did not do "uses heaptrc" (in any of your units, or any unit that is somehow ending up in your app).
- You also have not chosen a different mem-manager? Like "CMem" ?
In any case, make sure you have "debug info" enabled (ideally dwarf, if supported for your OS, eg Win, Linux).
-gwAlso, specify
-glIf you are on Linux (and have debug info enabled) you can try (maybe add a logfile too)
valgrind --tool=memcheck yourapp
This does not actually need heaptrc / -gh // But it needs debug info too (dwarf)