Forum > General
Heaptrc shows a line that does not exist
simone:
Dear all, I have a strange problem with Heaptrc, that shows a line that does not exist (i.e. the line number is greater than the number of lines in my unit)
How is it possible? is there a possible explanation? Thanks in advance.
Thaddy:
If the program is linked against libraries that do not contain line info. (like the rtl and provided packages)
If you are sure you do not use external - meaning non-native pascal - libraries, you can build the rtl and packages with lineinfo.
Martin_fr:
Seems strange...
You don't by any change use external debug info, and have an old outdated debug info file (*.dbg) around?
You should also have the address? then you can try and use gdb, to map the address to line info. Maybe that gets a better result?
simone:
Thanks to all. I don't use external library.
I'm working on Windows with Lazarus 1.8.4+FPC 3.0.4. The problem
arises with Lazarus for 64bits. Using the same version for 32 bits the heap
trace is correct and thus I have been able to find the leak.
Thaddy:
That is strange. Can you share what it was?
Navigation
[0] Message Index
[#] Next page