Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Pau Garcia i Quiles
On Fri, Oct 23, 2009 at 5:56 PM, Dixon, Shane shane.di...@atmel.com wrote:
 If linux has valgrind which is an open source memory checker, is there any
 equivalent on Windows?  I noticed ctest supports purify, but it looks like
 that's only a pay solution.  Am I out of luck trying to find a memory
 checker that's open source on Windows?

Though not on Windows but for Windows applications, you may want
to run Valgrind with wine:
http://wiki.winehq.org/Wine_and_Valgrind

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Bill Hoffman

Dixon, Shane wrote:
If linux has valgrind which is an open source memory checker, is there 
any equivalent on Windows?  I noticed ctest supports purify, but it 
looks like that's only a pay solution.  Am I out of luck trying to find 
a memory checker that's open source on Windows?




As far as I know this does not yet exist.

-Bill
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Steve Huston
 If linux has valgrind which is an open source memory checker, is
 there any equivalent on Windows?  I noticed ctest supports purify,
 but it looks like that's only a pay solution.  Am I out of luck
 trying to find a memory checker that's open source on Windows?

I've not heard of any. But IMO, Purify is worth the money IBM charges
for it - you'll save more than that in time spent tracking down memory
errors.

FWIW,
-Steve

--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Open Source Memory Checker

2009-10-23 Thread John Drescher
On Fri, Oct 23, 2009 at 2:13 PM, Steve Huston shus...@riverace.com wrote:
 If linux has valgrind which is an open source memory checker, is
 there any equivalent on Windows?  I noticed ctest supports purify,
 but it looks like that's only a pay solution.  Am I out of luck
 trying to find a memory checker that's open source on Windows?

 I've not heard of any. But IMO, Purify is worth the money IBM charges
 for it - you'll save more than that in time spent tracking down memory
 errors.


Does it work well with complex applications? I have used boundschecker
in the past (years ago) and now memoryvalidator but I find that these
are very difficult to use when there are thousands of memory
allocations tracked. I see way too many false positives (stl, boost,
qt,mfc ...) and other issues. Also with these the memory corruption
testing is way too slow to be helpful. It works fine on a small test
project but fails miserably in an application with 1 million lines of
code.

John
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Mateusz Loskot
Dixon, Shane wrote:
 If linux has valgrind which is an open source memory checker, is
 there any equivalent on Windows?  I noticed ctest supports purify,
 but it looks like that's only a pay solution.  Am I out of luck
 trying to find a memory checker that's open source on Windows?

Visual Leak Detector

http://dmoulding.googlepages.com/vld

It is not a fully featured memory debugger, but it is a very
good leak checker, at least.

Best regards
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Steve Huston
 On Fri, Oct 23, 2009 at 2:13 PM, Steve Huston 
 shus...@riverace.com wrote:
  If linux has valgrind which is an open source memory checker, is
  there any equivalent on Windows?  I noticed ctest supports
purify,
  but it looks like that's only a pay solution.  Am I out of luck
  trying to find a memory checker that's open source on Windows?
 
  I've not heard of any. But IMO, Purify is worth the money 
 IBM charges
  for it - you'll save more than that in time spent tracking 
 down memory
  errors.
 
 
 Does it work well with complex applications? I have used
boundschecker
 in the past (years ago) and now memoryvalidator but I find that
these
 are very difficult to use when there are thousands of memory
 allocations tracked. I see way too many false positives (stl, boost,
 qt,mfc ...) and other issues. Also with these the memory corruption
 testing is way too slow to be helpful. It works fine on a small test
 project but fails miserably in an application with 1 million lines
of
 code.

You can get a free trial and see how it works out for you.

-Steve

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Dixon, Shane
Does this work with CMake at all?

--
Shane Dixon
Linux Engineer


-Original Message-
From: Mateusz Loskot [mailto:mate...@loskot.net]
Sent: Fri 10/23/2009 1:21 PM
To: Dixon, Shane
Cc: cmake@cmake.org
Subject: Re: [CMake] Open Source Memory Checker
 
Dixon, Shane wrote:
 If linux has valgrind which is an open source memory checker, is
 there any equivalent on Windows?  I noticed ctest supports purify,
 but it looks like that's only a pay solution.  Am I out of luck
 trying to find a memory checker that's open source on Windows?

Visual Leak Detector

http://dmoulding.googlepages.com/vld

It is not a fully featured memory debugger, but it is a very
good leak checker, at least.

Best regards
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Mateusz Loskot
Dixon, Shane wrote:
 Does this work with CMake at all?

I don't know what would be CMake specific about that.
VLD is just a library. CMake is a builder.
You can build your program with CMake and link against VLD.
That's for sure.

Next, run your program under Visual C++ debugger to perform the analysis
and get result.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake