[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    [opensuse-packaging] python and valgrind
From:       Martin Vidner <mvidner () suse ! cz>
Date:       2007-11-12 9:44:43
Message-ID: 20071112094443.GA1713 () valkyrie ! suse ! cz
[Download RAW message or body]

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:

mvidner@valkyrie:~$ 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?

mvidner@valkyrie:~$ 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


["PyObject_Free-sucks.supp" (text/plain)]

{
  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.*
}

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic