#13731: Fix libsingular memory management
---------------------------+------------------------------------------------
       Reporter:  nbruin   |         Owner:  rlm     
           Type:  defect   |        Status:  new     
       Priority:  major    |     Milestone:  sage-5.6
      Component:  memleak  |    Resolution:          
       Keywords:           |   Work issues:          
Report Upstream:  N/A      |     Reviewers:          
        Authors:           |     Merged in:          
   Dependencies:           |      Stopgaps:          
---------------------------+------------------------------------------------

Comment (by pcpa):

 {{{
 $ export MALLOC_CHECK_ 3
 $ sage ... sage: A.<x,y> = FreeAlgebra (QQ, 2)
 sage: P.<x,y> = A.g_algebra({y*x:-x*y})
 sage: x*y ***
 glibc detected *** /usr/local/sage/5.5b1/local/bin/python: free():
 }}}

 I do not see this in my current sagemath-5.4 rpm package, but I suspect it
 may have been either corrected or worked around by one of the patches at
 http://pkgs.fedoraproject.org/cgit/Singular.git/tree most likely
 `Singular-undefined.patch`, but the padding added by `Singular-
 M2_memutil_debuggging.patch` may be actually hiding some problem. Or, it
 may be something different, the singular rpm was known to not build
 properly or generate proper binaries if an older singular was installed
 but I did not care much about that because official rpms are built in a
 ''clean'' chroot.

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