[fpc-pascal] Heap trace on mac still not working?
Hairy Pixels
genericptr at gmail.com
Mon Jul 1 03:49:01 CEST 2024
oh it uses external debug symbols! Now it's finally reporting some locations, thanks I should have been able to figure that out. Hmmm can't the compiler print stack traces without debug info? Maybe not.
> On Jun 30, 2024, at 9:34 PM, Jer Haan <jdehaan2014 at gmail.com> wrote:
>
> You also have to add -Xg, or ‘Use external debug symbols file’ in Laxarus
>
>
> Van: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> namens Hairy Pixels via fpc-pascal <fpc-pascal at lists.freepascal.org>
> Verzonden: vrijdag, juni 28, 2024 5:37 PM
> Aan: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
> CC: Hairy Pixels <genericptr at gmail.com>
> Onderwerp: [fpc-pascal] Heap trace on mac still not working?
> One more thing that's getting to me today. Heap trace on macOS still seems to be broken, i.e. using -gh I only get addresses and no line numbers. Has been for years it feels like. Is this is just broken forever? I see this issue from
> years ago still open. https://gitlab.com/freepascal.org/fpc/source/-/issues/32775
>
> 1275 memory blocks allocated : 2011994/2023248
> 1018 memory blocks freed : 1947786/1959032
> 257 unfreed memory blocks : 64208
> True heap size : 1245184 (96 used in System startup)
> True free heap : 1123264
> Should be : 1131528
> Call trace for block $0000000100760100 size 224
> $00000001001D2B74
> $00000001001CC0F0
> $00000001002D8A68
> $00000001002D8C08
> $00000001002D8F78
> $00000001002DEACC
> $00000001001D199C
> $00000001001BA254
> $00000001001DF02C
> $00000001001B9F80
> $00000001001BA228
> $000000018A4E60E0
>
>
>
> Regards,
> Ryan Joseph
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list