Closed GoogleCodeExporter closed 9 years ago
This must be related to the attribute lookup optimizations, since I modified
_PyType_Lookup. I can't reproduce on Linux, so I'm working on updating and
building
Unladen under OS X.
Original comment by reid.kle...@gmail.com
on 12 Dec 2009 at 6:45
I'm unable to reproduce this. I'm starting to think that the real problem is
that I
added a member to the end of PyTypeObject, which when allocated as a global
defaults
to NULL. However, if any one is allocating a PyTypeObject on the heap without
initializing it to 0, then we could see a junk value there.
The nondeterminism of test_sys failing when run via regrtest and not when run
alone
suggests that this is an uninitialized memory bug.
Another possible source of the problem is a C extension module that didn't get
rebuild when I modified object.h.
Original comment by reid.kle...@gmail.com
on 12 Dec 2009 at 6:12
This looks like it was related to the segfault fixed in r941, since I can't
provoke it
anymore after that change. Will reopen if it returns.
Original comment by collinw
on 22 Dec 2009 at 2:27
Original issue reported on code.google.com by
collinw
on 11 Dec 2009 at 9:38