[bf-committers] anyone up for a challenge?

Stephen Swaney sswaney at centurytel.net
Wed Oct 25 00:00:10 CEST 2006

On Tue, Oct 24, 2006 at 02:50:14PM -0500, Kent Mein wrote:

> Yep I've used valgrind a bit, as with any tool they will have false positives
> some times.  While I've only looked through things for an hour or two
> here and there, so far it seems very accurate.  I have found one issue
> that was miss reported though, so I'm sure there will be others.

Since Python allocates memory like a house on fire, it maintains its
own internal memory pool.  This confuses tools like valgrind unless
steps are taken ( like the valgrind py suppression file ) to filter
out the noise.

That said, some of the things on Kent's list look either bad or suspicious.
Things like 
 Dereference of 'end' iterator   26
are definitely suspects.  

note: in the C+ Standard Template Library, end() returns an iterator
just past the end of a collection, dammit.  It is not the last element.

Stephen Swaney			
sswaney at centurytel.net

More information about the Bf-committers mailing list