#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 SimonKing):

 Replying to [comment:79 malb]:
 > Simon, {{{configure}}} is generated from {{{configure.in}}} using
 {{{autoconf}}}. However, Singular requires a special autoconf version (I
 think it is a particularly old one) which makes fixing things in its
 configure script tricky. I think this should go on [libsingular-devel].
 Hans can help, I think.

 I am not subscribed to libsingular-devel. Can you provide a link?

 FYI:

 I think this ticket has two purposes.

  1. Create a Singular spkg that builds both on linux and osx and replaces
 omalloc by malloc, so that it is easier to track down memory corruptions
 in Singular that became apparent by #715 and friends. It is just a tool to
 analyse things - in fact, it wouldn't even yield a working Singular
 executable.
  2. The study of memory corruptions should help to fix them - and the
 fixes should not only be upstream, but should be backported to a new patch
 level of our Singular 3-1-5 spkg.

 The problem with src/omalloc/configure ''only'' concerns purpose 1. Hence,
 if directly editing src/omalloc/configure is dirty but works, then I
 wouldn't mind to do it, just so that it builds on osx.

 Fortunately, the fixes in purpose 2. would probably not involve the
 configuration scripts.

 The purpose of this ticket is to create a singular spkg that replaces
 omalloc with malloc that works on linux and osx. It is not necessarily
 supposed to yield a working Singular executable. The spkg shall be applied
 to help analyse the Heisenbugs from #715 and friends.

 In particular, the primary purpose is ''not'' to provide a new standard
 singular spkg. Hence, for now, I guess I should just directly change
 src/omalloc/configure, rather than learning how the non-standard autoconf
 works.

 The secondary purpose is to get certain

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