[Python-Dev] Debug entry points for PyMalloc

Guido van Rossum guido@python.org
Thu, 21 Mar 2002 10:19:45 -0500


> We have one already:  turn off pymalloc.  How useful has, e.g., the debug
> Linux malloc been for you in finding memory problems?

The only one I've used is electric fence.  It's slow as a pig, but
catches virtually all bad writes at the point of writing.  I've used
it with great success once or twice (during the early stages of
developing new-style classes I wrote a lot of rough C code).

--Guido van Rossum (home page: http://www.python.org/~guido/)