Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - finding memory leaks with librcheck or libmalloc: Page 1 of 6 (6 Items)
   
finding memory leaks with librcheck or libmalloc  
Hi,

I'm trying to find some memory leak on a running program on my target.
I've seen the subject wiki3513, but when I set the following environment variable:
export LD_PRELOAD=librcheck.so.1
and run my program, I'v the error message :
# unknown symbol: pthread_setname_np
unknown symbol: __ldd_deregister_eh
unknown symbol: __ldd_register_eh
Could not resolve all symbols

How can I fix that?

Is it possible to do the same thing with the libmalloc?
With the libmalloc tool I get a dump file (using MALLOC_DUMP_LEAKS=/tmp/leak_mem), but I miss the allocation backtrace.

Maÿlis