#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:  Reported upstream. Developers acknowledge bug.  |     
Reviewers:          
        Authors:                                                  |     Merged 
in:          
   Dependencies:                                                  |      
Stopgaps:          
------------------------------------------------------------------+---------

Comment (by nbruin):

 Replying to [comment:49 SimonKing]:
 > But I wonder: You say that `malloc_usable_size` is not available on OSX.
 Then, the line
 > {{{
 > #define OM_MALLOC_SIZEOF_ADDR(addr) malloc_usable_size(addr)
 > }}}
 > sounds like a bug to me. I'll ask Hannes.
 That definition only occurs in `dlmalloc.h`, right? I don't think other
 files import that header file, so probably `dlmalloc` only gets used under
 certain configure options. I wasn't able to trace through how omalloc gets
 configured/built. It seems to be a value for configure:
 {{{
  --with-malloc=system|dlmalloc|gmalloc|pmalloc|external
 }}}
 (given that singular builds just fine on OSX this cannot be a real
 problem)

 But yes, these changes are best made with input from someone familiar with
 omalloc, so hopefully Hannes can help.

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