#13447: Make libsingular multivariate polynomial rings collectable
-------------------------------------------------------+--------------------
       Reporter:  nbruin                               |         Owner:  rlm    
 
           Type:  defect                               |        Status:  new    
 
       Priority:  major                                |     Milestone:  
sage-5.4
      Component:  memleak                              |    Resolution:         
 
       Keywords:                                       |   Work issues:         
 
Report Upstream:  Reported upstream. No feedback yet.  |     Reviewers:         
 
        Authors:                                       |     Merged in:         
 
   Dependencies:                                       |      Stopgaps:         
 
-------------------------------------------------------+--------------------

Comment (by nbruin):

 OK, two independent patches. Either prevents the segfault. I may just have
 removed the symptom, but not the cause.

 If I'm correctly understanding the problem,
 [attachment:trac_13447-consolidated_refcount.patch] should be the
 preferred solution. However, my unfamiliarity with (lib)singular's
 intricacies might have caused an oversight somewhere. I think my
 interpretation is consistent with the use in
 `sage.lib.singular.function.call_function`, which is my main source of
 inspiration.

 If people agree, we can clean out the cruft remaining from the refcounting
 method implemented locally.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13447#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to