[Qt-interest] Replace Qt Allocator

andrew.m.goth at l-3com.com andrew.m.goth at l-3com.com
Wed Sep 16 17:02:49 CEST 2009


Eric Clark wrote:
> Are there any direct calls to malloc() in the code that I am unaware 
> of?

Try setting breakpoints on the libc malloc() and free() functions.  Or try LD_PRELOAD hackery to override malloc() and free() to print a log with backtraces before chaining to either the libc implementations or the nedmalloc variants.

Information on getting a backtrace:

http://www.delorie.com/gnu/docs/glibc/libc_665.html

-- 
Andy Goth
<amgoth at link.com>




More information about the Qt-interest-old mailing list