Find the answer to your Linux question:
Results 1 to 2 of 2
hello, can any body tell me , what is the difference between valgrind and electric fence .... or pls give me a suggestion where i can get the difference between ...
  1. #1
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    107

    doubt on gdb

    hello,

    can any body tell me , what is the difference between valgrind and electric fence ....

    or pls give me a suggestion where i can get the difference between them...


    Thanks in Advance

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    18
    Valgrind will show you leaks in memory, how many memory blocks where allocated, how many freed, etc. If it comes to 'electric fence' it runs your program and stops when there is a problem with memory (allocated by malloc for example) and displays the line of the code which caused the error.

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...