[Python-Dev] Python under valgrind (original) (raw)
Victor Stinner victor.stinner at haypocalc.com
Fri Nov 28 14:09:12 CET 2008
- Previous message: [Python-Dev] Python under valgrind
- Next message: [Python-Dev] Python under valgrind
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: [Python-Dev] Python under valgrind
- Next message: [Python-Dev] Python under valgrind
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]