Hi,
when hunting a bug in yast2-python-bindings I tried to use valgrind
on python. How silly of me! Errors from inside python all over the
place:
[EMAIL PROTECTED]:~$ valgrind python -c "print 'hello'" 2>&1 | wc -l
558
I am attaching a suppression file to fix that.
Can't python use more civilized code? Apparently not, as explained
in http://svn.python.org/projects/python/trunk/Misc/README.valgrind
Can valgrind include this suppression by default?
[EMAIL PROTECTED]:~$ valgrind --suppressions=PyObject_Free-sucks.supp python -c
"print 'hello'" 2>&1 | wc -l
23
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
{
python-sux0rz-v
Memcheck:Value4
fun:PyObject_Free
obj:/usr/lib*/libpython2.5.so.*
}
{
python-sux0rz-a
Memcheck:Addr4
fun:PyObject_Free
obj:/usr/lib*/libpython2.5.so.*
}
{
python-sux0rz-c
Memcheck:Cond
fun:PyObject_Free
obj:/usr/lib*/libpython2.5.so.*
}