Changes between Version 6 and Version 24 of Ticket #13896
- Timestamp:
- 01/03/13 21:47:45 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13896
-
Property
Status
changed from
new
toneeds_review
-
Property
Status
changed from
-
Ticket #13896 – Description
v6 v24 1 1 In 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 3 Install only the new spkg at http://sage.math.washington.edu/home/robertwb/patches/cython-0.17.4.spkg