On Sat, 2014-05-24 at 12:21 +0100, Vignesh wrote:

> 
> ==268== HEAP SUMMARY:
> ==268==     in use at exit: 0 bytes in 0 blocks
> ==268==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
This seems to indicate that malloc interception is not working.

Try to run with -v -v -v -d -d -d -trace-redir=yes
and look in the trace to see what is going wrong.

Note that your application cannot be statically linked,
otherwise redir of malloc et al does not work.
(the dynamic linker must be invoked).
The malloc library itself can be statically linked but
you need to use --soname-synonyms=somalloc=NONE 
arg then.

Philippe




------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to