#13447: Make libsingular multivariate polynomial rings collectable
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  memleak            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nils Bruin, Simon  |    Reviewers:  Simon King
  King                               |  Work issues:  Understand why
Report Upstream:  None of the above  |  sometimes `new_RingWrap` needs an
  - read trac for reasoning.         |  incref and sometimes not
         Branch:                     |       Commit:
   Dependencies:  #11521             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 And then of course the question is under what circumstances it occurs. In
 the doctests of sage.libs.singular, `ringlist` was the only function
 exhibiting such behaviour. Is it because its argument is a ring? Are there
 other kernel functions that may change the reference count? Are there
 library functions that can change the reference count? I think that's
 highly likely, since there are functions returning a ring that was created
 inside of the function.

--
Ticket URL: <http://trac.sagemath.org/ticket/13447#comment:117>
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