Changes between Version 24 and Version 26 of Ticket #13896
- Timestamp:
- 01/04/13 12:57:52 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13896
-
Property
Status
changed from
needs_review
topositive_review
-
Property
Authors
changed from
to
Robert Bradshaw
-
Property
Reviewers
changed from
to
Jeroen Demeyer
-
Property
Status
changed from
-
Ticket #13896 – Description
v24 v26 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 2 3 Install only the new spkg at http://sage.math.washington.edu/home/robertwb/patches/cython-0.17.4.spkg3 Install only the new spkg at [http://boxen.math.washington.edu/home/jdemeyer/spkg/cython-0.17.4.spkg]