[issue12149] Segfault in _PyObject_GenericGetAttrWithDict

Antoine Pitrou report at bugs.python.org
Sun May 22 20:22:20 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is a quick script to reproduce. It seems that the type of the object has to be caught in a reference cycle for this to happen: apparently the descriptors start being deallocated but the method cache isn't updated yet (?).

----------
nosy: +amaury.forgeotdarc, benjamin.peterson
versions: +Python 3.1
Added file: http://bugs.python.org/file22071/dying.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12149>
_______________________________________


More information about the Python-bugs-list mailing list