#14711: Memleak when creating QuadraticField
---------------------------------------------------------+------------------
Reporter: jpflori | Owner:
davidloeffler
Type: defect | Status: new
Priority: critical | Milestone:
sage-5.11
Component: number fields | Resolution:
Keywords: memleak, number field, QuadraticField | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------------------+------------------
Comment (by jpflori):
In the coercion model, a first step is to remove the addition of the newly
created morphism to _convert_from_list, and only add it to
_convert_from_hash (except in the register_conversion function).
(Note that this is the current behavior for "coerce" maps, they are only
added to _coerce_from_hash, not _coerce_from_list, except within the
register_coercion function).
Not sure if these two *_from_list lists have any real use?
But that's not enough anyway (although it removes one eternal strong
reference), surely something like what you just posted.
I'll try to attend something like one to three half days of the Sage Days,
first guess is Wednesday afternoon, surely another half day on Tuesday.
Hopefully we can tackle this together.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14711#comment:8>
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.