<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/19085/Valgrind_3_3_0_Released</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Mon, 09 Nov 2009 02:49:39 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>nice</title>
			<link>http://osnews.com/thread?293092</link>
			<guid isPermaLink="true">http://osnews.com/thread?293092</guid>
			<description>Valgrind is a great tool and any speed increases (and above all good error messages) are most welcome.</description>
			<pubDate>Tue, 25 Dec 2007 09:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (johkra)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>A tool like no other</title>
			<link>http://osnews.com/thread?293097</link>
			<guid isPermaLink="true">http://osnews.com/thread?293097</guid>
			<description>Yes, Valgrind was already a amazing tool to show all about your program memory (consumption, leaks, ...). It already helped me really often and ... it is so easy to use !<br />
<br />
Thanks to the Valgrind team.</description>
			<pubDate>Tue, 25 Dec 2007 11:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (corto)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>A real time saver</title>
			<link>http://osnews.com/thread?293099</link>
			<guid isPermaLink="true">http://osnews.com/thread?293099</guid>
			<description>Valgrind has helped me a lot with my foolish errors.<br />
<br />
Thanks guys.</description>
			<pubDate>Tue, 25 Dec 2007 11:40:00 GMT</pubDate>
			<author>donotreply@osnews.com (fithisux)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Oh baby</title>
			<link>http://osnews.com/thread?293101</link>
			<guid isPermaLink="true">http://osnews.com/thread?293101</guid>
			<description>Helgrind is back! Too bad I needed it for my last project, a half year ago.</description>
			<pubDate>Tue, 25 Dec 2007 11:45:00 GMT</pubDate>
			<author>donotreply@osnews.com (czubin)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Wonderful tool</title>
			<link>http://osnews.com/thread?293125</link>
			<guid isPermaLink="true">http://osnews.com/thread?293125</guid>
			<description>I agree, Valgrind is a wonderful tool that all programmers should use. The only downside is that it's Linux only; that means I can't use it on my NetBSD box. <img src="/images/emo/sad.gif" alt=";)" /></description>
			<pubDate>Tue, 25 Dec 2007 16:41:00 GMT</pubDate>
			<author>donotreply@osnews.com (patrick_)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>I like it</title>
			<link>http://osnews.com/thread?293154</link>
			<guid isPermaLink="true">http://osnews.com/thread?293154</guid>
			<description>I like valgrind</description>
			<pubDate>Wed, 26 Dec 2007 01:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (jessta)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Wonderful tool</title>
			<link>http://osnews.com/thread?293155</link>
			<guid isPermaLink="true">http://osnews.com/thread?293155</guid>
			<description>Works fine on my FreeBSD box, and I would assume it works fine on NetBSD, especially considering its on the experimental list at <a href="http://valgrind.org/info/platforms.html" rel="nofollow">http://valgrind.org/info/platforms.html</a></description>
			<pubDate>Wed, 26 Dec 2007 02:15:00 GMT</pubDate>
			<author>donotreply@osnews.com (ValiantSoul)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Saved my butt</title>
			<link>http://osnews.com/thread?293163</link>
			<guid isPermaLink="true">http://osnews.com/thread?293163</guid>
			<description>This tool is amazing.  Memory errors suck.  I had a case where my program was segfaulting... I go to debug it and just compiling it with -O0 -g to get line numbers and symbols for debugging and the program stopped segfaulting.  I tried compiling it the same and resorting to debugging via printf.  Just adding a single printf statement and there is no more segfault.<br />
<br />
So I knew I had a memory error but no way to debug it.<br />
I actually hacked something up using macros and search/replace of my editor to print out a %P (or whatever prints a pointer address) in every single malloc and calloc.  Then before free'ing the pointers I printed out their addresses.  Each print statement had a unique number so I could tell where things were being double free'd or malloc'ed but not freed.<br />
I eventually found the problem.<br />
<br />
Anyway, it was a hack and I didn't like it.  I removed all that debugging code and went on.  The next time I had a memory error I looked around and found valgrind.  It was so fast and I wished I knew about it the first time though.<br />
<br />
It really is a great tool.  It will find memory errors that only creep up in rare instances.  I have ported programs from Solaris to Linux and Windows.  The memory error may show up on one but not the others.<br />
<br />
Anyway, as great as a tool that this is... when I start writing a C program, the second I type malloc or calloc, I just say &quot;why bother&quot; and use Java instead.<br />
<br />
Yeah, I know there are weird extensions to GCC that allow for array bounds checking and you can use valgrind, but with Java you get that stuff out of the box, complete with a stack trace.<br />
<br />
Anyway, I'm rambling and this post is getting long, so I'll just say MERRY CHRISTMAS EVERYBODY!<br />
<br />
~Eric</description>
			<pubDate>Wed, 26 Dec 2007 06:07:00 GMT</pubDate>
			<author>donotreply@osnews.com (FunkyELF)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Re: I like it</title>
			<link>http://osnews.com/thread?293204</link>
			<guid isPermaLink="true">http://osnews.com/thread?293204</guid>
			<description>I like it, too</description>
			<pubDate>Wed, 26 Dec 2007 14:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (ozmo)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Wonderful tool</title>
			<link>http://osnews.com/thread?293415</link>
			<guid isPermaLink="true">http://osnews.com/thread?293415</guid>
			<description>Right; the FreeBSD port, I believe, is much further along than the NetBSD port. The NetBSD port was/is on hold the last time I checked.<br />
<br />
I guess I _could_ try it out though. Worth a try.</description>
			<pubDate>Thu, 27 Dec 2007 15:41:00 GMT</pubDate>
			<author>donotreply@osnews.com (patrick_)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: Wonderful tool</title>
			<link>http://osnews.com/thread?293489</link>
			<guid isPermaLink="true">http://osnews.com/thread?293489</guid>
			<description>Unfortunately, at this point the netbsd port is still on hold. <br />
Time is very scarce for me at this point to continue this and its unfair to claim that work is happening when it isnt. <br />
The freebsd port is very old (2.X). Valgrind's internals have been greatly overhauled since then. The NetBSD port tracks the 3.x branch but is stagnanting. However for simple programs the netbsd port is in a usable state. The basic framework is in place but a lot of &quot;wrappers&quot;  to syscalls need to be written due to the way Valgrind works..</description>
			<pubDate>Fri, 28 Dec 2007 07:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (hsaliak)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
