> I tried a similar test case like yours and it works ok. Unfortunately my > program is extremely large and complicated. In fact I get other errors > like "conditional jump depends on uninitialized value" but these errors > exist in another part of the code entirely.
If the other errors include any illegal write to memory (outside the bounds of an allocated block) then such an error could scramble the data on which malloc depends. Now it is time to try strace: strace -e trace=mmap,mmap2,munmap,brk,mremap valgrind \ valgrind_args... ./my_app app_args... which gives an independent report of all the system calls which perform address-space manipulation, and includes the decoded system errno. -- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users