#14059: Fix refcount/deallocation of integers
------------------------------+---------------------------------------------
Reporter: SimonKing | Owner: rlm
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-5.7
Component: memleak | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Simon King | Merged in:
Dependencies: | Stopgaps:
------------------------------+---------------------------------------------
Comment (by jpflori):
Hum, the problem with this BYTE marker has really something to do with the
change of allocator/deallocator.
If I remove the call to hook_fast_tp_functions, then the integers created,
even during an interactive session, are preceded by CLEANBYTE rather than
FORBIDDENBYTE and deallocated without problems.
So I guess I'll have to have a closer look at Python's code...
I must have missed what the default allocator for Integer is, but it does
not finish in PyObject_Malloc I guess.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14059#comment:47>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.