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

 Building sage-5.5.rc0 did ''almost'' succeed.
 {{{
 ...
 gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -fPIC
 -I/home/simon/SAGE/debug/sage-5.5.rc0/local/include/singular/
 -I/home/simon/SAGE/debug/sage-5.5.rc0/local/include
 -I/home/simon/SAGE/debug/sage-5.5.rc0/local/include/csage
 -I/home/simon/SAGE/debug/sage-5.5.rc0/devel/sage/sage/ext
 -I/home/simon/SAGE/debug/sage-5.5.rc0/local/include/python2.7 -c
 sage/algebras/letterplace/free_algebra_element_letterplace.cpp -o
 
build/temp.linux-x86_64-2.7/sage/algebras/letterplace/free_algebra_element_letterplace.o
 -w
 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
 Ada/C/ObjC but not for C++ [enabled by default]
 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
 Ada/C/ObjC but not for C++ [enabled by default]
 In file included from
 /home/simon/SAGE/debug/sage-5.5.rc0/local/include/singular/structs.h:13:0,
                  from
 /home/simon/SAGE/debug/sage-5.5.rc0/local/include/libsingular.h:6,
                  from
 sage/algebras/letterplace/free_algebra_element_letterplace.cpp:283:
 /home/simon/SAGE/debug/sage-5.5.rc0/local/include/omalloc.h:784:30: fatal
 error: omalloc/omMalloc.h: Datei oder Verzeichnis nicht gefundenIn file
 included from
 /home/simon/SAGE/debug/sage-5.5.rc0/local/include/singular/structs.h:13:0,
                  from
 /home/simon/SAGE/debug/sage-5.5.rc0/local/include/libsingular.h:6,
                  from
 sage/algebras/letterplace/free_algebra_letterplace.cpp:283:
 /home/simon/SAGE/debug/sage-5.5.rc0/local/include/omalloc.h:784:30: fatal
 error: omalloc/omMalloc.h: Datei oder Verzeichnis nicht gefunden
 compilation terminated.
 }}}

 So, that looks like coming from Plural.

 On the other hand, your example in the ticket description does use plural.

 What went wrong here? I did erase src/omalloc/omMalloc.h from your spkg,
 since it is not part of the "original" Singular spkg (hence, I thought it
 was autogenerated).

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