I experimented with Valgrind on Squid yesterday, and couldn't make much
sense of the results (still reading the docs). Looked like all
complaints were about system libraries rather than Squid itself...But
then, I don't think I was using it correctly either. ;-)
I'll keep prodding at it in my spare time, as it looks like a nifty tool
that I'd be better off knowing how to use.
Florin Andrei wrote:
> http://developer.kde.org/~sewardj/
>
> Valgrind is a GPL'd tool to help you find memory-management problems in
> your programs. When a program is run under Valgrind's supervision, all
> reads and writes of memory are checked, and calls to
> malloc/new/free/delete are intercepted. As a result, Valgrind can detect
> problems such as:
>
> * Use of uninitialised memory
> * Reading/writing memory after it has been free'd
> * Reading/writing off the end of malloc'd blocks
> * Reading/writing inappropriate areas on the stack
> * Memory leaks -- where pointers to malloc'd blocks are lost forever
> * Passing of uninitialised and/or unaddressible memory to system
> calls
> * Mismatched use of malloc/new/new [] vs free/delete/delete []
> * Some misuses of the POSIX pthreads API
>
-- Joe Cooper <joe@swelltech.com> Web caching appliances and support. http://www.swelltech.comReceived on Mon Jul 29 2002 - 12:48:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:54 MST