Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

dmalloc et al...

$
0
0

Hi all, 

    Anyone figure out how to use the dmalloc *.so to detect memory leaks on this platform?  I've done the following steps:

- enabled dmalloc in the buildroot menuconfig, rebuilt the rootfs

- LD_PRELOAD=libdmallocthcxx.so ./<my-cpp-program>.stripped

I'm getting this error:  undefined reference to atexit in libdmallocthcxx.so

Thanks, Charles


Viewing all articles
Browse latest Browse all 1583

Trending Articles