Re: [Python-Dev] Python under valgrind

2008-12-01 Thread Kristján Valur Jónsson
nal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrvoje Niksic Sent: 28. nóvember 2008 13:52 Cc: Python-Dev Subject: Re: [Python-Dev] Python under valgrind Amaury Forgeot d'Arc wrote: > Did you use the suppressions file as suggested in Misc/README.valgrind? Tha

Re: [Python-Dev] Python under valgrind

2008-11-28 Thread Martin v. Löwis
> I suppose valgrind could be confused by PyFree's pool address validation > that intentionally reads the memory just before the allocated block, and > incorrectly attributes it to a previously allocated (and hence freed) > block, but I can't prove that. I agree this is the likely cause. To prove

Re: [Python-Dev] Python under valgrind

2008-11-28 Thread Hrvoje Niksic
Amaury Forgeot d'Arc wrote: Did you use the suppressions file as suggested in Misc/README.valgrind? Thanks for the suggestion (as well as to Gustavo and Victor), but my question wasn't about how to suppress the messages, but about why the messages appear in the first place. I think my last p

Re: [Python-Dev] Python under valgrind

2008-11-28 Thread Victor Stinner
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 suggeste

[Python-Dev] Python under valgrind

2008-11-28 Thread Amaury Forgeot d'Arc
Hrvoje Niksic wrote: > A friend pointed out that running python under valgrind (simply "valgrind > python") produces a lot of "invalid read" errors. Reading up on > Misc/README.valgrind only seems to describe why "uninitialized reads" should > occur, not invalid ones. For example: [...] > I supp

Re: [Python-Dev] Python under valgrind

2008-11-28 Thread Gustavo Carneiro
2008/11/28 Hrvoje Niksic <[EMAIL PROTECTED]> > A friend pointed out that running python under valgrind (simply "valgrind > python") produces a lot of "invalid read" errors. Reading up on > Misc/README.valgrind only seems to describe why "uninitialized reads" should > occur, not invalid ones. For

[Python-Dev] Python under valgrind

2008-11-28 Thread Hrvoje Niksic
A friend pointed out that running python under valgrind (simply "valgrind python") produces a lot of "invalid read" errors. Reading up on Misc/README.valgrind only seems to describe why "uninitialized reads" should occur, not invalid ones. For example: $ valgrind python [... lots of output .