Le Friday 28 November 2008 13:56:34 Amaury Forgeot d'Arc, vous avez écrit :
> Hrvoje Niksic wrote:
> > A friend pointed out that running python under valgrind (simply "valgrind
> > python") produces a lot of "invalid read" errors. (...) PyFree (...)
>
> Did you use the suppressions file as suggested in Misc/README.valgrind?
>
>    --suppressions=Misc/valgrind-python.supp

To be able to use the suppressions, Python have to be compiled with 
Py_USING_MEMORY_DEBUGGER. Edit Object/obmalloc.c near line 680.

-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to