Message26376
Logged In: YES
user_id=4771
The bug is related to code like PyObject_GenericGetAttribute and _PyType_Lookup which are not careful about the reference counters of the objects they operate on. This allows a much simpler crash (test67.py): the __dict__ of an object can be decrefed away while lookdict() is looking at it. This has a simple fix -- drop some amount of Py_INCREF/Py_DECREF in core routines like PyObject_GenericGetAttr. We probably need to measure if it has a performance impact, though. |
|
Date |
User |
Action |
Args |
2007-08-23 14:34:48 | admin | link | issue1303614 messages |
2007-08-23 14:34:48 | admin | create | |
|