Changes between Version 6 and Version 24 of Ticket #13896


Ignore:
Timestamp:
01/03/13 21:47:45 (8 years ago)
Author:
robertwb
Comment:

Spkg up at http://sage.math.washington.edu/home/robertwb/patches/cython-0.17.4.spkg

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13896

    • Property Status changed from new to needs_review
  • Ticket #13896 – Description

    v6 v24  
    11In a long sage-devel thread we eventually found [https://groups.google.com/group/sage-devel/msg/1d05a46b9b5fa8e2?hl=en in this message] that a GC during a weakref callback on a Cython class can lead to double deallocation of that class. In Python's [http://svn.python.org/projects/python/trunk/Objects/typeobject.c Objects/typeobject.c],  line 1024 and onwards, there are some comments that indicate that earlier version of Python were bitten by this problem too. The solution is to insert the appropriate `PyObject_GC_Untrack` and `PyObject_GC_Track` in cython's deallocation code. This is best fixed in cython itself.
     2
     3Install only the new spkg at http://sage.math.washington.edu/home/robertwb/patches/cython-0.17.4.spkg