Re: [fpc-pascal] heaptrc unit output

2009-03-31 Thread Alan Krause
Thanks much for the FYI, Jonas. Alan On Tue, Mar 31, 2009 at 1:02 PM, Jonas Maebe wrote: > It's a shared library issue. It has been fixed for a number of platforms in > 2.2.4: http://bugs.freepascal.org/view.php?id=4171 (I don't know about > Linux though, but I think so). > __

Re: [fpc-pascal] heaptrc unit output

2009-03-31 Thread Jonas Maebe
On 31 Mar 2009, at 20:12, Alan Krause wrote: I am using fpc 2.2.0, and building the shared library as follows: fpc -Sd -Cgiro -g -gh -gl -dDEBUG library.pas -Fu../path1 -Fu../path2 -Fu../path3 Am I missing anything, or is this a shared library issue? It's a shared library issue. It has been

[fpc-pascal] heaptrc unit output

2009-03-31 Thread Alan Krause
I've been using the heaptrc unit in DEBUG versions of my application to detect memory leaks. However, when a memory leak is detected, it does not include any information on the unit, line number, etc - just the hex addresses, like this: Heap dump by heaptrc unit 15648 memory blocks allocated : 692