[issue9751] _PyInstance_Lookup() defeats its purpose

Armin Rigo report at bugs.python.org
Wed May 9 21:31:10 CEST 2012


Armin Rigo <arigo at users.sourceforge.net> added the comment:

Unlike other crashers I'm a bit concerned about this one.  It can occur on any code that stores custom instances as keys in the __dict__ of an old-style instance.  Such code might be unusual-looking, but certainly not unheard-of.  And the segfault that we get then is very rare and impossible to reproduce in practice because it depends on when exactly the GC is running and on the low bits of hashes colliding.

----------

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


More information about the Python-bugs-list mailing list