#16958: MPolynomial eval mem leak
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  algebra            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/mpolynomial_eval_mem_leak |  377220e947cf36ab019af2d243db89441a64ee7e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  needs_work => needs_review
 * cc: malb (added)


Comment:

 Singular's `fast_map` returns non-normalized values (e.g. rational
 coefficients are not in standard form). As far as I know, this shouldn't
 be a problem yet we still segfault in the `p_Delete`. Adding a
 `p_Normalize` avoids the segfault. Perhaps there is a subtle bug / hidden
 assumption in `fast_map` that requires the normalization, I don't know.

--
Ticket URL: <http://trac.sagemath.org/ticket/16958#comment:12>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to