roxen.lists.pike.general

Subject Author Date
Re: cmod inherit question Martin Stjernholm <mast[at]lysator[dot]liu[dot]se> 10-11-2009
Johan Björklund <<johbjo09[at]kth.se>> skrev:

> I think "--with-cleanup-on-exit" is the one I was really thinking of.
> It gives a list of the leaked objects with line numbers?

You get line numbers where the block has been only if you combine it
with --with-dmalloc, but note that it also makes pike a lot slower and
memory consuming. If you also add --with-dmalloc-c-stack-trace, you'll
get backtraces of the C stack where the leaked blocks were allocated,
provided you're using GNU libc.