Thank you. My executable was a statically linked one.
Will change it to a dynamic executable and hope to have no issues.
-Vignesh
On Saturday, 24 May 2014, 23:24, Philippe Waroquiers
<philippe.waroqui...@skynet.be> wrote:
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
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users