Re: [gnome-db] Diagnosing Memory Allocation Problems



On Mon, 2 Jun 2003 23:09:59 +0100
I <lists pelvoux nildram co uk> wrote:

> I suspect either heap corruption or a double-free etc being
> responsible for these but these can be hard to track down.  Does
> anyone know of a debugging memory allocator that can be attached via
> the glib GMemVtable interface rather than having to re-compile a very
> large number of libraries?

I should have looked at the documentation a little harder.  The trick
required is:

g_mem_set_vtable(glib_mem_profiler_table);

Steve.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]